Advertisement
Guest User

dataprocss

a guest
Oct 16th, 2017
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #initclip 113
  2. if (!dofus.aks.DataProcessor)
  3. {
  4.     if (!dofus)
  5.     {
  6.         _global.dofus = new Object();
  7.     } // end if
  8.     if (!dofus.aks)
  9.     {
  10.         _global.dofus.aks = new Object();
  11.     } // end if
  12.     var _loc1 = (_global.dofus.aks.DataProcessor = function (oAKS, oAPI)
  13.     {
  14.         super.initialize(oAKS, oAPI);
  15.     }).prototype;
  16.     _loc1.process = function (sData)
  17.     {
  18.         var _loc3 = sData.charAt(0);
  19.         var _loc4 = sData.charAt(1);
  20.         var _loc5 = sData.charAt(2) == "E";
  21.         this.postProcess(_loc3, _loc4, _loc5, sData);
  22.     };
  23.     _loc1.postProcess = function (sType, sAction, bError, sData)
  24.     {
  25.         switch (sType)
  26.         {
  27.             case "w":
  28.             {
  29.                 bError = sData.charAt(3) == "E";
  30.                 switch (sAction)
  31.                 {
  32.                     case "D":
  33.                     {
  34.                         switch (sData.charAt(2))
  35.                         {
  36.                             case "C":
  37.                             {
  38.                                 this.aks.Dungeon.onDungeonCreation(sData.substr(3));
  39.                                 break;
  40.                             }
  41.                             case "I":
  42.                             {
  43.                                 this.aks.Dungeon.onDungeonInvite(sData.substr(3));
  44.                                 break;
  45.                             }
  46.                             case "i":
  47.                             {
  48.                                 this.aks.Dungeon.onDungeonInvitation(sData.substr(3));
  49.                                 break;
  50.                             }
  51.                             case "S":
  52.                             {
  53.                                 this.aks.Dungeon.onDungeonStart(sData.substr(3));
  54.                                 break;
  55.                             }
  56.                             case "J":
  57.                             {
  58.                                 this.aks.Dungeon.onJoin(!bError, sData.substr(4));
  59.                                 break;
  60.                             }
  61.                             case "V":
  62.                             {
  63.                                 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);
  64.                                 this.aks.Dungeon.onLeave();
  65.                                 break;
  66.                             }
  67.                             case "M":
  68.                             {
  69.                                 this.aks.Dungeon.onMemberMovement(sData.substr(3));
  70.                                 break;
  71.                             }
  72.                             case "s":
  73.                             {
  74.                                 this.aks.Dungeon.onPlayerStatusChanged(sData.substr(3));
  75.                                 break;
  76.                             }
  77.                             case "W":
  78.                             {
  79.                                 this.aks.Dungeon.onWin(sData.substr(3));
  80.                                 break;
  81.                             }
  82.                             case "E":
  83.                             {
  84.                                 this.aks.Dungeon.onError(sData.substr(3));
  85.                             }
  86.                             default:
  87.                             {
  88.                                 break;
  89.                             }
  90.                         } // End of switch
  91.                         break;
  92.                     }
  93.                     case "E":
  94.                     {
  95.                         switch (sData.charAt(2))
  96.                         {
  97.                             case "S":
  98.                             {
  99.                                 var _loc6 = Number(sData.substr(3));
  100.                                 dofus.sounds.AudioManager.getInstance().playEffect(_loc6);
  101.                                 break;
  102.                             }
  103.                             default:
  104.                             {
  105.                                 break;
  106.                             }
  107.                         } // End of switch
  108.                         break;
  109.                     }
  110.                     case "C":
  111.                     {
  112.                         switch (sData.charAt(2))
  113.                         {
  114.                             case "G":
  115.                             {
  116.                                 var _loc7 = this.api.ui.getUIComponent("Craft");
  117.                                 if (_loc7 != undefined)
  118.                                 {
  119.                                     _loc7.onCookbookData(sData.substr(4));
  120.                                 } // end if
  121.                                 break;
  122.                             }
  123.                             default:
  124.                             {
  125.                                 break;
  126.                             }
  127.                         } // End of switch
  128.                         break;
  129.                     }
  130.                     case "H":
  131.                     {
  132.                         var _loc8 = sData.split("|");
  133.                         var _loc9 = Number(_loc8[0]);
  134.                         var _loc10 = Number(_loc8[1]);
  135.                         this.api.ui.loadUIComponent("ItemViewer", "ItemViewer", {item: new dofus.datacenter.Item(-1, _loc9, _loc10, 0, "", 0), harvest: true, quantity: _loc10});
  136.                         break;
  137.                     }
  138.                     case "F":
  139.                     {
  140.                         switch (sData.charAt(2))
  141.                         {
  142.                             case "C":
  143.                             {
  144.                                 var _loc11 = sData.substr(4).split("|");
  145.                                 this.api.datacenter.Player.color1 = this.api.datacenter.Player.data.data.color1 = _loc11[0];
  146.                                 this.api.datacenter.Player.color2 = this.api.datacenter.Player.data.data.color2 = _loc11[1];
  147.                                 this.api.datacenter.Player.color3 = this.api.datacenter.Player.data.data.color3 = _loc11[2];
  148.                                 this.api.datacenter.Player.color4 = this.api.datacenter.Player.data.data.color4 = _loc11[3];
  149.                                 this.api.ui.getUIComponent("Banner").updateIllustration();
  150.                                 break;
  151.                             }
  152.                         } // End of switch
  153.                     }
  154.                     case "r":
  155.                     {
  156.                         var _loc12 = sData.substr(2).split("|");
  157.                         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);
  158.                         var _loc13 = Number(_loc12[0]);
  159.                         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);
  160.                         this.api.ui.loadUIComponent("MapCinematics", "MapCinematics", {artworkId: _loc13});
  161.                         break;
  162.                     }
  163.                     default:
  164.                     {
  165.                         break;
  166.                     }
  167.                 } // End of switch
  168.                 break;
  169.             }
  170.             case "H":
  171.             {
  172.                 switch (sAction)
  173.                 {
  174.                     case "C":
  175.                     {
  176.                         this.aks.onHelloConnectionServer(sData.substr(2));
  177.                         break;
  178.                     }
  179.                     case "G":
  180.                     {
  181.                         this.aks.onHelloGameServer(sData.substr(2));
  182.                         break;
  183.                     }
  184.                     default:
  185.                     {
  186.                         this.aks.disconnect(false, true);
  187.                     }
  188.                 } // End of switch
  189.                 break;
  190.             }
  191.             case "p":
  192.             {
  193.                 this.aks.onPong();
  194.                 break;
  195.             }
  196.             case "q":
  197.             {
  198.                 this.aks.onQuickPong();
  199.                 break;
  200.             }
  201.             case "r":
  202.             {
  203.                 this.aks.send("rpong" + sData.substr(5), false);
  204.                 break;
  205.             }
  206.             case "M":
  207.             {
  208.                 this.aks.onServerMessage(sData.substr(1));
  209.                 break;
  210.             }
  211.             case "k":
  212.             {
  213.                 this.aks.onServerWillDisconnect();
  214.                 break;
  215.             }
  216.             case "B":
  217.             {
  218.                 switch (sAction)
  219.                 {
  220.                     case "N":
  221.                     {
  222.                         return;
  223.                         break;
  224.                     }
  225.                     case "A":
  226.                     {
  227.                         switch (sData.charAt(2))
  228.                         {
  229.                             case "T":
  230.                             {
  231.                                 this.aks.Basics.onAuthorizedCommand(true, sData.substr(3));
  232.                                 break;
  233.                             }
  234.                             case "L":
  235.                             {
  236.                                 this.aks.Basics.onAuthorizedLine(sData.substr(3));
  237.                                 break;
  238.                             }
  239.                             case "P":
  240.                             {
  241.                                 this.aks.Basics.onAuthorizedCommandPrompt(sData.substr(3));
  242.                                 break;
  243.                             }
  244.                             case "C":
  245.                             {
  246.                                 this.aks.Basics.onAuthorizedCommandClear();
  247.                                 break;
  248.                             }
  249.                             case "E":
  250.                             {
  251.                                 this.aks.Basics.onAuthorizedCommand(false);
  252.                                 break;
  253.                             }
  254.                             case "I":
  255.                             {
  256.                                 if (sData.charAt(3) !== "O")
  257.                                 {
  258.                                     break;
  259.                                 } // end if
  260.                                 this.aks.Basics.onAuthorizedInterfaceOpen(sData.substr(4));
  261.                                 break;
  262.                                 this.aks.Basics.onAuthorizedInterfaceClose(sData.substr(4));
  263.                                 break;
  264.                             }
  265.                         } // End of switch
  266.                         break;
  267.                     }
  268.                     case "T":
  269.                     {
  270.                         this.aks.Basics.onReferenceTime(sData.substr(2));
  271.                         break;
  272.                     }
  273.                     case "D":
  274.                     {
  275.                         this.aks.Basics.onDate(sData.substr(2));
  276.                         break;
  277.                     }
  278.                     case "W":
  279.                     {
  280.                         this.aks.Basics.onWhoIs(!bError, sData.substr(3));
  281.                         break;
  282.                     }
  283.                     case "P":
  284.                     {
  285.                         this.aks.Basics.onSubscriberRestriction(sData.substr(2));
  286.                         break;
  287.                     }
  288.                     case "C":
  289.                     {
  290.                         this.aks.Basics.onFileCheck(sData.substr(2));
  291.                         break;
  292.                     }
  293.                     case "p":
  294.                     {
  295.                         this.aks.Basics.onAveragePing(sData.substr(2));
  296.                         break;
  297.                     }
  298.                 } // End of switch
  299.                 break;
  300.             }
  301.             case "A":
  302.             {
  303.                 switch (sAction)
  304.                 {
  305.                     case "c":
  306.                     {
  307.                         this.aks.Account.onCommunity(sData.substr(2));
  308.                         break;
  309.                     }
  310.                     case "d":
  311.                     {
  312.                         this.aks.Account.onDofusPseudo(sData.substr(2));
  313.                         break;
  314.                     }
  315.                     case "l":
  316.                     {
  317.                         this.aks.Account.onLogin(!bError, sData.substr(3));
  318.                         break;
  319.                     }
  320.                     case "L":
  321.                     {
  322.                         this.aks.Account.onCharactersList(!bError, sData.substr(3), false, true);
  323.                         break;
  324.                     }
  325.                     case "C":
  326.                     {
  327.                         this.aks.Account.onCharactersList(!bError, sData.substr(2), false, false);
  328.                         break;
  329.                     }
  330.                     case "x":
  331.                     {
  332.                         this.aks.Account.onServersList(!bError, sData.substr(3));
  333.                         break;
  334.                     }
  335.                     case "A":
  336.                     {
  337.                         this.aks.Account.onCharacterAdd(!bError, sData.substr(3));
  338.                         break;
  339.                     }
  340.                     case "T":
  341.                     {
  342.                         this.aks.Account.onTicketResponse(!bError, sData.substr(3));
  343.                         break;
  344.                     }
  345.                     case "X":
  346.                     {
  347.                         this.aks.Account.onSelectServer(!bError, true, sData.substr(3));
  348.                         break;
  349.                     }
  350.                     case "Y":
  351.                     {
  352.                         this.aks.Account.onSelectServer(!bError, false, sData.substr(3));
  353.                         break;
  354.                     }
  355.                     case "S":
  356.                     {
  357.                         this.aks.Account.onCharacterSelected(!bError, sData.substr(4));
  358.                         break;
  359.                     }
  360.                     case "s":
  361.                     {
  362.                         this.aks.Account.onStats(sData.substr(2));
  363.                         break;
  364.                     }
  365.                     case "N":
  366.                     {
  367.                         this.aks.Account.onNewLevel(sData.substr(2));
  368.                         break;
  369.                     }
  370.                     case "R":
  371.                     {
  372.                         this.aks.Account.onRestrictions(sData.substr(2));
  373.                         break;
  374.                     }
  375.                     case "H":
  376.                     {
  377.                         this.aks.Account.onHosts(sData.substr(2));
  378.                         break;
  379.                     }
  380.                     case "r":
  381.                     {
  382.                         this.aks.Account.onRescue(!bError);
  383.                         break;
  384.                     }
  385.                     case "g":
  386.                     {
  387.                         this.aks.Account.onGiftsList(sData.substr(2));
  388.                         break;
  389.                     }
  390.                     case "G":
  391.                     {
  392.                         this.aks.Account.onGiftStored(!bError);
  393.                         break;
  394.                     }
  395.                     case "q":
  396.                     {
  397.                         this.aks.Account.onQueue(sData.substr(2));
  398.                         break;
  399.                     }
  400.                     case "f":
  401.                     {
  402.                         this.aks.Account.onNewQueue(sData.substr(2));
  403.                         break;
  404.                     }
  405.                     case "V":
  406.                     {
  407.                         this.aks.Account.onRegionalVersion(sData.substr(2));
  408.                         break;
  409.                     }
  410.                     case "P":
  411.                     {
  412.                         this.aks.Account.onCharacterNameGenerated(!bError, sData.substr(3));
  413.                         break;
  414.                     }
  415.                     case "K":
  416.                     {
  417.                         this.aks.Account.onKey(sData.substr(2));
  418.                         break;
  419.                     }
  420.                     case "Q":
  421.                     {
  422.                         this.aks.Account.onSecretQuestion(sData.substr(2));
  423.                         break;
  424.                     }
  425.                     case "D":
  426.                     {
  427.                         this.aks.Account.onCharacterDelete(!bError, sData.substr(3));
  428.                         break;
  429.                     }
  430.                     case "M":
  431.                     {
  432.                         switch (sData.charAt(2))
  433.                         {
  434.                             case "?":
  435.                             {
  436.                                 this.aks.Account.onCharactersMigrationAskConfirm(sData.substr(3));
  437.                                 break;
  438.                             }
  439.                             default:
  440.                             {
  441.                                 this.aks.Account.onCharactersList(!bError, sData.substr(3), true);
  442.                                 break;
  443.                             }
  444.                         } // End of switch
  445.                         break;
  446.                     }
  447.                     case "F":
  448.                     {
  449.                         this.aks.Account.onFriendServerList(sData.substr(2));
  450.                         break;
  451.                     }
  452.                     case "m":
  453.                     {
  454.                         if (!_global.CONFIG.isStreaming)
  455.                         {
  456.                             this.aks.Account.onMiniClipInfo();
  457.                         }
  458.                         else
  459.                         {
  460.                             var _loc14 = _global.parseInt(sData.charAt(2), 10);
  461.                             com.ankamagames.tools.Logger.out("GoToCongratulation " + _loc14, "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 404);
  462.                             if (_global.isNaN(_loc14))
  463.                             {
  464.                                 _loc14 = 3;
  465.                             } // end if
  466.                             com.ankamagames.tools.Logger.out("GoToCongratulation " + _loc14, "dofus.aks.DataProcessor::postProcess", "E:\\My_Work\\WLG1\\wakfugardiens\\client\\DofusClient\\classes/dofus/aks/DataProcessor.as", 408);
  467.                             getURL("FSCommand:" add "GoToCongratulation", _loc14);
  468.                         } // end else if
  469.                         break;
  470.                     }
  471.                 } // End of switch
  472.                 break;
  473.             }
  474.             case "G":
  475.             {
  476.                 switch (sAction)
  477.                 {
  478.                     case "C":
  479.                     {
  480.                         this.aks.Game.onCreate(!bError, sData.substr(4));
  481.                         break;
  482.                     }
  483.                     case "J":
  484.                     {
  485.                         this.aks.Game.onJoin(sData.substr(3));
  486.                         break;
  487.                     }
  488.                     case "P":
  489.                     {
  490.                         this.aks.Game.onPositionStart(sData.substr(2));
  491.                         break;
  492.                     }
  493.                     case "R":
  494.                     {
  495.                         this.aks.Game.onReady(sData.substr(2));
  496.                         break;
  497.                     }
  498.                     case "S":
  499.                     {
  500.                         this.aks.Game.onStartToPlay();
  501.                         break;
  502.                     }
  503.                     case "E":
  504.                     {
  505.                         this.aks.Game.onEnd(sData.substr(2));
  506.                         break;
  507.                     }
  508.                     case "M":
  509.                     {
  510.                         this.aks.Game.onMovement(sData.substr(3));
  511.                         break;
  512.                     }
  513.                     case "c":
  514.                     {
  515.                         this.aks.Game.onChallenge(sData.substr(2));
  516.                         break;
  517.                     }
  518.                     case "t":
  519.                     {
  520.                         this.aks.Game.onTeam(sData.substr(2));
  521.                         break;
  522.                     }
  523.                     case "V":
  524.                     {
  525.                         this.aks.Game.onLeave(true, sData.substr(2));
  526.                         break;
  527.                     }
  528.                     case "f":
  529.                     {
  530.                         this.aks.Game.onFlag(sData.substr(2));
  531.                         break;
  532.                     }
  533.                     case "I":
  534.                     {
  535.                         switch (sData.charAt(2))
  536.                         {
  537.                             case "C":
  538.                             {
  539.                                 this.aks.Game.onPlayersCoordinates(sData.substr(4));
  540.                                 break;
  541.                             }
  542.                             case "E":
  543.                             {
  544.                                 this.aks.Game.onEffect(sData.substr(3));
  545.                                 break;
  546.                             }
  547.                             case "e":
  548.                             {
  549.                                 this.aks.Game.onClearAllEffect(sData.substr(3));
  550.                                 break;
  551.                             }
  552.                             case "P":
  553.                             {
  554.                                 this.aks.Game.onPVP(sData.substr(3), false);
  555.                                 break;
  556.                             }
  557.                         } // End of switch
  558.                         break;
  559.                     }
  560.                     case "D":
  561.                     {
  562.                         switch (sData.charAt(2))
  563.                         {
  564.                             case "M":
  565.                             {
  566.                                 this.aks.Game.onMapData(sData.substr(4));
  567.                                 break;
  568.                             }
  569.                             case "K":
  570.                             {
  571.                                 this.aks.Game.onMapLoaded();
  572.                                 break;
  573.                             }
  574.                             case "C":
  575.                             {
  576.                                 this.aks.Game.onCellData(sData.substr(3));
  577.                                 break;
  578.                             }
  579.                             case "Z":
  580.                             {
  581.                                 this.aks.Game.onZoneData(sData.substring(3));
  582.                                 break;
  583.                             }
  584.                             case "O":
  585.                             {
  586.                                 this.aks.Game.onCellObject(sData.substring(3));
  587.                                 break;
  588.                             }
  589.                             case "F":
  590.                             {
  591.                                 this.aks.Game.onFrameObject2(sData.substring(4));
  592.                                 break;
  593.                             }
  594.                             case "E":
  595.                             {
  596.                                 this.aks.Game.onFrameObjectExternal(sData.substring(4));
  597.                                 break;
  598.                             }
  599.                         } // End of switch
  600.                         break;
  601.                     }
  602.                     case "d":
  603.                     {
  604.                         switch (sData.charAt(3))
  605.                         {
  606.                             case "K":
  607.                             {
  608.                                 this.aks.Game.onFightChallengeUpdate(sData.substr(4), true);
  609.                                 break;
  610.                             }
  611.                             case "O":
  612.                             {
  613.                                 this.aks.Game.onFightChallengeUpdate(sData.substr(4), false);
  614.                                 break;
  615.                             }
  616.                             default:
  617.                             {
  618.                                 this.aks.Game.onFightChallenge(sData.substr(2));
  619.                                 break;
  620.                             }
  621.                         } // End of switch
  622.                         break;
  623.                     }
  624.                     case "A":
  625.                     {
  626.                         switch (sData.charAt(2))
  627.                         {
  628.                             case "S":
  629.                             {
  630.                                 this.aks.GameActions.onActionsStart(sData.substr(3));
  631.                                 break;
  632.                             }
  633.                             case "F":
  634.                             {
  635.                                 this.aks.GameActions.onActionsFinish(sData.substr(3));
  636.                                 break;
  637.                             }
  638.                             default:
  639.                             {
  640.                                 this.aks.GameActions.onActions(sData.substr(2));
  641.                             }
  642.                         } // End of switch
  643.                         break;
  644.                     }
  645.                     case "T":
  646.                     {
  647.                         switch (sData.charAt(2))
  648.                         {
  649.                             case "S":
  650.                             {
  651.                                 this.aks.Game.onTurnStart(sData.substr(3));
  652.                                 break;
  653.                             }
  654.                             case "F":
  655.                             {
  656.                                 this.aks.Game.onTurnFinish(sData.substr(3));
  657.                                 break;
  658.                             }
  659.                             case "L":
  660.                             {
  661.                                 this.aks.Game.onTurnlist(sData.substr(4));
  662.                                 break;
  663.                             }
  664.                             case "M":
  665.                             {
  666.                                 this.aks.Game.onTurnMiddle(sData.substr(4));
  667.                                 break;
  668.                             }
  669.                             case "R":
  670.                             {
  671.                                 this.aks.Game.onTurnReady(sData.substr(3));
  672.                                 break;
  673.                             }
  674.                         } // End of switch
  675.                         break;
  676.                     }
  677.                     case "X":
  678.                     {
  679.                         this.aks.Game.onExtraClip(sData.substr(2));
  680.                         break;
  681.                     }
  682.                     case "o":
  683.                     {
  684.                         this.aks.Game.onFightOption(sData.substr(2));
  685.                         break;
  686.                     }
  687.                     case "O":
  688.                     {
  689.                         this.aks.Game.onGameOver();
  690.                         break;
  691.                     }
  692.                 } // End of switch
  693.                 break;
  694.             }
  695.             case "c":
  696.             {
  697.                 switch (sAction)
  698.                 {
  699.                     case "M":
  700.                     {
  701.                         this.aks.Chat.onMessage(!bError, sData.substr(3));
  702.                         break;
  703.                     }
  704.                     case "s":
  705.                     {
  706.                         this.aks.Chat.onServerMessage(sData.substr(2));
  707.                         break;
  708.                     }
  709.                     case "S":
  710.                     {
  711.                         this.aks.Chat.onSmiley(sData.substr(2));
  712.                         break;
  713.                     }
  714.                     case "C":
  715.                     {
  716.                         this.aks.Chat.onSubscribeChannel(sData.substr(2));
  717.                         break;
  718.                     }
  719.                 } // End of switch
  720.                 break;
  721.             }
  722.             case "D":
  723.             {
  724.                 switch (sAction)
  725.                 {
  726.                     case "A":
  727.                     {
  728.                         this.aks.Dialog.onCustomAction(sData.substr(2));
  729.                         break;
  730.                     }
  731.                     case "C":
  732.                     {
  733.                         this.aks.Dialog.onCreate(!bError, sData.substr(3));
  734.                         break;
  735.                     }
  736.                     case "Q":
  737.                     {
  738.                         this.aks.Dialog.onQuestion(sData.substr(2));
  739.                         break;
  740.                     }
  741.                     case "V":
  742.                     {
  743.                         this.aks.Dialog.onLeave();
  744.                         break;
  745.                     }
  746.                     case "P":
  747.                     {
  748.                         this.aks.Dialog.onPause();
  749.                         break;
  750.                     }
  751.                 } // End of switch
  752.                 break;
  753.             }
  754.             case "I":
  755.             {
  756.                 switch (sAction)
  757.                 {
  758.                     case "M":
  759.                     {
  760.                         this.aks.Infos.onInfoMaps(sData.substr(2));
  761.                         break;
  762.                     }
  763.                     case "C":
  764.                     {
  765.                         this.aks.Infos.onInfoCompass(sData.substr(2));
  766.                         break;
  767.                     }
  768.                     case "H":
  769.                     {
  770.                         this.aks.Infos.onInfoCoordinatespHighlight(sData.substr(2));
  771.                         break;
  772.                     }
  773.                     case "m":
  774.                     {
  775.                         this.aks.Infos.onMessage(sData.substr(2));
  776.                         break;
  777.                     }
  778.                     case "Q":
  779.                     {
  780.                         this.aks.Infos.onQuantity(sData.substr(2));
  781.                         break;
  782.                     }
  783.                     case "O":
  784.                     {
  785.                         this.aks.Infos.onObject(sData.substr(2));
  786.                         break;
  787.                     }
  788.                     case "L":
  789.                     {
  790.                         switch (sData.charAt(2))
  791.                         {
  792.                             case "S":
  793.                             {
  794.                                 this.aks.Infos.onLifeRestoreTimerStart(sData.substr(3));
  795.                                 break;
  796.                             }
  797.                             case "F":
  798.                             {
  799.                                 this.aks.Infos.onLifeRestoreTimerFinish(sData.substr(3));
  800.                                 break;
  801.                             }
  802.                         } // End of switch
  803.                         break;
  804.                     }
  805.                 } // End of switch
  806.                 break;
  807.             }
  808.             case "S":
  809.             {
  810.                 switch (sAction)
  811.                 {
  812.                     case "L":
  813.                     {
  814.                         switch (sData.charAt(2))
  815.                         {
  816.                             case "o":
  817.                             {
  818.                                 this.aks.Spells.onChangeOption(sData.substr(3));
  819.                                 break;
  820.                             }
  821.                             default:
  822.                             {
  823.                                 this.aks.Spells.onList(sData.substr(2));
  824.                                 break;
  825.                             }
  826.                         } // End of switch
  827.                         break;
  828.                     }
  829.                     case "U":
  830.                     {
  831.                         this.aks.Spells.onUpgradeSpell(!bError, sData.substr(3));
  832.                         break;
  833.                     }
  834.                     case "B":
  835.                     {
  836.                         this.aks.Spells.onSpellBoost(sData.substr(2));
  837.                         break;
  838.                     }
  839.                     case "F":
  840.                     {
  841.                         this.aks.Spells.onSpellForget(sData.substr(2));
  842.                         break;
  843.                     }
  844.                 } // End of switch
  845.                 break;
  846.             }
  847.             case "O":
  848.             {
  849.                 switch (sAction)
  850.                 {
  851.                     case "a":
  852.                     {
  853.                         this.aks.Items.onAccessories(sData.substr(2));
  854.                         break;
  855.                     }
  856.                     case "D":
  857.                     {
  858.                         this.aks.Items.onDrop(!bError, sData.substr(3));
  859.                         break;
  860.                     }
  861.                     case "A":
  862.                     {
  863.                         this.aks.Items.onAdd(!bError, sData.substr(3));
  864.                         break;
  865.                     }
  866.                     case "C":
  867.                     {
  868.                         this.aks.Items.onChange(sData.substr(3));
  869.                         break;
  870.                     }
  871.                     case "R":
  872.                     {
  873.                         this.aks.Items.onRemove(sData.substr(2));
  874.                         break;
  875.                     }
  876.                     case "Q":
  877.                     {
  878.                         this.aks.Items.onQuantity(sData.substr(2));
  879.                         break;
  880.                     }
  881.                     case "M":
  882.                     {
  883.                         this.aks.Items.onMovement(sData.substr(2));
  884.                         break;
  885.                     }
  886.                     case "T":
  887.                     {
  888.                         this.aks.Items.onTool(sData.substr(2));
  889.                         break;
  890.                     }
  891.                     case "w":
  892.                     {
  893.                         this.aks.Items.onWeight(sData.substr(2));
  894.                         break;
  895.                     }
  896.                     case "S":
  897.                     {
  898.                         this.aks.Items.onItemSet(sData.substr(2));
  899.                         break;
  900.                     }
  901.                     case "K":
  902.                     {
  903.                         this.aks.Items.onItemUseCondition(sData.substr(2));
  904.                         break;
  905.                     }
  906.                     case "F":
  907.                     {
  908.                         this.aks.Items.onItemFound(sData.substr(2));
  909.                         break;
  910.                     }
  911.                 } // End of switch
  912.                 break;
  913.             }
  914.             case "F":
  915.             {
  916.                 switch (sAction)
  917.                 {
  918.                     case "A":
  919.                     {
  920.                         this.aks.Friends.onAddFriend(!bError, sData.substr(3));
  921.                         break;
  922.                     }
  923.                     case "D":
  924.                     {
  925.                         this.aks.Friends.onRemoveFriend(!bError, sData.substr(3));
  926.                         break;
  927.                     }
  928.                     case "L":
  929.                     {
  930.                         this.aks.Friends.onFriendsList(sData.substr(3));
  931.                         break;
  932.                     }
  933.                     case "S":
  934.                     {
  935.                         this.aks.Friends.onSpouse(sData.substr(2));
  936.                         break;
  937.                     }
  938.                     case "O":
  939.                     {
  940.                         this.aks.Friends.onNotifyChange(sData.substr(2));
  941.                         break;
  942.                     }
  943.                 } // End of switch
  944.                 break;
  945.             }
  946.             case "i":
  947.             {
  948.                 switch (sAction)
  949.                 {
  950.                     case "A":
  951.                     {
  952.                         this.aks.Enemies.onAddEnemy(!bError, sData.substr(3));
  953.                         break;
  954.                     }
  955.                     case "D":
  956.                     {
  957.                         this.aks.Enemies.onRemoveEnemy(!bError, sData.substr(3));
  958.                         break;
  959.                     }
  960.                     case "L":
  961.                     {
  962.                         this.aks.Enemies.onEnemiesList(sData.substr(3));
  963.                         break;
  964.                     }
  965.                 } // End of switch
  966.                 break;
  967.             }
  968.             case "K":
  969.             {
  970.                 switch (sAction)
  971.                 {
  972.                     case "C":
  973.                     {
  974.                         this.aks.Key.onCreate(sData.substr(3));
  975.                         break;
  976.                     }
  977.                     case "K":
  978.                     {
  979.                         this.aks.Key.onKey(!bError);
  980.                         break;
  981.                     }
  982.                     case "V":
  983.                     {
  984.                         this.aks.Key.onLeave();
  985.                         break;
  986.                     }
  987.                 } // End of switch
  988.                 break;
  989.             }
  990.             case "J":
  991.             {
  992.                 switch (sAction)
  993.                 {
  994.                     case "S":
  995.                     {
  996.                         this.aks.Job.onSkills(sData.substr(3));
  997.                         break;
  998.                     }
  999.                     case "X":
  1000.                     {
  1001.                         this.aks.Job.onXP(sData.substr(3));
  1002.                         break;
  1003.                     }
  1004.                     case "N":
  1005.                     {
  1006.                         this.aks.Job.onLevel(sData.substr(2));
  1007.                         break;
  1008.                     }
  1009.                     case "R":
  1010.                     {
  1011.                         this.aks.Job.onRemove(sData.substr(2));
  1012.                         break;
  1013.                     }
  1014.                     case "O":
  1015.                     {
  1016.                         this.aks.Job.onOptions(sData.substr(2));
  1017.                         break;
  1018.                     }
  1019.                 } // End of switch
  1020.                 break;
  1021.             }
  1022.             case "E":
  1023.             {
  1024.                 switch (sAction)
  1025.                 {
  1026.                     case "R":
  1027.                     {
  1028.                         this.aks.Exchange.onRequest(!bError, sData.substr(3));
  1029.                         break;
  1030.                     }
  1031.                     case "K":
  1032.                     {
  1033.                         this.aks.Exchange.onReady(sData.substr(2));
  1034.                         break;
  1035.                     }
  1036.                     case "V":
  1037.                     {
  1038.                         this.aks.Exchange.onLeave(!bError, sData.substr(2));
  1039.                         break;
  1040.                     }
  1041.                     case "C":
  1042.                     {
  1043.                         this.aks.Exchange.onCreate(!bError, sData.substr(3));
  1044.                         break;
  1045.                     }
  1046.                     case "c":
  1047.                     {
  1048.                         this.aks.Exchange.onCraft(!bError, sData.substr(3));
  1049.                         break;
  1050.                     }
  1051.                     case "M":
  1052.                     {
  1053.                         this.aks.Exchange.onLocalMovement(!bError, sData.substr(3));
  1054.                         break;
  1055.                     }
  1056.                     case "m":
  1057.                     {
  1058.                         this.aks.Exchange.onDistantMovement(!bError, sData.substr(3));
  1059.                         break;
  1060.                     }
  1061.                     case "r":
  1062.                     {
  1063.                         this.aks.Exchange.onCoopMovement(!bError, sData.substr(3));
  1064.                         break;
  1065.                     }
  1066.                     case "p":
  1067.                     {
  1068.                         this.aks.Exchange.onPayMovement(!bError, sData.substr(2));
  1069.                         break;
  1070.                     }
  1071.                     case "s":
  1072.                     {
  1073.                         this.aks.Exchange.onStorageMovement(!bError, sData.substr(3));
  1074.                         break;
  1075.                     }
  1076.                     case "i":
  1077.                     {
  1078.                         this.aks.Exchange.onPlayerShopMovement(!bError, sData.substr(3));
  1079.                         break;
  1080.                     }
  1081.                     case "W":
  1082.                     {
  1083.                         this.aks.Exchange.onCraftPublicMode(sData.substr(2));
  1084.                         break;
  1085.                     }
  1086.                     case "e":
  1087.                     {
  1088.                         this.aks.Exchange.onMountStorage(sData.substr(2));
  1089.                         break;
  1090.                     }
  1091.                     case "f":
  1092.                     {
  1093.                         this.aks.Exchange.onMountPark(sData.substr(2));
  1094.                         break;
  1095.                     }
  1096.                     case "w":
  1097.                     {
  1098.                         this.aks.Exchange.onMountPods(sData.substr(2));
  1099.                         break;
  1100.                     }
  1101.                     case "L":
  1102.                     {
  1103.                         this.aks.Exchange.onList(sData.substr(2));
  1104.                         break;
  1105.                     }
  1106.                     case "S":
  1107.                     {
  1108.                         this.aks.Exchange.onSell(!bError);
  1109.                         break;
  1110.                     }
  1111.                     case "B":
  1112.                     {
  1113.                         this.aks.Exchange.onBuy(!bError);
  1114.                         break;
  1115.                     }
  1116.                     case "q":
  1117.                     {
  1118.                         this.aks.Exchange.onAskOfflineExchange(sData.substr(2));
  1119.                         break;
  1120.                     }
  1121.                     case "H":
  1122.                     {
  1123.                         switch (sData.charAt(2))
  1124.                         {
  1125.                             case "S":
  1126.                             {
  1127.                                 this.aks.Exchange.onSearch(sData.substr(3));
  1128.                                 break;
  1129.                             }
  1130.                             case "L":
  1131.                             {
  1132.                                 this.aks.Exchange.onBigStoreTypeItemsList(sData.substr(3));
  1133.                                 break;
  1134.                             }
  1135.                             case "M":
  1136.                             {
  1137.                                 this.aks.Exchange.onBigStoreTypeItemsMovement(sData.substr(3));
  1138.                                 break;
  1139.                             }
  1140.                             case "l":
  1141.                             {
  1142.                                 this.aks.Exchange.onBigStoreItemsList(sData.substr(3));
  1143.                                 break;
  1144.                             }
  1145.                             case "m":
  1146.                             {
  1147.                                 this.aks.Exchange.onBigStoreItemsMovement(sData.substr(3));
  1148.                                 break;
  1149.                             }
  1150.                             case "P":
  1151.                             {
  1152.                                 this.aks.Exchange.onItemMiddlePriceInBigStore(sData.substr(3));
  1153.                                 break;
  1154.                             }
  1155.                         } // End of switch
  1156.                         break;
  1157.                     }
  1158.                     case "J":
  1159.                     {
  1160.                         this.aks.Exchange.onCrafterListChanged(sData.substr(2));
  1161.                         break;
  1162.                     }
  1163.                     case "j":
  1164.                     {
  1165.                         this.aks.Exchange.onCrafterReference(sData.substr(2));
  1166.                         break;
  1167.                     }
  1168.                     case "A":
  1169.                     {
  1170.                         this.aks.Exchange.onCraftLoop(sData.substr(2));
  1171.                         break;
  1172.                     }
  1173.                     case "a":
  1174.                     {
  1175.                         this.aks.Exchange.onCraftLoopEnd(sData.substr(2));
  1176.                         break;
  1177.                     }
  1178.                 } // End of switch
  1179.                 break;
  1180.             }
  1181.             case "h":
  1182.             {
  1183.                 switch (sAction)
  1184.                 {
  1185.                     case "L":
  1186.                     {
  1187.                         this.aks.Houses.onList(sData.substr(2));
  1188.                         break;
  1189.                     }
  1190.                     case "P":
  1191.                     {
  1192.                         this.aks.Houses.onProperties(sData.substr(2));
  1193.                         break;
  1194.                     }
  1195.                     case "X":
  1196.                     {
  1197.                         this.aks.Houses.onLockedProperty(sData.substr(2));
  1198.                         break;
  1199.                     }
  1200.                     case "C":
  1201.                     {
  1202.                         this.aks.Houses.onCreate(sData.substr(3));
  1203.                         break;
  1204.                     }
  1205.                     case "S":
  1206.                     {
  1207.                         this.aks.Houses.onSell(!bError, sData.substr(3));
  1208.                         break;
  1209.                     }
  1210.                     case "B":
  1211.                     {
  1212.                         this.aks.Houses.onBuy(!bError, sData.substr(3));
  1213.                         break;
  1214.                     }
  1215.                     case "V":
  1216.                     {
  1217.                         this.aks.Houses.onLeave();
  1218.                         break;
  1219.                     }
  1220.                     case "G":
  1221.                     {
  1222.                         this.aks.Houses.onGuildInfos(sData.substr(2));
  1223.                         break;
  1224.                     }
  1225.                 } // End of switch
  1226.                 break;
  1227.             }
  1228.             case "s":
  1229.             {
  1230.                 switch (sAction)
  1231.                 {
  1232.                     case "L":
  1233.                     {
  1234.                         this.aks.Storages.onList(sData.substr(2));
  1235.                         break;
  1236.                     }
  1237.                     case "X":
  1238.                     {
  1239.                         this.aks.Storages.onLockedProperty(sData.substr(2));
  1240.                         break;
  1241.                     }
  1242.                 } // End of switch
  1243.                 break;
  1244.             }
  1245.             case "e":
  1246.             {
  1247.                 switch (sAction)
  1248.                 {
  1249.                     case "U":
  1250.                     {
  1251.                         this.aks.Emotes.onUse(!bError, sData.substr(3));
  1252.                         break;
  1253.                     }
  1254.                     case "L":
  1255.                     {
  1256.                         this.aks.Emotes.onList(sData.substr(2));
  1257.                         break;
  1258.                     }
  1259.                     case "A":
  1260.                     {
  1261.                         this.aks.Emotes.onAdd(sData.substr(2));
  1262.                         break;
  1263.                     }
  1264.                     case "R":
  1265.                     {
  1266.                         this.aks.Emotes.onRemove(sData.substr(2));
  1267.                         break;
  1268.                     }
  1269.                     case "D":
  1270.                     {
  1271.                         this.aks.Emotes.onDirection(sData.substr(2));
  1272.                         break;
  1273.                     }
  1274.                 } // End of switch
  1275.                 break;
  1276.             }
  1277.             case "d":
  1278.             {
  1279.                 switch (sAction)
  1280.                 {
  1281.                     case "C":
  1282.                     {
  1283.                         this.aks.Documents.onCreate(!bError, sData.substr(3));
  1284.                         break;
  1285.                     }
  1286.                     case "V":
  1287.                     {
  1288.                         this.aks.Documents.onLeave();
  1289.                         break;
  1290.                     }
  1291.                 } // End of switch
  1292.                 break;
  1293.             }
  1294.             case "g":
  1295.             {
  1296.                 switch (sAction)
  1297.                 {
  1298.                     case "n":
  1299.                     {
  1300.                         this.aks.Guild.onNew();
  1301.                         break;
  1302.                     }
  1303.                     case "C":
  1304.                     {
  1305.                         this.aks.Guild.onCreate(!bError, sData.substr(3));
  1306.                         break;
  1307.                     }
  1308.                     case "S":
  1309.                     {
  1310.                         this.aks.Guild.onStats(sData.substr(2));
  1311.                         break;
  1312.                     }
  1313.                     case "I":
  1314.                     {
  1315.                         switch (sData.charAt(2))
  1316.                         {
  1317.                             case "G":
  1318.                             {
  1319.                                 this.aks.Guild.onInfosGeneral(sData.substr(3));
  1320.                                 break;
  1321.                             }
  1322.                             case "M":
  1323.                             {
  1324.                                 this.aks.Guild.onInfosMembers(sData.substr(3));
  1325.                                 break;
  1326.                             }
  1327.                             case "B":
  1328.                             {
  1329.                                 this.aks.Guild.onInfosBoosts(sData.substr(3));
  1330.                                 break;
  1331.                             }
  1332.                             case "F":
  1333.                             {
  1334.                                 this.aks.Guild.onInfosMountPark(sData.substr(3));
  1335.                                 break;
  1336.                             }
  1337.                             case "T":
  1338.                             {
  1339.                                 switch (sData.charAt(3))
  1340.                                 {
  1341.                                     case "M":
  1342.                                     {
  1343.                                         this.aks.Guild.onInfosTaxCollectorsMovement(sData.substr(4));
  1344.                                         break;
  1345.                                     }
  1346.                                     case "P":
  1347.                                     {
  1348.                                         this.aks.Guild.onInfosTaxCollectorsPlayers(sData.substr(4));
  1349.                                         break;
  1350.                                     }
  1351.                                     case "p":
  1352.                                     {
  1353.                                         this.aks.Guild.onInfosTaxCollectorsAttackers(sData.substr(4));
  1354.                                         break;
  1355.                                     }
  1356.                                 } // End of switch
  1357.                                 break;
  1358.                             }
  1359.                             case "H":
  1360.                             {
  1361.                                 this.aks.Guild.onInfosHouses(sData.substr(3));
  1362.                                 break;
  1363.                             }
  1364.                         } // End of switch
  1365.                         break;
  1366.                     }
  1367.                     case "J":
  1368.                     {
  1369.                         switch (sData.charAt(2))
  1370.                         {
  1371.                             case "E":
  1372.                             {
  1373.                                 this.aks.Guild.onJoinError(sData.substr(3));
  1374.                                 break;
  1375.                             }
  1376.                             case "R":
  1377.                             {
  1378.                                 this.aks.Guild.onRequestLocal(sData.substr(3));
  1379.                                 break;
  1380.                             }
  1381.                             case "r":
  1382.                             {
  1383.                                 this.aks.Guild.onRequestDistant(sData.substr(3));
  1384.                                 break;
  1385.                             }
  1386.                             case "K":
  1387.                             {
  1388.                                 this.aks.Guild.onJoinOk(sData.substr(3));
  1389.                                 break;
  1390.                             }
  1391.                             case "C":
  1392.                             {
  1393.                                 this.aks.Guild.onJoinDistantOk();
  1394.                                 break;
  1395.                             }
  1396.                         } // End of switch
  1397.                         break;
  1398.                     }
  1399.                     case "V":
  1400.                     {
  1401.                         this.aks.Guild.onLeave();
  1402.                         break;
  1403.                     }
  1404.                     case "K":
  1405.                     {
  1406.                         this.aks.Guild.onBann(!bError, sData.substr(3));
  1407.                         break;
  1408.                     }
  1409.                     case "H":
  1410.                     {
  1411.                         this.aks.Guild.onHireTaxCollector(!bError, sData.substr(3));
  1412.                         break;
  1413.                     }
  1414.                     case "A":
  1415.                     {
  1416.                         this.aks.Guild.onTaxCollectorAttacked(sData.substr(2));
  1417.                         break;
  1418.                     }
  1419.                     case "T":
  1420.                     {
  1421.                         this.aks.Guild.onTaxCollectorInfo(sData.substr(2));
  1422.                         break;
  1423.                     }
  1424.                     case "U":
  1425.                     {
  1426.                         this.aks.Guild.onUserInterfaceOpen(sData.substr(2));
  1427.                         break;
  1428.                     }
  1429.                 } // End of switch
  1430.                 break;
  1431.             }
  1432.             case "W":
  1433.             {
  1434.                 switch (sAction)
  1435.                 {
  1436.                     case "C":
  1437.                     {
  1438.                         this.aks.Waypoints.onCreate(sData.substr(2));
  1439.                         break;
  1440.                     }
  1441.                     case "V":
  1442.                     {
  1443.                         this.aks.Waypoints.onLeave();
  1444.                         break;
  1445.                     }
  1446.                     case "U":
  1447.                     {
  1448.                         this.aks.Waypoints.onUseError();
  1449.                         break;
  1450.                     }
  1451.                     case "c":
  1452.                     {
  1453.                         this.aks.Subway.onCreate(sData.substr(2));
  1454.                         break;
  1455.                     }
  1456.                     case "v":
  1457.                     {
  1458.                         this.aks.Subway.onLeave();
  1459.                         break;
  1460.                     }
  1461.                     case "u":
  1462.                     {
  1463.                         this.aks.Subway.onUseError();
  1464.                         break;
  1465.                     }
  1466.                     case "p":
  1467.                     {
  1468.                         this.aks.Subway.onPrismCreate(sData.substr(2));
  1469.                         break;
  1470.                     }
  1471.                     case "w":
  1472.                     {
  1473.                         this.aks.Subway.onPrismLeave();
  1474.                         break;
  1475.                     }
  1476.                 } // End of switch
  1477.                 break;
  1478.             }
  1479.             case "a":
  1480.             {
  1481.                 switch (sAction)
  1482.                 {
  1483.                     case "l":
  1484.                     {
  1485.                         this.aks.Subareas.onList(sData.substr(3));
  1486.                         break;
  1487.                     }
  1488.                     case "m":
  1489.                     {
  1490.                         this.aks.Subareas.onAlignmentModification(sData.substr(2));
  1491.                         break;
  1492.                     }
  1493.                     case "M":
  1494.                     {
  1495.                         this.aks.Conquest.onAreaAlignmentChanged(sData.substr(2));
  1496.                         break;
  1497.                     }
  1498.                 } // End of switch
  1499.                 break;
  1500.             }
  1501.             case "C":
  1502.             {
  1503.                 switch (sAction)
  1504.                 {
  1505.                     case "I":
  1506.                     {
  1507.                         switch (sData.charAt(2))
  1508.                         {
  1509.                             case "J":
  1510.                             {
  1511.                                 this.aks.Conquest.onPrismInfosJoined(sData.substr(3));
  1512.                                 break;
  1513.                             }
  1514.                             case "V":
  1515.                             {
  1516.                                 this.aks.Conquest.onPrismInfosClosing(sData.substr(3));
  1517.                             }
  1518.                         } // End of switch
  1519.                         break;
  1520.                     }
  1521.                     case "B":
  1522.                     {
  1523.                         this.aks.Conquest.onConquestBonus(sData.substr(2));
  1524.                         break;
  1525.                     }
  1526.                     case "A":
  1527.                     {
  1528.                         this.aks.Conquest.onPrismAttacked(sData.substr(2));
  1529.                         break;
  1530.                     }
  1531.                     case "S":
  1532.                     {
  1533.                         this.aks.Conquest.onPrismSurvived(sData.substr(2));
  1534.                         break;
  1535.                     }
  1536.                     case "D":
  1537.                     {
  1538.                         this.aks.Conquest.onPrismDead(sData.substr(2));
  1539.                         break;
  1540.                     }
  1541.                     case "P":
  1542.                     {
  1543.                         this.aks.Conquest.onPrismFightAddPlayer(sData.substr(2));
  1544.                         break;
  1545.                     }
  1546.                     case "p":
  1547.                     {
  1548.                         this.aks.Conquest.onPrismFightAddEnemy(sData.substr(2));
  1549.                         break;
  1550.                     }
  1551.                     case "W":
  1552.                     {
  1553.                         this.aks.Conquest.onWorldData(sData.substr(2));
  1554.                         break;
  1555.                     }
  1556.                     case "b":
  1557.                     {
  1558.                         this.aks.Conquest.onConquestBalance(sData.substr(2));
  1559.                         break;
  1560.                     }
  1561.                 } // End of switch
  1562.                 break;
  1563.             }
  1564.             case "Z":
  1565.             {
  1566.                 switch (sAction)
  1567.                 {
  1568.                     case "S":
  1569.                     {
  1570.                         this.aks.Specialization.onSet(sData.substr(2));
  1571.                         break;
  1572.                     }
  1573.                     case "C":
  1574.                     {
  1575.                         this.aks.Specialization.onChange(sData.substr(2));
  1576.                         break;
  1577.                     }
  1578.                 } // End of switch
  1579.                 break;
  1580.             }
  1581.             case "f":
  1582.             {
  1583.                 switch (sAction)
  1584.                 {
  1585.                     case "C":
  1586.                     {
  1587.                         this.aks.Fights.onCount(sData.substr(2));
  1588.                         break;
  1589.                     }
  1590.                     case "L":
  1591.                     {
  1592.                         this.aks.Fights.onList(sData.substr(2));
  1593.                         break;
  1594.                     }
  1595.                     case "D":
  1596.                     {
  1597.                         this.aks.Fights.onDetails(sData.substr(2));
  1598.                         break;
  1599.                     }
  1600.                 } // End of switch
  1601.                 break;
  1602.             }
  1603.             case "T":
  1604.             {
  1605.                 switch (sAction)
  1606.                 {
  1607.                     case "C":
  1608.                     {
  1609.                         this.aks.Tutorial.onCreate(sData.substr(2));
  1610.                         break;
  1611.                     }
  1612.                     case "T":
  1613.                     {
  1614.                         this.aks.Tutorial.onShowTip(sData.substr(2));
  1615.                         break;
  1616.                     }
  1617.                     case "B":
  1618.                     {
  1619.                         this.aks.Tutorial.onGameBegin();
  1620.                         break;
  1621.                     }
  1622.                 } // End of switch
  1623.                 break;
  1624.             }
  1625.             case "Q":
  1626.             {
  1627.                 switch (sAction)
  1628.                 {
  1629.                     case "L":
  1630.                     {
  1631.                         this.aks.Quests.onList(sData.substr(3));
  1632.                         break;
  1633.                     }
  1634.                     case "S":
  1635.                     {
  1636.                         this.aks.Quests.onStep(sData.substr(2));
  1637.                         break;
  1638.                     }
  1639.                 } // End of switch
  1640.                 break;
  1641.             }
  1642.             case "P":
  1643.             {
  1644.                 switch (sAction)
  1645.                 {
  1646.                     case "I":
  1647.                     {
  1648.                         this.aks.Party.onInvite(!bError, sData.substr(3));
  1649.                         break;
  1650.                     }
  1651.                     case "L":
  1652.                     {
  1653.                         this.aks.Party.onLeader(sData.substr(2));
  1654.                         break;
  1655.                     }
  1656.                     case "R":
  1657.                     {
  1658.                         this.aks.Party.onRefuse(sData.substr(2));
  1659.                         break;
  1660.                     }
  1661.                     case "A":
  1662.                     {
  1663.                         this.aks.Party.onAccept(sData.substr(2));
  1664.                         break;
  1665.                     }
  1666.                     case "C":
  1667.                     {
  1668.                         this.aks.Party.onCreate(!bError, sData.substr(3));
  1669.                         break;
  1670.                     }
  1671.                     case "V":
  1672.                     {
  1673.                         this.aks.Party.onLeave(sData.substr(2));
  1674.                         break;
  1675.                     }
  1676.                     case "F":
  1677.                     {
  1678.                         this.aks.Party.onFollow(!bError, sData.substr(3));
  1679.                         break;
  1680.                     }
  1681.                     case "M":
  1682.                     {
  1683.                         this.aks.Party.onMovement(sData.substr(2));
  1684.                         break;
  1685.                     }
  1686.                 } // End of switch
  1687.                 break;
  1688.             }
  1689.             case "R":
  1690.             {
  1691.                 switch (sAction)
  1692.                 {
  1693.                     case "e":
  1694.                     {
  1695.                         this.aks.Mount.onEquip(sData.substr(2));
  1696.                         break;
  1697.                     }
  1698.                     case "x":
  1699.                     {
  1700.                         this.aks.Mount.onXP(sData.substr(2));
  1701.                         break;
  1702.                     }
  1703.                     case "n":
  1704.                     {
  1705.                         this.aks.Mount.onName(sData.substr(2));
  1706.                         break;
  1707.                     }
  1708.                     case "d":
  1709.                     {
  1710.                         this.aks.Mount.onData(sData.substr(2));
  1711.                         break;
  1712.                     }
  1713.                     case "p":
  1714.                     {
  1715.                         this.aks.Mount.onMountPark(sData.substr(2));
  1716.                         break;
  1717.                     }
  1718.                     case "D":
  1719.                     {
  1720.                         this.aks.Mount.onMountParkBuy(sData.substr(2));
  1721.                         break;
  1722.                     }
  1723.                     case "v":
  1724.                     {
  1725.                         this.aks.Mount.onLeave(sData.substr(2));
  1726.                         break;
  1727.                     }
  1728.                     case "r":
  1729.                     {
  1730.                         this.aks.Mount.onRidingState(sData.substr(2));
  1731.                         break;
  1732.                     }
  1733.                 } // End of switch
  1734.                 break;
  1735.             }
  1736.         } // End of switch
  1737.     };
  1738.     ASSetPropFlags(_loc1, null, 1);
  1739. } // end if
  1740. #endinitclip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement