DropWeaponComponentData

Inherits from ComponentData

Summary

Constructors

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

Properties

Name Type
deathPickup PickupEntityAsset | nil
actionIdentifier EntryInputActionEnum
dropWeaponAfterTime float
pickup PickupEntityAsset | nil
excludedWeaponSlots WeaponSlot[]
weaponDropTime float
listenToAnimationWeaponDropSignal bool
allowDropWeaponOnAction bool
requireWeaponSlotEmpty bool

Static members

Name Type
DropWeaponComponentData.typeInfo TypeInformation

Constructors

DropWeaponComponentData

DropWeaponComponentData()

Creates a new DropWeaponComponentData frostbite instance.

DropWeaponComponentData

DropWeaponComponentData(guid: Guid)

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

Parameters

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

DropWeaponComponentData

DropWeaponComponentData(other: ComponentData)

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

Parameters

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

DropWeaponComponentData

DropWeaponComponentData(other: GameObjectData)

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

Parameters

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

DropWeaponComponentData

DropWeaponComponentData(other: GameDataContainer)

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

Parameters

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

DropWeaponComponentData

DropWeaponComponentData(other: DataContainer)

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

Parameters

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

Properties

deathPickup

PickupEntityAsset | nil

actionIdentifier

EntryInputActionEnum

dropWeaponAfterTime

float

pickup

PickupEntityAsset | nil

excludedWeaponSlots

WeaponSlot[]

weaponDropTime

float

listenToAnimationWeaponDropSignal

bool

allowDropWeaponOnAction

bool

requireWeaponSlotEmpty

bool

Static members

typeInfo

TypeInformation

The type information for the DropWeaponComponentData type.

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