| 12345678910111213141516171819202122 |
- using Content.Shared.Actions;
- using Robust.Shared.Serialization;
- namespace Content.Shared.Toggleable;
- /// <summary>
- /// Generic action-event for toggle-able components.
- /// </summary>
- /// <remarks>
- /// If you are using <c>ItemToggleComponent</c> subscribe to <c>ItemToggledEvent</c> instead.
- /// </remarks>
- public sealed partial class ToggleActionEvent : InstantActionEvent;
- /// <summary>
- /// Generic enum keys for toggle-visualizer appearance data & sprite layers.
- /// </summary>
- [Serializable, NetSerializable]
- public enum ToggleVisuals : byte
- {
- Toggled,
- Layer
- }
|