RandomTimerTriggerComponent.cs 568 B

12345678910111213141516171819202122
  1. using Content.Server.Explosion.EntitySystems;
  2. namespace Content.Server.Explosion.Components;
  3. /// <summary>
  4. /// This is used for randomizing a <see cref="RandomTimerTriggerComponent"/> on MapInit
  5. /// </summary>
  6. [RegisterComponent, Access(typeof(TriggerSystem))]
  7. public sealed partial class RandomTimerTriggerComponent : Component
  8. {
  9. /// <summary>
  10. /// The minimum random trigger time.
  11. /// </summary>
  12. [DataField]
  13. public float Min;
  14. /// <summary>
  15. /// The maximum random trigger time.
  16. /// </summary>
  17. [DataField]
  18. public float Max;
  19. }