HUD Themes (#3774)
* HUD Themes * Prototypes * field * oops * ugh * Fixes * Update Content.Client/UserInterface/GameHud.cs Co-authored-by: ike709 <sparebytes@protonmail.com>
This commit is contained in:
@@ -190,6 +190,13 @@ namespace Content.Shared
|
||||
public static readonly CVarDef<bool> LobbyMusicEnabled =
|
||||
CVarDef.Create("ambience.lobbymusicenabled", true, CVar.ARCHIVE | CVar.CLIENTONLY);
|
||||
|
||||
/*
|
||||
* HUD
|
||||
*/
|
||||
|
||||
public static readonly CVarDef<int> HudTheme =
|
||||
CVarDef.Create("hud.theme", 0, CVar.ARCHIVE | CVar.CLIENTONLY);
|
||||
|
||||
/*
|
||||
* AI
|
||||
*/
|
||||
|
||||
18
Content.Shared/Prototypes/HUD/HudThemePrototype.cs
Normal file
18
Content.Shared/Prototypes/HUD/HudThemePrototype.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Shared.Prototypes.HUD
|
||||
{
|
||||
[Prototype("hudTheme")]
|
||||
public class HudThemePrototype : IPrototype
|
||||
{
|
||||
[field: DataField("name", required: true)]
|
||||
public string Name { get; } = string.Empty;
|
||||
|
||||
[field: DataField("id", required: true)]
|
||||
public string ID { get; } = string.Empty;
|
||||
|
||||
[field: DataField("path", required: true)]
|
||||
public string Path { get; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user