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