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