Magboot & Stun visualizers (#9961)

This commit is contained in:
Leon Friedrich
2022-07-24 23:39:21 +12:00
committed by GitHub
parent c36f386afc
commit 16a08a60d0
6 changed files with 74 additions and 44 deletions

View File

@@ -1,4 +1,5 @@
using Content.Shared.Actions;
using Robust.Shared.Serialization;
namespace Content.Shared.Toggleable;
@@ -6,3 +7,13 @@ namespace Content.Shared.Toggleable;
/// 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
}