using Robust.Shared.GameStates; using Robust.Shared.Serialization; namespace Content.Shared.Holopad; /// /// Holds data pertaining to entities that are using holopads /// /// /// This component is added and removed automatically from entities /// [RegisterComponent, NetworkedComponent] [Access(typeof(SharedHolopadSystem))] public sealed partial class HolopadUserComponent : Component { /// /// A list of holopads that the user is interacting with /// [ViewVariables] public HashSet> LinkedHolopads = new(); } /// /// A networked event raised when the visual state of a hologram is being updated /// [Serializable, NetSerializable] public sealed class HolopadUserTypingChangedEvent : EntityEventArgs { /// /// The hologram being updated /// public readonly NetEntity User; /// /// The typing indicator state /// public readonly bool IsTyping; public HolopadUserTypingChangedEvent(NetEntity user, bool isTyping) { User = user; IsTyping = isTyping; } }