2022-02-26 18:24:08 +13:00
|
|
|
using Content.Shared.Actions;
|
2022-07-24 23:39:21 +12:00
|
|
|
using Robust.Shared.Serialization;
|
2022-02-26 18:24:08 +13:00
|
|
|
|
|
|
|
|
namespace Content.Shared.Toggleable;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2024-07-11 05:55:56 +00:00
|
|
|
/// Generic action-event for toggle-able components.
|
2022-02-26 18:24:08 +13:00
|
|
|
/// </summary>
|
2024-07-11 05:55:56 +00:00
|
|
|
/// <remarks>
|
|
|
|
|
/// If you are using <c>ItemToggleComponent</c> subscribe to <c>ItemToggledEvent</c> instead.
|
|
|
|
|
/// </remarks>
|
|
|
|
|
public sealed partial class ToggleActionEvent : InstantActionEvent;
|
2022-07-24 23:39:21 +12:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Generic enum keys for toggle-visualizer appearance data & sprite layers.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum ToggleVisuals : byte
|
|
|
|
|
{
|
|
|
|
|
Toggled,
|
|
|
|
|
Layer
|
|
|
|
|
}
|