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