Class ActivateInWorldEvent
Raised when an entity is activated in the world.
Inheritance
System.Object
ActivateInWorldEvent
Implements
Namespace: Content.Shared.Interaction
Assembly: Content.Shared.dll
Syntax
public sealed class ActivateInWorldEvent : HandledEntityEventArgs, ITargetedInteractEventArgs
Constructors
| Improve this Doc View SourceActivateInWorldEvent(EntityUid, EntityUid)
Declaration
public ActivateInWorldEvent(EntityUid user, EntityUid target)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | user | |
EntityUid | target |
Properties
| Improve this Doc View SourceTarget
Entity that was activated in the world.
Declaration
public EntityUid Target { get; }
Property Value
Type | Description |
---|---|
EntityUid |
User
Entity that activated the target world entity.
Declaration
public EntityUid User { get; }
Property Value
Type | Description |
---|---|
EntityUid |
WasLogged
Set to true when the activation is logged by a specific logger.
Declaration
public bool WasLogged { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |