ObjectKilledData
A class in Root.Township, Alta.PlayerStates.
Payload of the ConsoleEvents.ObjectKilled console event, raised when a HealthObject dies. Holds the killing hit from KilledData plus which entity died.
- Listed in Players and characters
- Inherits or implements
KilledData - Documented in Console events
Constructors
| Member | What it is |
|---|---|
ObjectKilledData(NetworkEntity entity, DamageData killingHit) | Creates an ObjectKilledData from entity and killingHit. |
Fields
| Member | What it is |
|---|---|
uint identifier | Network identifier of the entity that died. |
string name | The entity's original name. |
uint prefab | Prefab hash of the entity, or 0 if it has no prefab. |
Used in
Members of other types that take, return or hold a ObjectKilledData: