Convert DisposalUnitVisualizer to VisualizerSystem (#13637)

This commit is contained in:
eoineoineoin
2023-02-03 22:26:50 +00:00
committed by GitHub
parent efd689d98e
commit be94048932
9 changed files with 386 additions and 394 deletions

View File

@@ -15,6 +15,8 @@ namespace Content.Shared.Disposal.Components
/// </summary>
public List<EntityUid> RecentlyEjected = new();
[DataField("flushTime", required: true)]
public readonly float FlushTime;
[DataField("mobsCanEnter")]
public bool MobsCanEnter = true;
@@ -44,12 +46,12 @@ namespace Content.Shared.Disposal.Components
}
[Serializable, NetSerializable]
public enum LightState : byte
public enum LightStates : byte
{
Off,
Charging,
Full,
Ready
Off = 0,
Charging = 1 << 0,
Full = 1 << 1,
Ready = 1 << 2
}
[Serializable, NetSerializable]