mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* basic code porting * prototypes port * rendering update * charge state * helper * fix * forgotten one
32 lines
864 B
C#
32 lines
864 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.Actions;
|
|
|
|
/// <summary>
|
|
/// Sprite layer keys for action entities.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public enum ActionVisuals : byte
|
|
{
|
|
/// <summary>Layer key. The action's base icon.</summary>
|
|
Icon,
|
|
|
|
/// <summary>Layer key. Optional, shown only while toggled on.</summary>
|
|
IconToggled,
|
|
}
|
|
|
|
/// <summary>
|
|
/// Appearance data keys for action entities.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public enum ActionState : byte
|
|
{
|
|
/// <summary>Appearance key. Mirrors ActionComponent.Toggled.</summary>
|
|
Toggled,
|
|
|
|
/// <summary>Appearance key. Runtime-assigned SpriteSpecifier, for actions with a dynamic icon.</summary>
|
|
DynamicIcon,
|
|
|
|
/// <summary>Appearance key. Runtime-assigned tint override, e.g. decal-placement actions.</summary>
|
|
Color,
|
|
}
|