using JetBrains.Annotations;
namespace Content.Shared.Interaction;
///
/// Raised when an entity is activated in the world.
///
[PublicAPI]
public sealed class ActivateInWorldEvent : HandledEntityEventArgs, ITargetedInteractEventArgs
{
///
/// Entity that activated the target world entity.
///
public EntityUid User { get; }
///
/// Entity that was activated in the world.
///
public EntityUid Target { get; }
///
/// Set to true when the activation is logged by a specific logger.
///
public bool WasLogged { get; set; }
public ActivateInWorldEvent(EntityUid user, EntityUid target)
{
User = user;
Target = target;
}
}