Raymond Maarloeve
Loading...
Searching...
No Matches
NpcActionEvent Class Reference

Represents an event describing an action performed by an NPC. More...

Public Member Functions

 NpcActionEvent (int sourceId, string action, Vector3 position)
 Constructs a new NpcActionEvent.
 

Public Attributes

int SourceId
 The source NPC's entity ID.
 
string Action
 The action performed by the NPC.
 
Vector3 Position
 The position where the action was performed.
 
float Timestamp
 The timestamp when the event was created.
 

Detailed Description

Represents an event describing an action performed by an NPC.

Constructor & Destructor Documentation

◆ NpcActionEvent()

NpcActionEvent.NpcActionEvent ( int  sourceId,
string  action,
Vector3  position 
)

Constructs a new NpcActionEvent.

Parameters
sourceIdThe source NPC's entity ID.
actionThe action performed.
positionThe position of the action.

Member Data Documentation

◆ Action

string NpcActionEvent.Action

The action performed by the NPC.

◆ Position

Vector3 NpcActionEvent.Position

The position where the action was performed.

◆ SourceId

int NpcActionEvent.SourceId

The source NPC's entity ID.

◆ Timestamp

float NpcActionEvent.Timestamp

The timestamp when the event was created.


The documentation for this class was generated from the following file: