Skip to main content

HealthObject.DeathAnalytics

A struct in Root.Township, the global namespace.

Analytics record of a death: who died, where, and who killed them.

Constructors​

MemberWhat it is
DeathAnalytics(string victim, DamageData killingHit, Vector3 position)Creates a HealthObject.DeathAnalytics from victim, killingHit and position.

Fields​

MemberWhat it is
string murdererUsername of the player who landed the killing hit, the wielder's name if not a player, or "unknown" if no tool wielder.
Vector3 positionWhere the victim was when it died.
string victimThe dead entity's original name.

Used in​

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