committed by
GitHub
parent
ea60a81fdf
commit
103bc19508
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Light.Component
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum EmergencyLightVisuals
|
||||
{
|
||||
On,
|
||||
}
|
||||
}
|
||||
48
Content.Shared/NodeContainer/NodeVis.cs
Normal file
48
Content.Shared/NodeContainer/NodeVis.cs
Normal file
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.NodeContainer
|
||||
{
|
||||
public static class NodeVis
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class MsgEnable : EntityEventArgs
|
||||
{
|
||||
public MsgEnable(bool enabled)
|
||||
{
|
||||
Enabled = enabled;
|
||||
}
|
||||
|
||||
public bool Enabled { get; }
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class MsgData : EntityEventArgs
|
||||
{
|
||||
public List<GroupData> Groups = new();
|
||||
public List<int> GroupDeletions = new();
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class GroupData
|
||||
{
|
||||
public int NetId;
|
||||
public string GroupId = "";
|
||||
public Color Color;
|
||||
public NodeDatum[] Nodes = Array.Empty<NodeDatum>();
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class NodeDatum
|
||||
{
|
||||
public EntityUid Entity;
|
||||
public int NetId;
|
||||
public int[] Reachable = Array.Empty<int>();
|
||||
public string Name = "";
|
||||
public string Type = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
22
Content.Shared/Wires/SharedWireVisComponent.cs
Normal file
22
Content.Shared/Wires/SharedWireVisComponent.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Wires
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public enum WireVisVisuals
|
||||
{
|
||||
ConnectedMask
|
||||
}
|
||||
|
||||
[Flags]
|
||||
[Serializable, NetSerializable]
|
||||
public enum WireVisDirFlags : byte
|
||||
{
|
||||
None = 0,
|
||||
North = 1,
|
||||
South = 2,
|
||||
East = 4,
|
||||
West = 8
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user