Show / Hide Table of Contents

Class ActivateInWorldEvent

Raised when an entity is activated in the world.

Inheritance
System.Object
ActivateInWorldEvent
Implements
ITargetedInteractEventArgs
Namespace: Content.Shared.Interaction
Assembly: Content.Shared.dll
Syntax
public sealed class ActivateInWorldEvent : HandledEntityEventArgs, ITargetedInteractEventArgs

Constructors

| Improve this Doc View Source

ActivateInWorldEvent(EntityUid, EntityUid)

Declaration
public ActivateInWorldEvent(EntityUid user, EntityUid target)
Parameters
Type Name Description
EntityUid user
EntityUid target

Properties

| Improve this Doc View Source

Target

Entity that was activated in the world.

Declaration
public EntityUid Target { get; }
Property Value
Type Description
EntityUid
| Improve this Doc View Source

User

Entity that activated the target world entity.

Declaration
public EntityUid User { get; }
Property Value
Type Description
EntityUid
| Improve this Doc View Source

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

Implements

ITargetedInteractEventArgs
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾