References
client
client/controllers
| summary | ||
| public |
C Audio Controls audio and sfx in the game |
|
| public |
C Bubble Creates player speach bubbles |
|
| public |
C Chat Manages the game's chat log window and chat history |
|
| public |
C Entities Entities in the game:
|
|
| public |
C Info Displays additional information on the screen as the game is running. |
|
| public |
C Input Handles game mouse and keyboard input |
|
| public |
Handles game UI interfaces |
|
| public |
C Overlay Shows an popup overlay when the mouse is over a character or enemy that displays information about them |
|
| public |
Used to load the character and items for the player |
|
| public |
C Cursor Handles the cursor on the HTML5 canvas, different pointers can be swapped out depending on the entity the player is interacting with, this holds all of the individual pointers whereas Pointer holds a specific/individual cursor |
|
| public |
C Sprites Class responsible for loading all the necessary sprites from the JSON. |
|
| public |
C Zone Keeps track of the Entity direction |
|
client/entity
client/entity/character/mob
client/entity/character/player
client/entity/character/player/equipment
client/entity/objects
client/interface
client/interface/profile
client/map
| summary | ||
| public |
C Map |
|
client/network
| summary | ||
| public |
C Messages Do not clutter up the Socket class with callbacks, have this class here until a better method arises in my head. |
|
| public |
C Socket Connect to the server via websockets |
|
| public |
V 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": *} |
|
client/renderer
client/renderer/bubbles
| summary | ||
| public |
C Blob A type of bubble |
|
client/renderer/infos
| summary | ||
| public |
C Splat |
|
client/renderer/pointers
| summary | ||
| public |
C Pointer |
|
client/utils
| summary | ||
| public |
|
|
| public |
C Queue Very useful file used for queuing various objects, most notably used in the info controller to queue objects to delete |
|
| public |
C Storage |
|
| public |
C Timer |
|
| public |
|
|
| public |
F isInt(n: *) |
|
| public |
F isIntersecting(rectOne: *, rectTwo: *) |
|
| public |
V Detect: {"isIpad": *, "isAndroid": *, "isWindows": *, "isChromeOnWindows": *, "isCanaryOnWindows": *, "isEdgeOnWindows": *, "isFirefox": *, "isSafari": *, "isOpera": *, "isFirefoxAndroid": *, "isTablet": *, "iOSVersion": *, "androidVersion": *, "isAppleDevice": *} |
|
| public |
V Modules: {"Orientation": *, "Types": *, "InputType": *, "Actions": *, "Hits": *, "Equipment": *, "Hovering": *, "Keys": *, "AudioTypes": *, "DamageColours": *, "Pointers": *} |
|
| public |
|
|
| public |
V requestAnimFrame: * |
|
client/utils/__mocks__
| summary | ||
| public |
V Detect: {"isWindows": *, "isOpera": *, "isFirefoxAndroid": *} |
|
server/data/combat
server/data/items
| summary | ||
| public |
C Flask |
|
server/js/game/entity
| summary | ||
| public |
C Entity |
|
server/js/game/entity/character
| summary | ||
| public |
|
|
server/js/game/entity/character/mob
| summary | ||
| public |
C Mob |
|
server/js/game/entity/character/player
server/js/game/entity/character/player/ability
| summary | ||
| public |
|
|
server/js/game/entity/character/player/ability/misc
server/js/game/entity/character/player/containers/bank
| summary | ||
| public |
C Bank |
|
server/js/game/entity/character/player/containers/inventory
| summary | ||
| public |
Not particularly sure whether or not this class will require an update function to push any updates of the inventory to the client. |
|
server/js/game/entity/character/player/enchant
| summary | ||
| public |
C Enchant Tier 1 - Damage/Armour boost (1-5%) Tier 2 - Damage boost (1-10% & 10% for special ability or special ability level up) Tier 3 - Damage boost (1-15% & 15% for special ability or special ability level up) Tier 4 - Damage boost (1-20% & 20% for special ability or special ability level up) Tier 5 - Damage boost (1-40% & 25% for special ability or special ability level up) |
|
server/js/game/entity/character/player/equipment
server/js/game/entity/character/player/points
server/js/game/entity/character/player/profession
| summary | ||
| public |
|
|
server/js/game/entity/character/player/profession/impl
| summary | ||
| public |
|
|
server/js/game/entity/character/player/quest
| summary | ||
| public |
C Quest |
|
server/js/game/entity/character/player/quest/misc
| summary | ||
| public |
|
|
| public |
|
|
| public |
C TheLie |
|
server/js/game/entity/npc
| summary | ||
| public |
C NPC |
|
server/js/map
server/js/minigames
| summary | ||
| public |
C Minigame |
|
server/js/network
| summary | ||
| public |
C Socket |
|
server/js/util
| summary | ||
| public |
C Bot |
|
| public |
F requireItems(directory: *): * |
|
| public |
V AbilityDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *} |
|
| public |
V 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": *} |
|
| public |
V MobsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getXp": *, "hasCombatPlugin": *, "isNewCombatPlugin": *} |
|
| public |
V NpcsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "getText": *, "getType": *} |
|
| public |
V ShopsDictionary: {"data": *, "properties": *, "plugins": *, "getProperty": *, "setProperty": *, "getData": *, "setData": *, "idToString": *, "idToName": *, "stringToId": *, "exists": *, "setPlugins": *, "isShopNPC": *, "getItems": *, "getItemCount": *, "getCost": *, "getCount": *} |
|
tools/api
| summary | ||
| public |
|
|
tools/map
| summary | ||
| public |
F parse(json: *, options: *): * |
|
Reference
Source
Test
