PowerToolWeaponData

Inherits from WeaponData

Summary

Constructors

PowerToolWeaponData()
PowerToolWeaponData(guid: Guid)
PowerToolWeaponData(other: WeaponData)
PowerToolWeaponData(other: ToolData)
PowerToolWeaponData(other: DataContainer)

Properties

Name Type
repairSound SoundAsset | nil
repairCompletedSound SoundAsset | nil
damageSound SoundAsset | nil
repairMaterialPair MaterialContainerPair | nil
playFireEffectOnRepairOnly bool

Static members

Name Type
PowerToolWeaponData.typeInfo TypeInformation

Constructors

PowerToolWeaponData

PowerToolWeaponData()

Creates a new PowerToolWeaponData frostbite instance.

PowerToolWeaponData

PowerToolWeaponData(guid: Guid)

Creates a new PowerToolWeaponData frostbite instance and assigns it the provided Guid.

Parameters

Name Type Description
guid Guid The Guid to assign to the newly created instance.

PowerToolWeaponData

PowerToolWeaponData(other: WeaponData)

Casts an instance of type WeaponData to PowerToolWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other WeaponData The instance to cast to PowerToolWeaponData.

PowerToolWeaponData

PowerToolWeaponData(other: ToolData)

Casts an instance of type ToolData to PowerToolWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ToolData The instance to cast to PowerToolWeaponData.

PowerToolWeaponData

PowerToolWeaponData(other: DataContainer)

Casts an instance of type DataContainer to PowerToolWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other DataContainer The instance to cast to PowerToolWeaponData.

Properties

repairSound

SoundAsset | nil

repairCompletedSound

SoundAsset | nil

damageSound

SoundAsset | nil

repairMaterialPair

MaterialContainerPair | nil

playFireEffectOnRepairOnly

bool

Static members

typeInfo

TypeInformation

The type information for the PowerToolWeaponData type.

Last modified April 26, 2020: Update frostbite type documentation (8b14351)