CharacterWeaponComponentData

Inherits from ComponentData

Summary

Constructors

CharacterWeaponComponentData()
CharacterWeaponComponentData(guid: Guid)
CharacterWeaponComponentData(other: ComponentData)
CharacterWeaponComponentData(other: GameObjectData)
CharacterWeaponComponentData(other: GameDataContainer)
CharacterWeaponComponentData(other: DataContainer)

Properties

Name Type
defaultWeaponBlueprint SoldierWeaponBlueprint | nil
aimBoneName string
weaponSkeleton SkeletonAsset | nil

Static members

Name Type
CharacterWeaponComponentData.typeInfo TypeInformation

Constructors

CharacterWeaponComponentData

CharacterWeaponComponentData()

Creates a new CharacterWeaponComponentData frostbite instance.

CharacterWeaponComponentData

CharacterWeaponComponentData(guid: Guid)

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

Parameters

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

CharacterWeaponComponentData

CharacterWeaponComponentData(other: ComponentData)

Casts an instance of type ComponentData to CharacterWeaponComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other ComponentData The instance to cast to CharacterWeaponComponentData.

CharacterWeaponComponentData

CharacterWeaponComponentData(other: GameObjectData)

Casts an instance of type GameObjectData to CharacterWeaponComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameObjectData The instance to cast to CharacterWeaponComponentData.

CharacterWeaponComponentData

CharacterWeaponComponentData(other: GameDataContainer)

Casts an instance of type GameDataContainer to CharacterWeaponComponentData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameDataContainer The instance to cast to CharacterWeaponComponentData.

CharacterWeaponComponentData

CharacterWeaponComponentData(other: DataContainer)

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

Parameters

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

Properties

defaultWeaponBlueprint

SoldierWeaponBlueprint | nil

aimBoneName

string

weaponSkeleton

SkeletonAsset | nil

Static members

typeInfo

TypeInformation

The type information for the CharacterWeaponComponentData type.

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