SoldierWeaponData

Inherits from WeaponEntityData

Summary

Constructors

SoldierWeaponData()
SoldierWeaponData(guid: Guid)
SoldierWeaponData(other: WeaponEntityData)
SoldierWeaponData(other: GameEntityData)
SoldierWeaponData(other: SpatialEntityData)
SoldierWeaponData(other: EntityData)
SoldierWeaponData(other: GameObjectData)
SoldierWeaponData(other: GameDataContainer)
SoldierWeaponData(other: DataContainer)

Properties

Name Type
interactionOffset Vec3
weaponModifierData WeaponModifierData[]
aimingController SoldierAimingSimulationData | nil
firstPersonCamera FirstPersonCameraData | nil
hud HudData
damageGiverName string
pickupSettings PickupSettingsData
animBaseSet WeaponAnimBaseSetEnum
animationData AntPackageAsset | nil
renderFov float
zoomRenderFov float
streamGroup1p StreamGroupData | nil
voiceOverInfo EntityVoiceOverInfo | nil
quickThrowType QuickThrowTypeEnum
customization SoldierWeaponCustomizationAsset | nil
weaponFloatParam float
sockets SocketData[]
switchWeaponStateInputAction EntryInputActionEnum
soldierWeaponBlueprint SoldierWeaponBlueprint | nil
persistenceId string
allowSwitchingToWeaponOutOfAmmo bool
hideWhenOutOfAmmo bool
lowerOnOwnTeam bool
redeployWhenSwitchingWeaponStates bool
useQuickThrowOnAutomaticSwitchback bool
enableBreathControl bool
canBeInSupportedShooting bool
allowSwitchingToWeaponReloading bool
switchToPrimaryWhenOutOfAmmo bool
allowSwitchingToWeaponInVehicles bool
isSilenced bool

Static members

Name Type
SoldierWeaponData.typeInfo TypeInformation

Constructors

SoldierWeaponData

SoldierWeaponData()

Creates a new SoldierWeaponData frostbite instance.

SoldierWeaponData

SoldierWeaponData(guid: Guid)

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

Parameters

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

SoldierWeaponData

SoldierWeaponData(other: WeaponEntityData)

Casts an instance of type WeaponEntityData to SoldierWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other WeaponEntityData The instance to cast to SoldierWeaponData.

SoldierWeaponData

SoldierWeaponData(other: GameEntityData)

Casts an instance of type GameEntityData to SoldierWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other GameEntityData The instance to cast to SoldierWeaponData.

SoldierWeaponData

SoldierWeaponData(other: SpatialEntityData)

Casts an instance of type SpatialEntityData to SoldierWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SpatialEntityData The instance to cast to SoldierWeaponData.

SoldierWeaponData

SoldierWeaponData(other: EntityData)

Casts an instance of type EntityData to SoldierWeaponData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other EntityData The instance to cast to SoldierWeaponData.

SoldierWeaponData

SoldierWeaponData(other: GameObjectData)

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

Parameters

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

SoldierWeaponData

SoldierWeaponData(other: GameDataContainer)

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

Parameters

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

SoldierWeaponData

SoldierWeaponData(other: DataContainer)

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

Parameters

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

Properties

interactionOffset

Vec3

weaponModifierData

WeaponModifierData[]

aimingController

SoldierAimingSimulationData | nil

firstPersonCamera

FirstPersonCameraData | nil

hud

HudData

damageGiverName

string

pickupSettings

PickupSettingsData

animBaseSet

WeaponAnimBaseSetEnum

animationData

AntPackageAsset | nil

renderFov

float

zoomRenderFov

float

streamGroup1p

StreamGroupData | nil

voiceOverInfo

EntityVoiceOverInfo | nil

quickThrowType

QuickThrowTypeEnum

customization

SoldierWeaponCustomizationAsset | nil

weaponFloatParam

float

sockets

SocketData[]

switchWeaponStateInputAction

EntryInputActionEnum

soldierWeaponBlueprint

SoldierWeaponBlueprint | nil

persistenceId

string

allowSwitchingToWeaponOutOfAmmo

bool

hideWhenOutOfAmmo

bool

lowerOnOwnTeam

bool

redeployWhenSwitchingWeaponStates

bool

useQuickThrowOnAutomaticSwitchback

bool

enableBreathControl

bool

canBeInSupportedShooting

bool

allowSwitchingToWeaponReloading

bool

switchToPrimaryWhenOutOfAmmo

bool

allowSwitchingToWeaponInVehicles

bool

isSilenced

bool

Static members

typeInfo

TypeInformation

The type information for the SoldierWeaponData type.

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