CatStation/Content.Shared/Changeling/Systems/ChangelingTransformSystem.UI.cs
slarticodefast a6ec5e7d3e
allow changelings to drop stored disguises (#43487)
* drop option

* popup and better icon
2026-04-08 13:21:53 +00:00

33 lines
966 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared.Changeling.Systems;
/// <summary>
/// Send when a player selects an identity to transform into in the radial menu.
/// </summary>
[Serializable, NetSerializable]
public sealed class ChangelingTransformIdentitySelectMessage(NetEntity targetIdentity) : BoundUserInterfaceMessage
{
/// <summary>
/// The uid of the stored identity.
/// </summary>
public readonly NetEntity TargetIdentity = targetIdentity;
}
/// <summary>
/// Send when a player selects an identity to drop from their storage.
/// </summary>
[Serializable, NetSerializable]
public sealed class ChangelingTransformIdentityDropMessage(NetEntity targetIdentity) : BoundUserInterfaceMessage
{
/// <summary>
/// The uid of the stored identity.
/// </summary>
public readonly NetEntity TargetIdentity = targetIdentity;
}
[Serializable, NetSerializable]
public enum ChangelingTransformUiKey : byte
{
Key,
}