WeaponEntityData

Inherits from GameEntityData

Summary

Constructors

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

Properties

Name Type
weaponStates WeaponStateData[]
weaponClass WeaponClassEnum
aiData GameAIWeaponData | nil
weaponFiring WeaponFiringData | nil
customWeaponType WeaponData | nil

Static members

Name Type
WeaponEntityData.typeInfo TypeInformation

Constructors

WeaponEntityData

WeaponEntityData()

Creates a new WeaponEntityData frostbite instance.

WeaponEntityData

WeaponEntityData(guid: Guid)

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

Parameters

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

WeaponEntityData

WeaponEntityData(other: GameEntityData)

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

Parameters

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

WeaponEntityData

WeaponEntityData(other: SpatialEntityData)

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

Parameters

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

WeaponEntityData

WeaponEntityData(other: EntityData)

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

Parameters

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

WeaponEntityData

WeaponEntityData(other: GameObjectData)

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

Parameters

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

WeaponEntityData

WeaponEntityData(other: GameDataContainer)

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

Parameters

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

WeaponEntityData

WeaponEntityData(other: DataContainer)

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

Parameters

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

Properties

weaponStates

WeaponStateData[]

weaponClass

WeaponClassEnum

aiData

GameAIWeaponData | nil

weaponFiring

WeaponFiringData | nil

customWeaponType

WeaponData | nil

Static members

typeInfo

TypeInformation

The type information for the WeaponEntityData type.

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