Reference Source Test

Variable

Static Public Summary
public

AbilityDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *}

Dictionary providing lookup and utility methods for ability definitions

public

Detect: {"isWindows": *, "isOpera": *, "isFirefoxAndroid": *}

Jest mock for the Detect utility, providing stub browser detection methods

public

Detect: {"isIpad": *, "isAndroid": *, "isWindows": *, "isChromeOnWindows": *, "isCanaryOnWindows": *, "isEdgeOnWindows": *, "isFirefox": *, "isSafari": *, "isOpera": *, "isFirefoxAndroid": *, "isTablet": *, "iOSVersion": *, "androidVersion": *, "isAppleDevice": *}

Utility object for detecting the user's browser and device environment

public

ItemsDictionary: {"data": *, "properties": *, "plugins": *, "onCreate": *, "getProperty": *, "setProperty": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getData": *, "hasPlugin": *, "isNewPlugin": *, "getLevelRequirement": *, "getWeaponLevel": *, "getArmourLevel": *, "getPendantLevel": *, "getRingLevel": *, "getBootsLevel": *, "isArcherWeapon": *, "isWeapon": *, "isArmour": *, "isPendant": *, "isRing": *, "isBoots": *, "getType": *, "isStackable": *, "isEdible": *, "getCustomData": *, "maxStackSize": *, "isShard": *, "isEnchantable": *, "getShardTier": *, "isEquippable": *, "healsHealth": *, "healsMana": *, "getHealingFactor": *, "getManaFactor": *}

Dictionary providing lookup and utility methods for item definitions

public

MobsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getXp": *, "hasCombatPlugin": *, "isNewCombatPlugin": *}

Dictionary providing lookup and utility methods for mob definitions

public

Modules: {"Orientation": *, "Types": *, "InputType": *, "Actions": *, "Hits": *, "Equipment": *, "Hovering": *, "Keys": *, "AudioTypes": *, "DamageColours": *, "Pointers": *}

Shared game constants and enumerations used across the client

public

NpcsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getText": *, "getType": *}

Dictionary providing lookup and utility methods for NPC definitions

public

Packets: {"Handshake": *, "Intro": number, "Welcome": number, "Spawn": number, "List": number, "Who": number, "Equipment": number, "Ready": number, "Sync": number, "Movement": number, "Teleport": number, "Request": number, "Despawn": number, "Target": number, "Combat": number, "Animation": number, "Projectile": number, "Population": number, "Points": number, "Network": number, "Chat": number, "Command": number, "Inventory": number, "Bank": number, "Ability": number, "Quest": number, "Notification": number, "Blink": number, "Heal": number, "Experience": number, "Death": number, "Audio": number, "NPC": number, "Respawn": number, "Trade": number, "Enchant": number, "Guild": number, "Pointer": number, "PVP": number, "Click": number, "Warp": number, "Shop": number, "IntroOpcode": *, "EquipmentOpcode": *, "MovementOpcode": *, "TargetOpcode": *, "CombatOpcode": *, "ProjectileOpcode": *, "NetworkOpcode": *, "InventoryOpcode": *, "BankOpcode": *, "QuestOpcode": *, "NotificationOpcode": *, "NPCOpcode": *, "TradeOpcode": *, "EnchantOpcode": *, "GuildOpcode": *, "PointerOpcode": *, "ShopOpcode": *}

Enumeration of all network packet types and their opcodes used for client-server communication

public

ShopsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "isShopNPC": *, "getItems": *, "getItemCount": *, "getCost": *, "getCount": *}

Dictionary providing lookup and utility methods for shop definitions

public

CSS transition end event names for cross-browser compatibility

public

Singleton Logger instance initialized at debug level

public

Cross-browser requestAnimationFrame implementation with setTimeout fallback

Static Public

public AbilityDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *} source

Dictionary providing lookup and utility methods for ability definitions

public Detect: {"isWindows": *, "isOpera": *, "isFirefoxAndroid": *} source

Jest mock for the Detect utility, providing stub browser detection methods

public Detect: {"isIpad": *, "isAndroid": *, "isWindows": *, "isChromeOnWindows": *, "isCanaryOnWindows": *, "isEdgeOnWindows": *, "isFirefox": *, "isSafari": *, "isOpera": *, "isFirefoxAndroid": *, "isTablet": *, "iOSVersion": *, "androidVersion": *, "isAppleDevice": *} source

Utility object for detecting the user's browser and device environment

public ItemsDictionary: {"data": *, "properties": *, "plugins": *, "onCreate": *, "getProperty": *, "setProperty": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getData": *, "hasPlugin": *, "isNewPlugin": *, "getLevelRequirement": *, "getWeaponLevel": *, "getArmourLevel": *, "getPendantLevel": *, "getRingLevel": *, "getBootsLevel": *, "isArcherWeapon": *, "isWeapon": *, "isArmour": *, "isPendant": *, "isRing": *, "isBoots": *, "getType": *, "isStackable": *, "isEdible": *, "getCustomData": *, "maxStackSize": *, "isShard": *, "isEnchantable": *, "getShardTier": *, "isEquippable": *, "healsHealth": *, "healsMana": *, "getHealingFactor": *, "getManaFactor": *} source

Dictionary providing lookup and utility methods for item definitions

public MobsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getXp": *, "hasCombatPlugin": *, "isNewCombatPlugin": *} source

Dictionary providing lookup and utility methods for mob definitions

public Modules: {"Orientation": *, "Types": *, "InputType": *, "Actions": *, "Hits": *, "Equipment": *, "Hovering": *, "Keys": *, "AudioTypes": *, "DamageColours": *, "Pointers": *} source

Shared game constants and enumerations used across the client

public NpcsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getText": *, "getType": *} source

Dictionary providing lookup and utility methods for NPC definitions

public Packets: {"Handshake": *, "Intro": number, "Welcome": number, "Spawn": number, "List": number, "Who": number, "Equipment": number, "Ready": number, "Sync": number, "Movement": number, "Teleport": number, "Request": number, "Despawn": number, "Target": number, "Combat": number, "Animation": number, "Projectile": number, "Population": number, "Points": number, "Network": number, "Chat": number, "Command": number, "Inventory": number, "Bank": number, "Ability": number, "Quest": number, "Notification": number, "Blink": number, "Heal": number, "Experience": number, "Death": number, "Audio": number, "NPC": number, "Respawn": number, "Trade": number, "Enchant": number, "Guild": number, "Pointer": number, "PVP": number, "Click": number, "Warp": number, "Shop": number, "IntroOpcode": *, "EquipmentOpcode": *, "MovementOpcode": *, "TargetOpcode": *, "CombatOpcode": *, "ProjectileOpcode": *, "NetworkOpcode": *, "InventoryOpcode": *, "BankOpcode": *, "QuestOpcode": *, "NotificationOpcode": *, "NPCOpcode": *, "TradeOpcode": *, "EnchantOpcode": *, "GuildOpcode": *, "PointerOpcode": *, "ShopOpcode": *} source

Enumeration of all network packet types and their opcodes used for client-server communication

public ShopsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "isShopNPC": *, "getItems": *, "getItemCount": *, "getCost": *, "getCount": *} source

Dictionary providing lookup and utility methods for shop definitions

public TRANSITIONEND: String source

CSS transition end event names for cross-browser compatibility

public logger: Logger source

Singleton Logger instance initialized at debug level

public requestAnimFrame: Function source

import {requestAnimFrame} from 'WTF-Adventure/WTF-Adventure/client/utils/util.js'

Cross-browser requestAnimationFrame implementation with setTimeout fallback