LockCode
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
Members
Getter
Return Type:
string
static of(name as string) as LockCode
The item hover name that will allow unlocking this code.
Returns: A new LockCode instance.
Parameters:
name: string
Type: string
- The hover name to compare against.
Return Type:
LockCode
static of(item as IItemStack) as LockCode
Parameters:
item: IItemStack
Type: IItemStack
Return Type:
LockCode