1
0

EntityStuckEvent.cs 853 B

1234567891011121314151617181920212223242526
  1. namespace Content.Shared.Sticky;
  2. /// <summary>
  3. /// Risen on sticky entity to see if it can stick to another entity.
  4. /// </summary>
  5. [ByRefEvent]
  6. public record struct AttemptEntityStickEvent(EntityUid Target, EntityUid User, bool Cancelled = false);
  7. /// <summary>
  8. /// Risen on sticky entity to see if it can unstick from another entity.
  9. /// </summary>
  10. [ByRefEvent]
  11. public record struct AttemptEntityUnstickEvent(EntityUid Target, EntityUid User, bool Cancelled = false);
  12. /// <summary>
  13. /// Risen on sticky entity when it was stuck to other entity.
  14. /// </summary>
  15. [ByRefEvent]
  16. public record struct EntityStuckEvent(EntityUid Target, EntityUid User);
  17. /// <summary>
  18. /// Risen on sticky entity when it was unstuck from other entity.
  19. /// </summary>
  20. [ByRefEvent]
  21. public record struct EntityUnstuckEvent(EntityUid Target, EntityUid User);