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