Skip to main content

Class: UnlockCondition

Hierarchy​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new UnlockCondition(type)

Parameters​

NameTypeDescription
typeUnlockConditionTypeThe type of the unlock condition.

Properties​

type​

• Readonly type: UnlockConditionType

Methods​

getType​

▸ getType(): UnlockConditionType

Get the type of unlock condition.

Returns​

UnlockConditionType


parse​

▸ Static parse(data): UnlockCondition

Parse an unlock condition from a plain JS JSON object.

Parameters​

NameType
dataany

Returns​

UnlockCondition