Files
tbd-station-14/Content.Shared/Interaction/ActivateInWorldEvent.cs
Leon Friedrich e9616e40f9 Remove IActivate (#9705)
* git mv

* purge IActivate

* File scoped NS
2022-07-14 20:29:29 +10:00

27 lines
648 B
C#

using JetBrains.Annotations;
namespace Content.Shared.Interaction;
/// <summary>
/// Raised when an entity is activated in the world.
/// </summary>
[PublicAPI]
public sealed class ActivateInWorldEvent : HandledEntityEventArgs, ITargetedInteractEventArgs
{
/// <summary>
/// Entity that activated the target world entity.
/// </summary>
public EntityUid User { get; }
/// <summary>
/// Entity that was activated in the world.
/// </summary>
public EntityUid Target { get; }
public ActivateInWorldEvent(EntityUid user, EntityUid target)
{
User = user;
Target = target;
}
}