| 1234567891011121314151617181920212223242526 |
- using Robust.Shared.GameStates;
- using Robust.Shared.Prototypes;
- namespace Content.Shared.UserInterface;
- [RegisterComponent, NetworkedComponent]
- public sealed partial class IntrinsicUIComponent : Component
- {
- /// <summary>
- /// List of UIs and their actions that this entity has.
- /// </summary>
- [DataField("uis", required: true)] public Dictionary<Enum, IntrinsicUIEntry> UIs = new();
- }
- [DataDefinition]
- public sealed partial class IntrinsicUIEntry
- {
- [DataField("toggleAction", required: true)]
- public EntProtoId? ToggleAction;
- /// <summary>
- /// The action used for this BUI.
- /// </summary>
- [DataField("toggleActionEntity")]
- public EntityUid? ToggleActionEntity = new();
- }
|