Class KillTrackerComponent
This is used for entities that track player damage sources and killers.
Inheritance
System.Object
KillTrackerComponent
Namespace: Content.Server.KillTracking
Assembly: Content.Server.dll
Syntax
public sealed class KillTrackerComponent : Component
Fields
| Improve this Doc View SourceKillState
The mobstate that registers as a "kill"
Declaration
public MobState KillState
Field Value
Type | Description |
---|---|
MobState |
LifetimeDamage
A dictionary of sources and how much damage they've done to this entity over time.
Declaration
public Dictionary<KillSource, FixedPoint2> LifetimeDamage
Field Value
Type | Description |
---|---|
Dictionary<KillSource, FixedPoint2> |