ContactInteractionEvent.cs 525 B

1234567891011121314151617
  1. namespace Content.Shared.Interaction.Events;
  2. /// <summary>
  3. /// Raised directed at two entities to indicate that they came into contact, usually as a result of some other interaction.
  4. /// </summary>
  5. /// <remarks>
  6. /// This is currently used by the forensics and disease systems to perform on-contact interactions.
  7. /// </remarks>
  8. public sealed class ContactInteractionEvent : HandledEntityEventArgs
  9. {
  10. public EntityUid Other;
  11. public ContactInteractionEvent(EntityUid other)
  12. {
  13. Other = other;
  14. }
  15. }