using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List; namespace Content.Client.Guidebook.Components; /// /// This component stores a reference to a guidebook that contains information relevant to this entity. /// [RegisterComponent] [Access(typeof(GuidebookSystem))] public sealed class GuideHelpComponent : Component { /// /// What guides to include show when opening the guidebook. The first entry will be used to select the currently /// selected guidebook. /// [DataField("guides", customTypeSerializer: typeof(PrototypeIdListSerializer), required: true)] [ViewVariables] public List Guides = new(); /// /// Whether or not to automatically include the children of the given guides. /// [DataField("includeChildren")] [ViewVariables(VVAccess.ReadWrite)] public bool IncludeChildren = true; /// /// Whether or not to open the UI when interacting with the entity while on hand. /// Mostly intended for books /// [DataField("openOnActivation")] [ViewVariables(VVAccess.ReadWrite)] public bool OpenOnActivation; }