Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #initclip 113
- if (!dofus.aks.DataProcessor)
- {
- if (!dofus)
- {
- _global.dofus = new Object();
- } // end if
- if (!dofus.aks)
- {
- _global.dofus.aks = new Object();
- } // end if
- var _loc1 = (_global.dofus.aks.DataProcessor = function (oAKS, oAPI)
- {
- super.initialize(oAKS, oAPI);
- }).prototype;
- _loc1.process = function (sData)
- {
- var _loc3 = sData.charAt(0);
- var _loc4 = sData.charAt(1);
- var _loc5 = sData.charAt(2) == "E";
- this.postProcess(_loc3, _loc4, _loc5, sData);
- };
- _loc1.postProcess = function (sType, sAction, bError, sData)
- {
- switch (sType)
- {
- case "w":
- {
- bError = sData.charAt(3) == "E";
- switch (sAction)
- {
- case "D":
- {
- switch (sData.charAt(2))
- {
- case "C":
- {
- this.aks.Dungeon.onDungeonCreation(sData.substr(3));
- break;
- }
- case "I":
- {
- this.aks.Dungeon.onDungeonInvite(sData.substr(3));
- break;
- }
- case "i":
- {
- this.aks.Dungeon.onDungeonInvitation(sData.substr(3));
- break;
- }
- case "S":
- {
- this.aks.Dungeon.onDungeonStart(sData.substr(3));
- break;
- }
- case "J":
- {
- this.aks.Dungeon.onJoin(!bError, sData.substr(4));
- break;
- }
- case "V":
- {
- com.ankamagames.tools.Logger.out("[wtf]WG Quittage d\'une équipe", "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 77);
- this.aks.Dungeon.onLeave();
- break;
- }
- case "M":
- {
- this.aks.Dungeon.onMemberMovement(sData.substr(3));
- break;
- }
- case "s":
- {
- this.aks.Dungeon.onPlayerStatusChanged(sData.substr(3));
- break;
- }
- case "W":
- {
- this.aks.Dungeon.onWin(sData.substr(3));
- break;
- }
- case "E":
- {
- this.aks.Dungeon.onError(sData.substr(3));
- }
- default:
- {
- break;
- }
- } // End of switch
- break;
- }
- case "E":
- {
- switch (sData.charAt(2))
- {
- case "S":
- {
- var _loc6 = Number(sData.substr(3));
- dofus.sounds.AudioManager.getInstance().playEffect(_loc6);
- break;
- }
- default:
- {
- break;
- }
- } // End of switch
- break;
- }
- case "C":
- {
- switch (sData.charAt(2))
- {
- case "G":
- {
- var _loc7 = this.api.ui.getUIComponent("Craft");
- if (_loc7 != undefined)
- {
- _loc7.onCookbookData(sData.substr(4));
- } // end if
- break;
- }
- default:
- {
- break;
- }
- } // End of switch
- break;
- }
- case "H":
- {
- var _loc8 = sData.split("|");
- var _loc9 = Number(_loc8[0]);
- var _loc10 = Number(_loc8[1]);
- this.api.ui.loadUIComponent("ItemViewer", "ItemViewer", {item: new dofus.datacenter.Item(-1, _loc9, _loc10, 0, "", 0), harvest: true, quantity: _loc10});
- break;
- }
- case "F":
- {
- switch (sData.charAt(2))
- {
- case "C":
- {
- var _loc11 = sData.substr(4).split("|");
- this.api.datacenter.Player.color1 = this.api.datacenter.Player.data.data.color1 = _loc11[0];
- this.api.datacenter.Player.color2 = this.api.datacenter.Player.data.data.color2 = _loc11[1];
- this.api.datacenter.Player.color3 = this.api.datacenter.Player.data.data.color3 = _loc11[2];
- this.api.datacenter.Player.color4 = this.api.datacenter.Player.data.data.color4 = _loc11[3];
- this.api.ui.getUIComponent("Banner").updateIllustration();
- break;
- }
- } // End of switch
- }
- case "r":
- {
- var _loc12 = sData.substr(2).split("|");
- com.ankamagames.tools.Logger.out("WG DataProcessor : " + _loc12[0], "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 162);
- var _loc13 = Number(_loc12[0]);
- com.ankamagames.tools.Logger.out("WG DataProcessor : " + _loc13, "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 164);
- this.api.ui.loadUIComponent("MapCinematics", "MapCinematics", {artworkId: _loc13});
- break;
- }
- default:
- {
- break;
- }
- } // End of switch
- break;
- }
- case "H":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.onHelloConnectionServer(sData.substr(2));
- break;
- }
- case "G":
- {
- this.aks.onHelloGameServer(sData.substr(2));
- break;
- }
- default:
- {
- this.aks.disconnect(false, true);
- }
- } // End of switch
- break;
- }
- case "p":
- {
- this.aks.onPong();
- break;
- }
- case "q":
- {
- this.aks.onQuickPong();
- break;
- }
- case "r":
- {
- this.aks.send("rpong" + sData.substr(5), false);
- break;
- }
- case "M":
- {
- this.aks.onServerMessage(sData.substr(1));
- break;
- }
- case "k":
- {
- this.aks.onServerWillDisconnect();
- break;
- }
- case "B":
- {
- switch (sAction)
- {
- case "N":
- {
- return;
- break;
- }
- case "A":
- {
- switch (sData.charAt(2))
- {
- case "T":
- {
- this.aks.Basics.onAuthorizedCommand(true, sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Basics.onAuthorizedLine(sData.substr(3));
- break;
- }
- case "P":
- {
- this.aks.Basics.onAuthorizedCommandPrompt(sData.substr(3));
- break;
- }
- case "C":
- {
- this.aks.Basics.onAuthorizedCommandClear();
- break;
- }
- case "E":
- {
- this.aks.Basics.onAuthorizedCommand(false);
- break;
- }
- case "I":
- {
- if (sData.charAt(3) !== "O")
- {
- break;
- } // end if
- this.aks.Basics.onAuthorizedInterfaceOpen(sData.substr(4));
- break;
- this.aks.Basics.onAuthorizedInterfaceClose(sData.substr(4));
- break;
- }
- } // End of switch
- break;
- }
- case "T":
- {
- this.aks.Basics.onReferenceTime(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Basics.onDate(sData.substr(2));
- break;
- }
- case "W":
- {
- this.aks.Basics.onWhoIs(!bError, sData.substr(3));
- break;
- }
- case "P":
- {
- this.aks.Basics.onSubscriberRestriction(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Basics.onFileCheck(sData.substr(2));
- break;
- }
- case "p":
- {
- this.aks.Basics.onAveragePing(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "A":
- {
- switch (sAction)
- {
- case "c":
- {
- this.aks.Account.onCommunity(sData.substr(2));
- break;
- }
- case "d":
- {
- this.aks.Account.onDofusPseudo(sData.substr(2));
- break;
- }
- case "l":
- {
- this.aks.Account.onLogin(!bError, sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Account.onCharactersList(!bError, sData.substr(3), false, true);
- break;
- }
- case "C":
- {
- this.aks.Account.onCharactersList(!bError, sData.substr(2), false, false);
- break;
- }
- case "x":
- {
- this.aks.Account.onServersList(!bError, sData.substr(3));
- break;
- }
- case "A":
- {
- this.aks.Account.onCharacterAdd(!bError, sData.substr(3));
- break;
- }
- case "T":
- {
- this.aks.Account.onTicketResponse(!bError, sData.substr(3));
- break;
- }
- case "X":
- {
- this.aks.Account.onSelectServer(!bError, true, sData.substr(3));
- break;
- }
- case "Y":
- {
- this.aks.Account.onSelectServer(!bError, false, sData.substr(3));
- break;
- }
- case "S":
- {
- this.aks.Account.onCharacterSelected(!bError, sData.substr(4));
- break;
- }
- case "s":
- {
- this.aks.Account.onStats(sData.substr(2));
- break;
- }
- case "N":
- {
- this.aks.Account.onNewLevel(sData.substr(2));
- break;
- }
- case "R":
- {
- this.aks.Account.onRestrictions(sData.substr(2));
- break;
- }
- case "H":
- {
- this.aks.Account.onHosts(sData.substr(2));
- break;
- }
- case "r":
- {
- this.aks.Account.onRescue(!bError);
- break;
- }
- case "g":
- {
- this.aks.Account.onGiftsList(sData.substr(2));
- break;
- }
- case "G":
- {
- this.aks.Account.onGiftStored(!bError);
- break;
- }
- case "q":
- {
- this.aks.Account.onQueue(sData.substr(2));
- break;
- }
- case "f":
- {
- this.aks.Account.onNewQueue(sData.substr(2));
- break;
- }
- case "V":
- {
- this.aks.Account.onRegionalVersion(sData.substr(2));
- break;
- }
- case "P":
- {
- this.aks.Account.onCharacterNameGenerated(!bError, sData.substr(3));
- break;
- }
- case "K":
- {
- this.aks.Account.onKey(sData.substr(2));
- break;
- }
- case "Q":
- {
- this.aks.Account.onSecretQuestion(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Account.onCharacterDelete(!bError, sData.substr(3));
- break;
- }
- case "M":
- {
- switch (sData.charAt(2))
- {
- case "?":
- {
- this.aks.Account.onCharactersMigrationAskConfirm(sData.substr(3));
- break;
- }
- default:
- {
- this.aks.Account.onCharactersList(!bError, sData.substr(3), true);
- break;
- }
- } // End of switch
- break;
- }
- case "F":
- {
- this.aks.Account.onFriendServerList(sData.substr(2));
- break;
- }
- case "m":
- {
- if (!_global.CONFIG.isStreaming)
- {
- this.aks.Account.onMiniClipInfo();
- }
- else
- {
- var _loc14 = _global.parseInt(sData.charAt(2), 10);
- com.ankamagames.tools.Logger.out("GoToCongratulation " + _loc14, "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 404);
- if (_global.isNaN(_loc14))
- {
- _loc14 = 3;
- } // end if
- com.ankamagames.tools.Logger.out("GoToCongratulation " + _loc14, "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 408);
- getURL("FSCommand:" add "GoToCongratulation", _loc14);
- } // end else if
- break;
- }
- } // End of switch
- break;
- }
- case "G":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.Game.onCreate(!bError, sData.substr(4));
- break;
- }
- case "J":
- {
- this.aks.Game.onJoin(sData.substr(3));
- break;
- }
- case "P":
- {
- this.aks.Game.onPositionStart(sData.substr(2));
- break;
- }
- case "R":
- {
- this.aks.Game.onReady(sData.substr(2));
- break;
- }
- case "S":
- {
- this.aks.Game.onStartToPlay();
- break;
- }
- case "E":
- {
- this.aks.Game.onEnd(sData.substr(2));
- break;
- }
- case "M":
- {
- this.aks.Game.onMovement(sData.substr(3));
- break;
- }
- case "c":
- {
- this.aks.Game.onChallenge(sData.substr(2));
- break;
- }
- case "t":
- {
- this.aks.Game.onTeam(sData.substr(2));
- break;
- }
- case "V":
- {
- this.aks.Game.onLeave(true, sData.substr(2));
- break;
- }
- case "f":
- {
- this.aks.Game.onFlag(sData.substr(2));
- break;
- }
- case "I":
- {
- switch (sData.charAt(2))
- {
- case "C":
- {
- this.aks.Game.onPlayersCoordinates(sData.substr(4));
- break;
- }
- case "E":
- {
- this.aks.Game.onEffect(sData.substr(3));
- break;
- }
- case "e":
- {
- this.aks.Game.onClearAllEffect(sData.substr(3));
- break;
- }
- case "P":
- {
- this.aks.Game.onPVP(sData.substr(3), false);
- break;
- }
- } // End of switch
- break;
- }
- case "D":
- {
- switch (sData.charAt(2))
- {
- case "M":
- {
- this.aks.Game.onMapData(sData.substr(4));
- break;
- }
- case "K":
- {
- this.aks.Game.onMapLoaded();
- break;
- }
- case "C":
- {
- this.aks.Game.onCellData(sData.substr(3));
- break;
- }
- case "Z":
- {
- this.aks.Game.onZoneData(sData.substring(3));
- break;
- }
- case "O":
- {
- this.aks.Game.onCellObject(sData.substring(3));
- break;
- }
- case "F":
- {
- this.aks.Game.onFrameObject2(sData.substring(4));
- break;
- }
- case "E":
- {
- this.aks.Game.onFrameObjectExternal(sData.substring(4));
- break;
- }
- } // End of switch
- break;
- }
- case "d":
- {
- switch (sData.charAt(3))
- {
- case "K":
- {
- this.aks.Game.onFightChallengeUpdate(sData.substr(4), true);
- break;
- }
- case "O":
- {
- this.aks.Game.onFightChallengeUpdate(sData.substr(4), false);
- break;
- }
- default:
- {
- this.aks.Game.onFightChallenge(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "A":
- {
- switch (sData.charAt(2))
- {
- case "S":
- {
- this.aks.GameActions.onActionsStart(sData.substr(3));
- break;
- }
- case "F":
- {
- this.aks.GameActions.onActionsFinish(sData.substr(3));
- break;
- }
- default:
- {
- this.aks.GameActions.onActions(sData.substr(2));
- }
- } // End of switch
- break;
- }
- case "T":
- {
- switch (sData.charAt(2))
- {
- case "S":
- {
- this.aks.Game.onTurnStart(sData.substr(3));
- break;
- }
- case "F":
- {
- this.aks.Game.onTurnFinish(sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Game.onTurnlist(sData.substr(4));
- break;
- }
- case "M":
- {
- this.aks.Game.onTurnMiddle(sData.substr(4));
- break;
- }
- case "R":
- {
- this.aks.Game.onTurnReady(sData.substr(3));
- break;
- }
- } // End of switch
- break;
- }
- case "X":
- {
- this.aks.Game.onExtraClip(sData.substr(2));
- break;
- }
- case "o":
- {
- this.aks.Game.onFightOption(sData.substr(2));
- break;
- }
- case "O":
- {
- this.aks.Game.onGameOver();
- break;
- }
- } // End of switch
- break;
- }
- case "c":
- {
- switch (sAction)
- {
- case "M":
- {
- this.aks.Chat.onMessage(!bError, sData.substr(3));
- break;
- }
- case "s":
- {
- this.aks.Chat.onServerMessage(sData.substr(2));
- break;
- }
- case "S":
- {
- this.aks.Chat.onSmiley(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Chat.onSubscribeChannel(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "D":
- {
- switch (sAction)
- {
- case "A":
- {
- this.aks.Dialog.onCustomAction(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Dialog.onCreate(!bError, sData.substr(3));
- break;
- }
- case "Q":
- {
- this.aks.Dialog.onQuestion(sData.substr(2));
- break;
- }
- case "V":
- {
- this.aks.Dialog.onLeave();
- break;
- }
- case "P":
- {
- this.aks.Dialog.onPause();
- break;
- }
- } // End of switch
- break;
- }
- case "I":
- {
- switch (sAction)
- {
- case "M":
- {
- this.aks.Infos.onInfoMaps(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Infos.onInfoCompass(sData.substr(2));
- break;
- }
- case "H":
- {
- this.aks.Infos.onInfoCoordinatespHighlight(sData.substr(2));
- break;
- }
- case "m":
- {
- this.aks.Infos.onMessage(sData.substr(2));
- break;
- }
- case "Q":
- {
- this.aks.Infos.onQuantity(sData.substr(2));
- break;
- }
- case "O":
- {
- this.aks.Infos.onObject(sData.substr(2));
- break;
- }
- case "L":
- {
- switch (sData.charAt(2))
- {
- case "S":
- {
- this.aks.Infos.onLifeRestoreTimerStart(sData.substr(3));
- break;
- }
- case "F":
- {
- this.aks.Infos.onLifeRestoreTimerFinish(sData.substr(3));
- break;
- }
- } // End of switch
- break;
- }
- } // End of switch
- break;
- }
- case "S":
- {
- switch (sAction)
- {
- case "L":
- {
- switch (sData.charAt(2))
- {
- case "o":
- {
- this.aks.Spells.onChangeOption(sData.substr(3));
- break;
- }
- default:
- {
- this.aks.Spells.onList(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "U":
- {
- this.aks.Spells.onUpgradeSpell(!bError, sData.substr(3));
- break;
- }
- case "B":
- {
- this.aks.Spells.onSpellBoost(sData.substr(2));
- break;
- }
- case "F":
- {
- this.aks.Spells.onSpellForget(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "O":
- {
- switch (sAction)
- {
- case "a":
- {
- this.aks.Items.onAccessories(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Items.onDrop(!bError, sData.substr(3));
- break;
- }
- case "A":
- {
- this.aks.Items.onAdd(!bError, sData.substr(3));
- break;
- }
- case "C":
- {
- this.aks.Items.onChange(sData.substr(3));
- break;
- }
- case "R":
- {
- this.aks.Items.onRemove(sData.substr(2));
- break;
- }
- case "Q":
- {
- this.aks.Items.onQuantity(sData.substr(2));
- break;
- }
- case "M":
- {
- this.aks.Items.onMovement(sData.substr(2));
- break;
- }
- case "T":
- {
- this.aks.Items.onTool(sData.substr(2));
- break;
- }
- case "w":
- {
- this.aks.Items.onWeight(sData.substr(2));
- break;
- }
- case "S":
- {
- this.aks.Items.onItemSet(sData.substr(2));
- break;
- }
- case "K":
- {
- this.aks.Items.onItemUseCondition(sData.substr(2));
- break;
- }
- case "F":
- {
- this.aks.Items.onItemFound(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "F":
- {
- switch (sAction)
- {
- case "A":
- {
- this.aks.Friends.onAddFriend(!bError, sData.substr(3));
- break;
- }
- case "D":
- {
- this.aks.Friends.onRemoveFriend(!bError, sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Friends.onFriendsList(sData.substr(3));
- break;
- }
- case "S":
- {
- this.aks.Friends.onSpouse(sData.substr(2));
- break;
- }
- case "O":
- {
- this.aks.Friends.onNotifyChange(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "i":
- {
- switch (sAction)
- {
- case "A":
- {
- this.aks.Enemies.onAddEnemy(!bError, sData.substr(3));
- break;
- }
- case "D":
- {
- this.aks.Enemies.onRemoveEnemy(!bError, sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Enemies.onEnemiesList(sData.substr(3));
- break;
- }
- } // End of switch
- break;
- }
- case "K":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.Key.onCreate(sData.substr(3));
- break;
- }
- case "K":
- {
- this.aks.Key.onKey(!bError);
- break;
- }
- case "V":
- {
- this.aks.Key.onLeave();
- break;
- }
- } // End of switch
- break;
- }
- case "J":
- {
- switch (sAction)
- {
- case "S":
- {
- this.aks.Job.onSkills(sData.substr(3));
- break;
- }
- case "X":
- {
- this.aks.Job.onXP(sData.substr(3));
- break;
- }
- case "N":
- {
- this.aks.Job.onLevel(sData.substr(2));
- break;
- }
- case "R":
- {
- this.aks.Job.onRemove(sData.substr(2));
- break;
- }
- case "O":
- {
- this.aks.Job.onOptions(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "E":
- {
- switch (sAction)
- {
- case "R":
- {
- this.aks.Exchange.onRequest(!bError, sData.substr(3));
- break;
- }
- case "K":
- {
- this.aks.Exchange.onReady(sData.substr(2));
- break;
- }
- case "V":
- {
- this.aks.Exchange.onLeave(!bError, sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Exchange.onCreate(!bError, sData.substr(3));
- break;
- }
- case "c":
- {
- this.aks.Exchange.onCraft(!bError, sData.substr(3));
- break;
- }
- case "M":
- {
- this.aks.Exchange.onLocalMovement(!bError, sData.substr(3));
- break;
- }
- case "m":
- {
- this.aks.Exchange.onDistantMovement(!bError, sData.substr(3));
- break;
- }
- case "r":
- {
- this.aks.Exchange.onCoopMovement(!bError, sData.substr(3));
- break;
- }
- case "p":
- {
- this.aks.Exchange.onPayMovement(!bError, sData.substr(2));
- break;
- }
- case "s":
- {
- this.aks.Exchange.onStorageMovement(!bError, sData.substr(3));
- break;
- }
- case "i":
- {
- this.aks.Exchange.onPlayerShopMovement(!bError, sData.substr(3));
- break;
- }
- case "W":
- {
- this.aks.Exchange.onCraftPublicMode(sData.substr(2));
- break;
- }
- case "e":
- {
- this.aks.Exchange.onMountStorage(sData.substr(2));
- break;
- }
- case "f":
- {
- this.aks.Exchange.onMountPark(sData.substr(2));
- break;
- }
- case "w":
- {
- this.aks.Exchange.onMountPods(sData.substr(2));
- break;
- }
- case "L":
- {
- this.aks.Exchange.onList(sData.substr(2));
- break;
- }
- case "S":
- {
- this.aks.Exchange.onSell(!bError);
- break;
- }
- case "B":
- {
- this.aks.Exchange.onBuy(!bError);
- break;
- }
- case "q":
- {
- this.aks.Exchange.onAskOfflineExchange(sData.substr(2));
- break;
- }
- case "H":
- {
- switch (sData.charAt(2))
- {
- case "S":
- {
- this.aks.Exchange.onSearch(sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Exchange.onBigStoreTypeItemsList(sData.substr(3));
- break;
- }
- case "M":
- {
- this.aks.Exchange.onBigStoreTypeItemsMovement(sData.substr(3));
- break;
- }
- case "l":
- {
- this.aks.Exchange.onBigStoreItemsList(sData.substr(3));
- break;
- }
- case "m":
- {
- this.aks.Exchange.onBigStoreItemsMovement(sData.substr(3));
- break;
- }
- case "P":
- {
- this.aks.Exchange.onItemMiddlePriceInBigStore(sData.substr(3));
- break;
- }
- } // End of switch
- break;
- }
- case "J":
- {
- this.aks.Exchange.onCrafterListChanged(sData.substr(2));
- break;
- }
- case "j":
- {
- this.aks.Exchange.onCrafterReference(sData.substr(2));
- break;
- }
- case "A":
- {
- this.aks.Exchange.onCraftLoop(sData.substr(2));
- break;
- }
- case "a":
- {
- this.aks.Exchange.onCraftLoopEnd(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "h":
- {
- switch (sAction)
- {
- case "L":
- {
- this.aks.Houses.onList(sData.substr(2));
- break;
- }
- case "P":
- {
- this.aks.Houses.onProperties(sData.substr(2));
- break;
- }
- case "X":
- {
- this.aks.Houses.onLockedProperty(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Houses.onCreate(sData.substr(3));
- break;
- }
- case "S":
- {
- this.aks.Houses.onSell(!bError, sData.substr(3));
- break;
- }
- case "B":
- {
- this.aks.Houses.onBuy(!bError, sData.substr(3));
- break;
- }
- case "V":
- {
- this.aks.Houses.onLeave();
- break;
- }
- case "G":
- {
- this.aks.Houses.onGuildInfos(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "s":
- {
- switch (sAction)
- {
- case "L":
- {
- this.aks.Storages.onList(sData.substr(2));
- break;
- }
- case "X":
- {
- this.aks.Storages.onLockedProperty(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "e":
- {
- switch (sAction)
- {
- case "U":
- {
- this.aks.Emotes.onUse(!bError, sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Emotes.onList(sData.substr(2));
- break;
- }
- case "A":
- {
- this.aks.Emotes.onAdd(sData.substr(2));
- break;
- }
- case "R":
- {
- this.aks.Emotes.onRemove(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Emotes.onDirection(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "d":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.Documents.onCreate(!bError, sData.substr(3));
- break;
- }
- case "V":
- {
- this.aks.Documents.onLeave();
- break;
- }
- } // End of switch
- break;
- }
- case "g":
- {
- switch (sAction)
- {
- case "n":
- {
- this.aks.Guild.onNew();
- break;
- }
- case "C":
- {
- this.aks.Guild.onCreate(!bError, sData.substr(3));
- break;
- }
- case "S":
- {
- this.aks.Guild.onStats(sData.substr(2));
- break;
- }
- case "I":
- {
- switch (sData.charAt(2))
- {
- case "G":
- {
- this.aks.Guild.onInfosGeneral(sData.substr(3));
- break;
- }
- case "M":
- {
- this.aks.Guild.onInfosMembers(sData.substr(3));
- break;
- }
- case "B":
- {
- this.aks.Guild.onInfosBoosts(sData.substr(3));
- break;
- }
- case "F":
- {
- this.aks.Guild.onInfosMountPark(sData.substr(3));
- break;
- }
- case "T":
- {
- switch (sData.charAt(3))
- {
- case "M":
- {
- this.aks.Guild.onInfosTaxCollectorsMovement(sData.substr(4));
- break;
- }
- case "P":
- {
- this.aks.Guild.onInfosTaxCollectorsPlayers(sData.substr(4));
- break;
- }
- case "p":
- {
- this.aks.Guild.onInfosTaxCollectorsAttackers(sData.substr(4));
- break;
- }
- } // End of switch
- break;
- }
- case "H":
- {
- this.aks.Guild.onInfosHouses(sData.substr(3));
- break;
- }
- } // End of switch
- break;
- }
- case "J":
- {
- switch (sData.charAt(2))
- {
- case "E":
- {
- this.aks.Guild.onJoinError(sData.substr(3));
- break;
- }
- case "R":
- {
- this.aks.Guild.onRequestLocal(sData.substr(3));
- break;
- }
- case "r":
- {
- this.aks.Guild.onRequestDistant(sData.substr(3));
- break;
- }
- case "K":
- {
- this.aks.Guild.onJoinOk(sData.substr(3));
- break;
- }
- case "C":
- {
- this.aks.Guild.onJoinDistantOk();
- break;
- }
- } // End of switch
- break;
- }
- case "V":
- {
- this.aks.Guild.onLeave();
- break;
- }
- case "K":
- {
- this.aks.Guild.onBann(!bError, sData.substr(3));
- break;
- }
- case "H":
- {
- this.aks.Guild.onHireTaxCollector(!bError, sData.substr(3));
- break;
- }
- case "A":
- {
- this.aks.Guild.onTaxCollectorAttacked(sData.substr(2));
- break;
- }
- case "T":
- {
- this.aks.Guild.onTaxCollectorInfo(sData.substr(2));
- break;
- }
- case "U":
- {
- this.aks.Guild.onUserInterfaceOpen(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "W":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.Waypoints.onCreate(sData.substr(2));
- break;
- }
- case "V":
- {
- this.aks.Waypoints.onLeave();
- break;
- }
- case "U":
- {
- this.aks.Waypoints.onUseError();
- break;
- }
- case "c":
- {
- this.aks.Subway.onCreate(sData.substr(2));
- break;
- }
- case "v":
- {
- this.aks.Subway.onLeave();
- break;
- }
- case "u":
- {
- this.aks.Subway.onUseError();
- break;
- }
- case "p":
- {
- this.aks.Subway.onPrismCreate(sData.substr(2));
- break;
- }
- case "w":
- {
- this.aks.Subway.onPrismLeave();
- break;
- }
- } // End of switch
- break;
- }
- case "a":
- {
- switch (sAction)
- {
- case "l":
- {
- this.aks.Subareas.onList(sData.substr(3));
- break;
- }
- case "m":
- {
- this.aks.Subareas.onAlignmentModification(sData.substr(2));
- break;
- }
- case "M":
- {
- this.aks.Conquest.onAreaAlignmentChanged(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "C":
- {
- switch (sAction)
- {
- case "I":
- {
- switch (sData.charAt(2))
- {
- case "J":
- {
- this.aks.Conquest.onPrismInfosJoined(sData.substr(3));
- break;
- }
- case "V":
- {
- this.aks.Conquest.onPrismInfosClosing(sData.substr(3));
- }
- } // End of switch
- break;
- }
- case "B":
- {
- this.aks.Conquest.onConquestBonus(sData.substr(2));
- break;
- }
- case "A":
- {
- this.aks.Conquest.onPrismAttacked(sData.substr(2));
- break;
- }
- case "S":
- {
- this.aks.Conquest.onPrismSurvived(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Conquest.onPrismDead(sData.substr(2));
- break;
- }
- case "P":
- {
- this.aks.Conquest.onPrismFightAddPlayer(sData.substr(2));
- break;
- }
- case "p":
- {
- this.aks.Conquest.onPrismFightAddEnemy(sData.substr(2));
- break;
- }
- case "W":
- {
- this.aks.Conquest.onWorldData(sData.substr(2));
- break;
- }
- case "b":
- {
- this.aks.Conquest.onConquestBalance(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "Z":
- {
- switch (sAction)
- {
- case "S":
- {
- this.aks.Specialization.onSet(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Specialization.onChange(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "f":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.Fights.onCount(sData.substr(2));
- break;
- }
- case "L":
- {
- this.aks.Fights.onList(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Fights.onDetails(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "T":
- {
- switch (sAction)
- {
- case "C":
- {
- this.aks.Tutorial.onCreate(sData.substr(2));
- break;
- }
- case "T":
- {
- this.aks.Tutorial.onShowTip(sData.substr(2));
- break;
- }
- case "B":
- {
- this.aks.Tutorial.onGameBegin();
- break;
- }
- } // End of switch
- break;
- }
- case "Q":
- {
- switch (sAction)
- {
- case "L":
- {
- this.aks.Quests.onList(sData.substr(3));
- break;
- }
- case "S":
- {
- this.aks.Quests.onStep(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "P":
- {
- switch (sAction)
- {
- case "I":
- {
- this.aks.Party.onInvite(!bError, sData.substr(3));
- break;
- }
- case "L":
- {
- this.aks.Party.onLeader(sData.substr(2));
- break;
- }
- case "R":
- {
- this.aks.Party.onRefuse(sData.substr(2));
- break;
- }
- case "A":
- {
- this.aks.Party.onAccept(sData.substr(2));
- break;
- }
- case "C":
- {
- this.aks.Party.onCreate(!bError, sData.substr(3));
- break;
- }
- case "V":
- {
- this.aks.Party.onLeave(sData.substr(2));
- break;
- }
- case "F":
- {
- this.aks.Party.onFollow(!bError, sData.substr(3));
- break;
- }
- case "M":
- {
- this.aks.Party.onMovement(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- case "R":
- {
- switch (sAction)
- {
- case "e":
- {
- this.aks.Mount.onEquip(sData.substr(2));
- break;
- }
- case "x":
- {
- this.aks.Mount.onXP(sData.substr(2));
- break;
- }
- case "n":
- {
- this.aks.Mount.onName(sData.substr(2));
- break;
- }
- case "d":
- {
- this.aks.Mount.onData(sData.substr(2));
- break;
- }
- case "p":
- {
- this.aks.Mount.onMountPark(sData.substr(2));
- break;
- }
- case "D":
- {
- this.aks.Mount.onMountParkBuy(sData.substr(2));
- break;
- }
- case "v":
- {
- this.aks.Mount.onLeave(sData.substr(2));
- break;
- }
- case "r":
- {
- this.aks.Mount.onRidingState(sData.substr(2));
- break;
- }
- } // End of switch
- break;
- }
- } // End of switch
- };
- ASSetPropFlags(_loc1, null, 1);
- } // end if
- #endinitclip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement