MeleeWeaponData

Inherits from WeaponData

Summary

Constructors

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

Properties

Name Type
useCannedAnimation bool
useSphereDamage bool

Static members

Name Type
MeleeWeaponData.typeInfo TypeInformation

Constructors

MeleeWeaponData

MeleeWeaponData()

Creates a new MeleeWeaponData frostbite instance.

MeleeWeaponData

MeleeWeaponData(guid: Guid)

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

Parameters

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

MeleeWeaponData

MeleeWeaponData(other: WeaponData)

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

Parameters

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

MeleeWeaponData

MeleeWeaponData(other: ToolData)

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

Parameters

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

MeleeWeaponData

MeleeWeaponData(other: DataContainer)

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

Parameters

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

Properties

useCannedAnimation

bool

useSphereDamage

bool

Static members

typeInfo

TypeInformation

The type information for the MeleeWeaponData type.

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