Files
tbd-station-14/Content.Shared/Clothing/MagbootsComponent.cs

20 lines
651 B
C#

using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Clothing;
[RegisterComponent, NetworkedComponent(), AutoGenerateComponentState]
[Access(typeof(SharedMagbootsSystem))]
public sealed partial class MagbootsComponent : Component
{
[DataField("toggleAction", customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>), required: true)]
public string? ToggleAction;
[DataField("toggleActionEntity")]
public EntityUid? ToggleActionEntity;
[DataField("on"), AutoNetworkedField]
public bool On;
}