SoldierWeaponsComponentData

Inherits from ComponentData

Summary

Constructors

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

Properties

Name Type
aimDir LinearTransform
weaponSkeleton SkeletonAsset | nil
primaryWeaponId int
animatedWeaponBinding AnimatedWeaponBinding
animated1pOnlyWeaponBinding Animated1pOnlyWeaponBinding
animated3pOnlyWeaponBinding Animated3pOnlyWeaponBinding
lockTimeMultiplier float
grenadeIncrease int
ammoClipIncreaseMultiplier float
explosiveIncreaseMultiplier float
underslungGrenadeIncrease int
useExternalAimDir bool
unlimitedAmmo bool
unlimitedMags bool

Static members

Name Type
SoldierWeaponsComponentData.typeInfo TypeInformation

Constructors

SoldierWeaponsComponentData

SoldierWeaponsComponentData()

Creates a new SoldierWeaponsComponentData frostbite instance.

SoldierWeaponsComponentData

SoldierWeaponsComponentData(guid: Guid)

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

Parameters

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

SoldierWeaponsComponentData

SoldierWeaponsComponentData(other: ComponentData)

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

Parameters

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

SoldierWeaponsComponentData

SoldierWeaponsComponentData(other: GameObjectData)

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

Parameters

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

SoldierWeaponsComponentData

SoldierWeaponsComponentData(other: GameDataContainer)

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

Parameters

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

SoldierWeaponsComponentData

SoldierWeaponsComponentData(other: DataContainer)

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

Parameters

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

Properties

aimDir

LinearTransform

weaponSkeleton

SkeletonAsset | nil

primaryWeaponId

int

animatedWeaponBinding

AnimatedWeaponBinding

animated1pOnlyWeaponBinding

Animated1pOnlyWeaponBinding

animated3pOnlyWeaponBinding

Animated3pOnlyWeaponBinding

lockTimeMultiplier

float

grenadeIncrease

int

ammoClipIncreaseMultiplier

float

explosiveIncreaseMultiplier

float

underslungGrenadeIncrease

int

useExternalAimDir

bool

unlimitedAmmo

bool

unlimitedMags

bool

Static members

typeInfo

TypeInformation

The type information for the SoldierWeaponsComponentData type.

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