Chameleon clothing hides identity (#12642)

This commit is contained in:
Alex Evgrashin
2022-11-24 03:02:54 +01:00
committed by GitHub
parent 186b8e00da
commit 1cae861f40
4 changed files with 43 additions and 1 deletions

View File

@@ -27,6 +27,12 @@ public sealed class ChameleonClothingComponent : Component
[ViewVariables(VVAccess.ReadOnly)]
[DataField("default", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<EntityPrototype>))]
public string? SelectedId;
/// <summary>
/// Current user that wears chameleon clothing.
/// </summary>
[ViewVariables]
public EntityUid? User;
}
[Serializable, NetSerializable]