KilledData
A class in Root.Township, Alta.PlayerStates.
What killed a player, built from the killing hit: the tool, who held it and the killing player if there was one.
- Listed in Players and characters
- Derived types
ObjectKilledData,PlayerKilledData
Constructors
| Member | What it is |
|---|---|
KilledData(DamageData killingHit) | Creates a KilledData from killingHit. |
Fields
| Member | What it is |
|---|---|
UserInfo killerPlayer | API user info of the player who held the weapon, or null if no player did. |
DamageSource source | The hit's damage source, or Unknown if there was no hit. |
string toolWielder | Name of the object that wielded the tool, for impact hits with a wielder. |
string usedTool | Name of the tool used, for hits made with a tool. |