using Robust.Shared.Containers; using Robust.Shared.Prototypes; using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype; namespace Content.Server.Guardian { /// /// Given to guardian users upon establishing a guardian link with the entity /// [RegisterComponent] public sealed partial class GuardianHostComponent : Component { /// /// Guardian hosted within the component /// /// /// Can be null if the component is added at any time. /// public EntityUid? HostedGuardian; /// /// Container which holds the guardian /// [ViewVariables] public ContainerSlot GuardianContainer = default!; [DataField("action", customTypeSerializer: typeof(PrototypeIdSerializer))] public string Action = "ActionToggleGuardian"; [DataField("actionEntity")] public EntityUid? ActionEntity; } }