Static methods

staticgetAllLockedItemNames ():Array<String>

Returns a list of all items that are still locked for the player

Returns:

an array of all item names that are still locked for the player

staticgetAllUnlockedItemNames ():Array<String>

Returns a list of all item names that have been unlocked by the player

Returns:

an array of all item names have been unlocked by the player

staticgetAllUnlockedMetaNames ():Array<String>

Returns a list of all meta names that have been unlocked by the player

Returns:

an array of all meta names have been unlocked by the player

staticgetAllUnlockedSkillNames ():Array<String>

Returns a list of all skill names that have been unlocked by the player

Returns:

an array of all skill names have been unlocked by the player

staticgetAllUnlockedWeaponNames ():Array<String>

Returns a list of all weapon names that have been unlocked by the player

Returns:

an array of all weapon names have been unlocked by the player

statichasMetaRune (_runeName:String):Bool

Returns if the player has a given Meta Rune

Parameters:

_runeName

name of the rune to look for

Returns:

true if the playr has the rune, false otherwise

staticisItemUnlocked (_itemName:String):Bool

Returns if the passed item name has been unlocked by the player

Parameters:

_itemName

item name to check for unlocked. Should be one of the value in id column of item table in data.cdb

Returns:

true if the item is unlocked, false if unlocked or not found