Remove InteractedWithEvent and friends. (#11939)
This commit is contained in:
17
Content.Shared/Interaction/Events/ContactInteractionEvent.cs
Normal file
17
Content.Shared/Interaction/Events/ContactInteractionEvent.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Content.Shared.Interaction.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Raised directed at two entities to indicate that they came into contact, usually as a result of some other interaction.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is currently used by the forensics and disease systems to perform on-contact interactions.
|
||||
/// </remarks>
|
||||
public sealed class ContactInteractionEvent : HandledEntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Other;
|
||||
|
||||
public ContactInteractionEvent(EntityUid other)
|
||||
{
|
||||
Other = other;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user