Represents an event describing an action performed by an NPC.
More...
|
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.
|
|
Represents an event describing an action performed by an NPC.
◆ NpcActionEvent()
NpcActionEvent.NpcActionEvent |
( |
int |
sourceId, |
|
|
string |
action, |
|
|
Vector3 |
position |
|
) |
| |
Constructs a new NpcActionEvent.
- Parameters
-
sourceId | The source NPC's entity ID. |
action | The action performed. |
position | The position of the action. |
◆ 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:
- RaymondMaarloeve/Assets/Scripts/NPC/NPC.cs