WeaponSocketObjectData

Inherits from SocketObjectDataBase

Summary

Constructors

WeaponSocketObjectData()
WeaponSocketObjectData(guid: Guid)
WeaponSocketObjectData(other: SocketObjectDataBase)
WeaponSocketObjectData(other: DataContainer)

Properties

Name Type
referencedAssetHashes int[]
asset1p Asset | nil
asset1pzoom Asset | nil
asset3p Asset | nil

Static members

Name Type
WeaponSocketObjectData.typeInfo TypeInformation

Constructors

WeaponSocketObjectData

WeaponSocketObjectData()

Creates a new WeaponSocketObjectData frostbite instance.

WeaponSocketObjectData

WeaponSocketObjectData(guid: Guid)

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

Parameters

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

WeaponSocketObjectData

WeaponSocketObjectData(other: SocketObjectDataBase)

Casts an instance of type SocketObjectDataBase to WeaponSocketObjectData. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other SocketObjectDataBase The instance to cast to WeaponSocketObjectData.

WeaponSocketObjectData

WeaponSocketObjectData(other: DataContainer)

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

Parameters

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

Properties

referencedAssetHashes

int[]

asset1p

Asset | nil

asset1pzoom

Asset | nil

asset3p

Asset | nil

Static members

typeInfo

TypeInformation

The type information for the WeaponSocketObjectData type.

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