Skip to main content

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.

Constructors​

MemberWhat it is
ObjectKilledData(NetworkEntity entity, DamageData killingHit)Creates an ObjectKilledData from entity and killingHit.

Fields​

MemberWhat it is
uint identifierNetwork identifier of the entity that died.
string nameThe entity's original name.
uint prefabPrefab hash of the entity, or 0 if it has no prefab.

Used in​

Members of other types that take, return or hold a ObjectKilledData: