DeathEvent
Inherits from MetricEvent
Summary
Constructors
DeathEvent() |
DeathEvent(guid: Guid) |
DeathEvent(other: MetricEvent) |
DeathEvent(other: DataContainer) |
Properties
Name | Type |
---|---|
position | Vec3 |
killerPosition | Vec3 |
killerId | int |
time | float |
weapon | string |
Static members
Name | Type |
---|---|
DeathEvent.typeInfo | TypeInformation |
Constructors
DeathEvent
DeathEvent()
Creates a new DeathEvent frostbite instance.
DeathEvent
DeathEvent(guid: Guid)
Creates a new DeathEvent frostbite instance and assigns it the provided Guid.
Parameters
Name | Type | Description |
---|---|---|
guid | Guid | The Guid to assign to the newly created instance. |
DeathEvent
DeathEvent(other: MetricEvent)
Casts an instance of type MetricEvent to DeathEvent. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | MetricEvent | The instance to cast to DeathEvent. |
DeathEvent
DeathEvent(other: DataContainer)
Casts an instance of type DataContainer to DeathEvent. Will throw an error when trying to cast from an unsupported type.
Parameters
Name | Type | Description |
---|---|---|
other | DataContainer | The instance to cast to DeathEvent. |
Properties
position
killerPosition
killerId
int
time
float
weapon
string
Static members
typeInfo
The type information for the DeathEvent type.
Last modified April 26, 2020: Update frostbite type documentation (8b14351c)