using System; using System.Collections.Generic; using Robust.Shared.GameStates; using Robust.Shared.Serialization; using Robust.Shared.Serialization.Manager.Attributes; namespace Robust.Shared.GameObjects; /// /// Stores data about this entity and what BUIs they have open. /// [RegisterComponent, NetworkedComponent] public sealed partial class UserInterfaceUserComponent : Component { public override bool SessionSpecific => true; [DataField] public Dictionary> OpenInterfaces = new(); } [Serializable, NetSerializable] internal sealed class UserInterfaceUserComponentState : IComponentState { public Dictionary> OpenInterfaces = new(); }