Added enum types (#2701)
This commit is contained in:
@@ -46,7 +46,7 @@ namespace Content.Client.GameObjects.Components.Power.AME
|
||||
}
|
||||
}
|
||||
|
||||
enum Layers
|
||||
enum Layers : byte
|
||||
{
|
||||
Display,
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ namespace Content.Client.GameObjects.Components.Power.AME
|
||||
}
|
||||
}
|
||||
|
||||
enum Layers
|
||||
enum Layers : byte
|
||||
{
|
||||
Core,
|
||||
CoreState,
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
}
|
||||
}
|
||||
|
||||
enum Layers
|
||||
enum Layers : byte
|
||||
{
|
||||
ChargeState,
|
||||
Lock,
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
var glowingPartsVisible = !(component.TryGetData(PowerDeviceVisuals.Powered, out bool powered) && !powered);
|
||||
sprite.LayerSetVisible(AutolatheVisualLayers.BaseUnlit, glowingPartsVisible);
|
||||
}
|
||||
public enum AutolatheVisualLayers
|
||||
public enum AutolatheVisualLayers : byte
|
||||
{
|
||||
Base,
|
||||
BaseUnlit
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
}
|
||||
}
|
||||
|
||||
private enum Layers
|
||||
private enum Layers : byte
|
||||
{
|
||||
Charge
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
}
|
||||
}
|
||||
|
||||
enum Layers
|
||||
enum Layers : byte
|
||||
{
|
||||
Base,
|
||||
Light,
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
}
|
||||
}
|
||||
|
||||
public enum PowerDeviceVisualLayers
|
||||
public enum PowerDeviceVisualLayers : byte
|
||||
{
|
||||
Powered
|
||||
}
|
||||
|
||||
@@ -110,7 +110,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
var glowingPartsVisible = !(component.TryGetData(PowerDeviceVisuals.Powered, out bool powered) && !powered);
|
||||
sprite.LayerSetVisible(ProtolatheVisualLayers.BaseUnlit, glowingPartsVisible);
|
||||
}
|
||||
public enum ProtolatheVisualLayers
|
||||
public enum ProtolatheVisualLayers : byte
|
||||
{
|
||||
Base,
|
||||
BaseUnlit,
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace Content.Client.GameObjects.Components.Power
|
||||
}
|
||||
}
|
||||
|
||||
enum Layers
|
||||
enum Layers : byte
|
||||
{
|
||||
Input,
|
||||
Charge,
|
||||
|
||||
Reference in New Issue
Block a user