FlashlightWeaponData

Inherits from WeaponData

Summary

Constructors

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

Properties

Name Type
updateFrequency float
range float
angle float

Static members

Name Type
FlashlightWeaponData.typeInfo TypeInformation

Constructors

FlashlightWeaponData

FlashlightWeaponData()

Creates a new FlashlightWeaponData frostbite instance.

FlashlightWeaponData

FlashlightWeaponData(guid: Guid)

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

Parameters

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

FlashlightWeaponData

FlashlightWeaponData(other: WeaponData)

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

Parameters

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

FlashlightWeaponData

FlashlightWeaponData(other: ToolData)

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

Parameters

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

FlashlightWeaponData

FlashlightWeaponData(other: DataContainer)

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

Parameters

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

Properties

updateFrequency

float

range

float

angle

float

Static members

typeInfo

TypeInformation

The type information for the FlashlightWeaponData type.

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