using Robust.Shared.Serialization; namespace Content.Shared.Changeling.Transform; /// /// Send when a player selects an intentity to transform into in the radial menu. /// [Serializable, NetSerializable] public sealed class ChangelingTransformIdentitySelectMessage(NetEntity targetIdentity) : BoundUserInterfaceMessage { /// /// The uid of the cloned identity. /// public readonly NetEntity TargetIdentity = targetIdentity; } // TODO: Replace with component states. // We are already networking the ChangelingIdentityComponent, which contains all this information, // so we can just read it from them from the component and update the UI in an AfterAuotHandleState subscription. [Serializable, NetSerializable] public sealed class ChangelingTransformBoundUserInterfaceState(List identities) : BoundUserInterfaceState { /// /// The uids of the cloned identities. /// public readonly List Identites = identities; } [Serializable, NetSerializable] public enum TransformUI : byte { Key, }