20 lines
456 B
C#
20 lines
456 B
C#
using Content.Shared.Actions;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Toggleable;
|
|
|
|
/// <summary>
|
|
/// Generic action-event for toggle-able components.
|
|
/// </summary>
|
|
public sealed class ToggleActionEvent : InstantActionEvent { }
|
|
|
|
/// <summary>
|
|
/// Generic enum keys for toggle-visualizer appearance data & sprite layers.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public enum ToggleVisuals : byte
|
|
{
|
|
Toggled,
|
|
Layer
|
|
}
|