mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-11 03:11:14 +03:00
19 lines
472 B
C#
19 lines
472 B
C#
using Robust.Shared.GameStates;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Trigger.Components.Effects;
|
|
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
public sealed partial class LockOnTriggerComponent : BaseXOnTriggerComponent
|
|
{
|
|
[DataField, AutoNetworkedField]
|
|
public LockAction LockOnTrigger = LockAction.Toggle;
|
|
}
|
|
|
|
[Serializable, NetSerializable]
|
|
public enum LockAction
|
|
{
|
|
Lock = 0,
|
|
Unlock = 1,
|
|
Toggle = 2,
|
|
}
|