UnlockAssetBase

Inherits from Asset

Summary

Constructors

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

Properties

Name Type
unlockScore int
unlockUserData UnlockUserDataBase | nil
debugUnlockId string
identifier int
availableForPlayer UnlockAvailability
nextLevelUnlockAsset UnlockAssetBase | nil
autoAvailable bool
hiddenInProgression bool

Static members

Name Type
UnlockAssetBase.typeInfo TypeInformation

Constructors

UnlockAssetBase

UnlockAssetBase()

Creates a new UnlockAssetBase frostbite instance.

UnlockAssetBase

UnlockAssetBase(guid: Guid)

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

Parameters

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

UnlockAssetBase

UnlockAssetBase(other: Asset)

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

Parameters

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

UnlockAssetBase

UnlockAssetBase(other: DataContainer)

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

Parameters

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

Properties

unlockScore

int

unlockUserData

UnlockUserDataBase | nil

debugUnlockId

string

identifier

int

availableForPlayer

UnlockAvailability

nextLevelUnlockAsset

UnlockAssetBase | nil

autoAvailable

bool

hiddenInProgression

bool

Static members

typeInfo

TypeInformation

The type information for the UnlockAssetBase type.

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