Class: ReferenceUnlock
An unlock which must reference a previous unlock which unlocks also the input at the same index as this Reference Unlock.
Hierarchy
↳
ReferenceUnlock
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ReferenceUnlock(reference)
Parameters
| Name | Type | Description |
|---|---|---|
reference | number | An index referencing a previous unlock. |
Overrides
Properties
type
• Readonly type: UnlockType
Inherited from
reference
• reference: number
The reference.
Methods
getType
▸ getType(): UnlockType
Get the type of unlock.