1
0

LabelEvents.cs 628 B

123456789101112131415161718192021222324252627
  1. using Robust.Shared.Serialization;
  2. namespace Content.Shared.Labels;
  3. /// <summary>
  4. /// Key representing which <see cref="PlayerBoundUserInterface"/> is currently open.
  5. /// Useful when there are multiple UI for an object. Here it's future-proofing only.
  6. /// </summary>
  7. [Serializable, NetSerializable]
  8. public enum HandLabelerUiKey
  9. {
  10. Key,
  11. }
  12. [Serializable, NetSerializable]
  13. public enum PaperLabelVisuals : byte
  14. {
  15. Layer,
  16. HasLabel,
  17. LabelType
  18. }
  19. [Serializable, NetSerializable]
  20. public sealed class HandLabelerLabelChangedMessage(string label) : BoundUserInterfaceMessage
  21. {
  22. public string Label { get; } = label;
  23. }