JauntComponent.cs 772 B

1234567891011121314151617181920212223242526
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Prototypes;
  3. namespace Content.Shared.Jaunt;
  4. /// <summary>
  5. /// Used to control various aspects of a Jaunt.
  6. /// Can be used in place of giving a jaunt-action directly.
  7. /// </summary>
  8. [RegisterComponent, NetworkedComponent]
  9. public sealed partial class JauntComponent : Component
  10. {
  11. /// <summary>
  12. /// Which Jaunt Action the component should grant.
  13. /// </summary>
  14. [DataField]
  15. public EntProtoId JauntAction = "ActionPolymorphJaunt";
  16. /// <summary>
  17. /// The jaunt action itself.
  18. /// </summary>
  19. public EntityUid? Action;
  20. // TODO: Enter & Exit Times and Whitelist when Actions are reworked and can support it
  21. // TODO: Cooldown pausing when Actions can support it
  22. }