WaggingComponent.cs 767 B

123456789101112131415161718192021222324252627282930
  1. using Content.Shared.Chat.Prototypes;
  2. using Robust.Shared.GameStates;
  3. using Robust.Shared.Prototypes;
  4. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  5. namespace Content.Shared.Wagging;
  6. /// <summary>
  7. /// An emoting wag for markings.
  8. /// </summary>
  9. [RegisterComponent, NetworkedComponent]
  10. public sealed partial class WaggingComponent : Component
  11. {
  12. [DataField]
  13. public EntProtoId Action = "ActionToggleWagging";
  14. [DataField]
  15. public EntityUid? ActionEntity;
  16. /// <summary>
  17. /// Suffix to add to get the animated marking.
  18. /// </summary>
  19. public string Suffix = "Animated";
  20. /// <summary>
  21. /// Is the entity currently wagging.
  22. /// </summary>
  23. [DataField]
  24. public bool Wagging = false;
  25. }