2022-07-06 07:46:35 -04:00
|
|
|
using Robust.Shared.GameStates;
|
2023-09-08 18:16:05 -07:00
|
|
|
using Robust.Shared.Prototypes;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
|
2022-07-06 07:46:35 -04:00
|
|
|
|
|
|
|
|
namespace Content.Shared.Clothing;
|
|
|
|
|
|
2023-04-22 12:42:36 +02:00
|
|
|
[RegisterComponent, NetworkedComponent(), AutoGenerateComponentState]
|
|
|
|
|
[Access(typeof(SharedMagbootsSystem))]
|
|
|
|
|
public sealed partial class MagbootsComponent : Component
|
2022-07-06 07:46:35 -04:00
|
|
|
{
|
2023-09-23 04:49:39 -04:00
|
|
|
[DataField]
|
|
|
|
|
public EntProtoId ToggleAction = "ActionToggleMagboots";
|
2023-09-08 18:16:05 -07:00
|
|
|
|
2023-09-23 04:49:39 -04:00
|
|
|
[DataField, AutoNetworkedField]
|
2023-09-08 18:16:05 -07:00
|
|
|
public EntityUid? ToggleActionEntity;
|
2022-07-06 07:46:35 -04:00
|
|
|
|
2023-04-22 12:42:36 +02:00
|
|
|
[DataField("on"), AutoNetworkedField]
|
2022-07-06 07:46:35 -04:00
|
|
|
public bool On;
|
|
|
|
|
}
|