Delta-v/Content.Shared/RCD/RCDEvents.cs

35 lines
767 B
C#

using Robust.Shared.Prototypes;
using Robust.Shared.Serialization;
namespace Content.Shared.RCD;
[Serializable, NetSerializable]
public sealed class RCDSystemMessage : BoundUserInterfaceMessage
{
public ProtoId<RCDPrototype> ProtoId;
public RCDSystemMessage(ProtoId<RCDPrototype> protoId)
{
ProtoId = protoId;
}
}
[Serializable, NetSerializable]
public sealed class RCDConstructionGhostRotationEvent : EntityEventArgs
{
public readonly NetEntity NetEntity;
public readonly Direction Direction;
public RCDConstructionGhostRotationEvent(NetEntity netEntity, Direction direction)
{
NetEntity = netEntity;
Direction = direction;
}
}
[Serializable, NetSerializable]
public enum RcdUiKey : byte
{
Key
}