SoldierWeaponUnlockAsset

Inherits from UnlockAssetBase

Summary

Constructors

SoldierWeaponUnlockAsset()
SoldierWeaponUnlockAsset(guid: Guid)
SoldierWeaponUnlockAsset(other: UnlockAssetBase)
SoldierWeaponUnlockAsset(other: Asset)
SoldierWeaponUnlockAsset(other: DataContainer)

Properties

Name Type
weapon SoldierWeaponBlueprint | nil
extra UnlockAssetBase | nil
weaponIdentifier int

Static members

Name Type
SoldierWeaponUnlockAsset.typeInfo TypeInformation

Constructors

SoldierWeaponUnlockAsset

SoldierWeaponUnlockAsset()

Creates a new SoldierWeaponUnlockAsset frostbite instance.

SoldierWeaponUnlockAsset

SoldierWeaponUnlockAsset(guid: Guid)

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

Parameters

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

SoldierWeaponUnlockAsset

SoldierWeaponUnlockAsset(other: UnlockAssetBase)

Casts an instance of type UnlockAssetBase to SoldierWeaponUnlockAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other UnlockAssetBase The instance to cast to SoldierWeaponUnlockAsset.

SoldierWeaponUnlockAsset

SoldierWeaponUnlockAsset(other: Asset)

Casts an instance of type Asset to SoldierWeaponUnlockAsset. Will throw an error when trying to cast from an unsupported type.

Parameters

Name Type Description
other Asset The instance to cast to SoldierWeaponUnlockAsset.

SoldierWeaponUnlockAsset

SoldierWeaponUnlockAsset(other: DataContainer)

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

Parameters

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

Properties

weapon

SoldierWeaponBlueprint | nil

extra

UnlockAssetBase | nil

weaponIdentifier

int

Static members

typeInfo

TypeInformation

The type information for the SoldierWeaponUnlockAsset type.

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