Assembla home | Assembla project page
 

Changeset 916

Show
Ignore:
Timestamp:
11/09/08 04:51:24 (8 months ago)
Author:
dannuic
Message:

*This is a CombatTest? update*
[added] proper trainers (require xp to train non-BF skills)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • core3/branches/CombatTest/src/server/zone/managers/creature/CreatureManagerImplementation.cpp

    r888 r916  
    268268                        Profession* prof = professionManager->professionMap.getNextValue(); 
    269269 
    270                         if ((int)prof->getName().find("jedi") >= 0 || (int)prof->getName().find("force") >= 0) 
    271                               continue; 
    272  
    273                         TrainerCreature* trainer = spawnTrainer(prof->getName(), "", prof->getName(), 0x8C73B91, 0, -4967 - (i*1), 4043, 6, 0, 0); 
     270                        //if ((int)prof->getName().find("jedi") >= 0 || (int)prof->getName().find("force") >= 0) 
     271                        //    continue; 
     272 
     273                        TrainerCreature* trainer = spawnTrainer(prof->getName(), "trainer_unknown", prof->getName(), 0x8C73B91, 0, -4967 - (i*1), 4043, 6, 0, 0); 
    274274                } 
    275275        } 
     
    445445                if (!stfname.empty()) 
    446446                        trainer->setSpeciesName(stfname); 
    447                 else 
     447                //else 
     448                if (!name.empty()) 
    448449                        trainer->setCharacterName(unicode(name)); 
    449450 
  • core3/branches/CombatTest/src/server/zone/objects/creature/skills/target/CureTargetSkill.h

    r888 r916  
    288288                player->addXp(type, amount, true); 
    289289 
    290                 String::toLower(type); 
     290                /*String::toLower(type); 
    291291                type[0] = toupper(type[0]); //Capitalize first letter. 
    292292 
    293293                stringstream msgExperience; 
    294294                msgExperience << "You receive " << amount << " points of " << type << " experience."; 
    295                 player->sendSystemMessage(msgExperience.str()); 
     295                player->sendSystemMessage(msgExperience.str());*/ 
    296296        } 
    297297 
  • core3/branches/CombatTest/src/server/zone/objects/creature/trainer/TrainerCreature.cpp

    r365 r916  
    2828} 
    2929 
     30void TrainerCreature::sendInitialMessage(Player* player) { 
     31        if (_impl == NULL) { 
     32                if (!deployed) 
     33                        throw ObjectNotDeployedException(this); 
     34 
     35                DistributedMethod method(this, 6); 
     36                method.addObjectParameter(player); 
     37 
     38                method.executeWithVoidReturn(); 
     39        } else 
     40                ((TrainerCreatureImplementation*) _impl)->sendInitialMessage(player); 
     41} 
     42 
     43void TrainerCreature::sendInitialChoices(Player* player) { 
     44        if (_impl == NULL) { 
     45                if (!deployed) 
     46                        throw ObjectNotDeployedException(this); 
     47 
     48                DistributedMethod method(this, 7); 
     49                method.addObjectParameter(player); 
     50 
     51                method.executeWithVoidReturn(); 
     52        } else 
     53                ((TrainerCreatureImplementation*) _impl)->sendInitialChoices(player); 
     54} 
     55 
    3056void TrainerCreature::sendConversationStartTo(SceneObject* obj) { 
    3157        if (_impl == NULL) { 
     
    3359                        throw ObjectNotDeployedException(this); 
    3460 
    35                 DistributedMethod method(this, 6); 
     61                DistributedMethod method(this, 8); 
    3662                method.addObjectParameter(obj); 
    3763 
     
    4167} 
    4268 
    43 void TrainerCreature::sendSkillBoxes(Player* player) { 
    44         if (_impl == NULL) { 
    45                 if (!deployed) 
    46                         throw ObjectNotDeployedException(this); 
    47  
    48                 DistributedMethod method(this, 7); 
    49                 method.addObjectParameter(player); 
    50  
    51                 method.executeWithVoidReturn(); 
    52         } else 
    53                 ((TrainerCreatureImplementation*) _impl)->sendSkillBoxes(player); 
     69void TrainerCreature::sendSkillBoxes(Player* player, bool checkXp) { 
     70        if (_impl == NULL) { 
     71                if (!deployed) 
     72                        throw ObjectNotDeployedException(this); 
     73 
     74                DistributedMethod method(this, 9); 
     75                method.addObjectParameter(player); 
     76                method.addBooleanParameter(checkXp); 
     77 
     78                method.executeWithVoidReturn(); 
     79        } else 
     80                ((TrainerCreatureImplementation*) _impl)->sendSkillBoxes(player, checkXp); 
     81
     82 
     83void TrainerCreature::sendSkillBoxList(Player* player, bool checkLearned) { 
     84        if (_impl == NULL) { 
     85                if (!deployed) 
     86                        throw ObjectNotDeployedException(this); 
     87 
     88                DistributedMethod method(this, 10); 
     89                method.addObjectParameter(player); 
     90                method.addBooleanParameter(checkLearned); 
     91 
     92                method.executeWithVoidReturn(); 
     93        } else 
     94                ((TrainerCreatureImplementation*) _impl)->sendSkillBoxList(player, checkLearned); 
     95
     96 
     97void TrainerCreature::sendConfirmation(Player* player) { 
     98        if (_impl == NULL) { 
     99                if (!deployed) 
     100                        throw ObjectNotDeployedException(this); 
     101 
     102                DistributedMethod method(this, 11); 
     103                method.addObjectParameter(player); 
     104 
     105                method.executeWithVoidReturn(); 
     106        } else 
     107                ((TrainerCreatureImplementation*) _impl)->sendConfirmation(player); 
    54108} 
    55109 
     
    59113                        throw ObjectNotDeployedException(this); 
    60114 
    61                 DistributedMethod method(this, 8); 
     115                DistributedMethod method(this, 12); 
    62116                method.addSignedIntParameter(option); 
    63117                method.addObjectParameter(obj); 
     
    80134        switch (methid) { 
    81135        case 6: 
     136                sendInitialMessage((Player*) inv->getObjectParameter()); 
     137                break; 
     138        case 7: 
     139                sendInitialChoices((Player*) inv->getObjectParameter()); 
     140                break; 
     141        case 8: 
    82142                sendConversationStartTo((SceneObject*) inv->getObjectParameter()); 
    83143                break; 
    84         case 7: 
    85                 sendSkillBoxes((Player*) inv->getObjectParameter()); 
    86                 break; 
    87         case 8: 
     144        case 9: 
     145                sendSkillBoxes((Player*) inv->getObjectParameter(), inv->getBooleanParameter()); 
     146                break; 
     147        case 10: 
     148                sendSkillBoxList((Player*) inv->getObjectParameter(), inv->getBooleanParameter()); 
     149                break; 
     150        case 11: 
     151                sendConfirmation((Player*) inv->getObjectParameter()); 
     152                break; 
     153        case 12: 
    88154                selectConversationOption(inv->getSignedIntParameter(), (SceneObject*) inv->getObjectParameter()); 
    89155                break; 
     
    95161} 
    96162 
     163void TrainerCreatureAdapter::sendInitialMessage(Player* player) { 
     164        return ((TrainerCreatureImplementation*) impl)->sendInitialMessage(player); 
     165} 
     166 
     167void TrainerCreatureAdapter::sendInitialChoices(Player* player) { 
     168        return ((TrainerCreatureImplementation*) impl)->sendInitialChoices(player); 
     169} 
     170 
    97171void TrainerCreatureAdapter::sendConversationStartTo(SceneObject* obj) { 
    98172        return ((TrainerCreatureImplementation*) impl)->sendConversationStartTo(obj); 
    99173} 
    100174 
    101 void TrainerCreatureAdapter::sendSkillBoxes(Player* player) { 
    102         return ((TrainerCreatureImplementation*) impl)->sendSkillBoxes(player); 
     175void TrainerCreatureAdapter::sendSkillBoxes(Player* player, bool checkXp) { 
     176        return ((TrainerCreatureImplementation*) impl)->sendSkillBoxes(player, checkXp); 
     177
     178 
     179void TrainerCreatureAdapter::sendSkillBoxList(Player* player, bool checkLearned) { 
     180        return ((TrainerCreatureImplementation*) impl)->sendSkillBoxList(player, checkLearned); 
     181
     182 
     183void TrainerCreatureAdapter::sendConfirmation(Player* player) { 
     184        return ((TrainerCreatureImplementation*) impl)->sendConfirmation(player); 
    103185} 
    104186 
  • core3/branches/CombatTest/src/server/zone/objects/creature/trainer/TrainerCreature.h

    r365 r916  
    2222        TrainerCreature(unsigned long long oid, Profession* prof); 
    2323 
     24        void sendInitialMessage(Player* player); 
     25 
     26        void sendInitialChoices(Player* player); 
     27 
    2428        void sendConversationStartTo(SceneObject* obj); 
    2529 
    26         void sendSkillBoxes(Player* player); 
     30        void sendSkillBoxes(Player* player, bool checkXp); 
     31 
     32        void sendSkillBoxList(Player* player, bool checkLearned); 
     33 
     34        void sendConfirmation(Player* player); 
    2735 
    2836        void selectConversationOption(int option, SceneObject* obj); 
     
    4452        Packet* invokeMethod(sys::uint32 methid, DistributedMethod* method); 
    4553 
     54        void sendInitialMessage(Player* player); 
     55 
     56        void sendInitialChoices(Player* player); 
     57 
    4658        void sendConversationStartTo(SceneObject* obj); 
    4759 
    48         void sendSkillBoxes(Player* player); 
     60        void sendSkillBoxes(Player* player, bool checkXp); 
     61 
     62        void sendSkillBoxList(Player* player, bool checkLearned); 
     63 
     64        void sendConfirmation(Player* player); 
    4965 
    5066        void selectConversationOption(int option, SceneObject* obj); 
  • core3/branches/CombatTest/src/server/zone/objects/creature/trainer/TrainerCreature.idl

    r365 r916  
    5656        } 
    5757 
     58        void sendInitialMessage(Player player); 
     59        void sendInitialChoices(Player player); 
    5860        void sendConversationStartTo(SceneObject obj); 
    59         void sendSkillBoxes(Player player); 
     61        void sendSkillBoxes(Player player, boolean checkXp); 
     62        void sendSkillBoxList(Player player, boolean checkLearned); 
     63        void sendConfirmation(Player player); 
    6064 
    6165        void selectConversationOption(int option, SceneObject obj); 
  • core3/branches/CombatTest/src/server/zone/objects/creature/trainer/TrainerCreatureImplementation.cpp

    r732 r916  
    8585        Player* player = (Player*)obj; 
    8686         
     87        // TODO test for qualifying prereq skills 
    8788        StartNpcConversation* conv = new StartNpcConversation(player, objectID, ""); 
    8889        player->sendMessage(conv); 
    89          
    90         unicode mes1 = "Please select the box you want to learn"; 
    91         NpcConversationMessage* m1 = new NpcConversationMessage(player, mes1); 
     90        player->setLastNpcConvStr(getSpeciesName()); 
     91 
     92        sendInitialMessage(player); 
     93
     94 
     95void TrainerCreatureImplementation::sendInitialMessage(Player* player) { 
     96        NpcConversationMessage* m1 = new NpcConversationMessage(player, "skill_teacher", getSpeciesName()); 
    9297        player->sendMessage(m1); 
    9398         
    94         sendSkillBoxes(player); 
    95 
    96  
    97 void TrainerCreatureImplementation::sendSkillBoxes(Player* player) { 
     99        player->setLastNpcConvMessStr("trainer_initial"); 
     100        sendInitialChoices(player); 
     101
     102 
     103void TrainerCreatureImplementation::sendInitialChoices(Player* player) {         
     104        StringList* slist = new StringList(player); 
     105 
     106        slist->insertOption("skill_teacher", "opt1_1"); 
     107        slist->insertOption("skill_teacher", "opt1_2"); 
     108        slist->insertOption("skill_teacher", "opt1_3"); 
     109        slist->insertOption("skill_teacher", "opt1_4"); 
     110         
     111        player->setLastNpcConvMessStr("trainer_initial"); 
     112 
     113        player->sendMessage(slist); 
     114
     115 
     116void TrainerCreatureImplementation::sendSkillBoxes(Player* player, bool checkXp) { 
    98117        StringList* slist = new StringList(player); 
    99118        Vector<SkillBox*>* skillBoxes = profession->getSkillBoxes(); 
    100          
     119        string option; 
     120        int known = 0; 
     121         
     122        player->clearLastNpcConvOptions(); 
     123 
    101124        for (int i = 0; i < skillBoxes->size(); i++) { 
    102125                SkillBox* skillBox = skillBoxes->get(i); 
     126                bool qual = true; 
     127 
     128                if (player->hasSkillBox(skillBox->getName())) { 
     129                        known++; 
     130                        qual = false; 
     131                } 
     132                 
     133                //if (checkXp && skillBox->getSkillXpCost() > player->getXp(skillBox->getSkillXpType())) 
     134                //      qual = false; 
     135 
     136                for (int j = 0; (qual == true) && (j < skillBox->getRequiredSkillsSize()); j++) { 
     137                        string skillname; 
     138                        skillBox->getRequiredSkill(skillname, j); 
     139 
     140                        if (!player->hasSkillBox(skillname)) 
     141                                qual = false; 
     142                } 
     143 
     144                if (qual) { 
     145                        slist->insertOption("skl_n", skillBox->getName()); 
     146                        player->addLastNpcConvOptions(skillBox->getName()); 
     147                } 
     148        } 
     149 
     150        if (checkXp) 
     151                player->setLastNpcConvMessStr("trainer_canlearn"); 
     152        else 
     153                player->setLastNpcConvMessStr("trainer_nextskills"); 
     154 
     155        if (slist->getOptionCount() > 0) 
     156                if (checkXp) 
     157                        option = "msg2_1"; 
     158                else 
     159                        option = "msg2_2"; 
     160        else if (known == skillBoxes->size()) 
     161                option = "msg3_1"; 
     162        else 
     163                option = "error_empty_category"; 
     164 
     165        NpcConversationMessage* m2 = new NpcConversationMessage(player, "skill_teacher", option); 
     166        player->sendMessage(m2); 
     167 
     168        slist->insertOption("skill_teacher","back"); 
     169        player->addLastNpcConvOptions(string("back")); 
     170        player->sendMessage(slist); 
     171} 
     172 
     173void TrainerCreatureImplementation::sendSkillBoxList(Player* player, bool checkLearned) { 
     174        StringList* slist = new StringList(player); 
     175        Vector<SkillBox*>* skillBoxes = profession->getSkillBoxes(); 
     176         
     177        for (int i = 0; i < skillBoxes->size(); i++) { 
     178                SkillBox *skillBox = skillBoxes->get(i); 
     179                if (checkLearned && player->hasSkillBox(skillBox->getName())) 
     180                        continue; 
    103181                slist->insertOption("skl_n", skillBox->getName()); 
     182                player->addLastNpcConvOptions(skillBox->getName()); 
    104183        } 
    105184         
     185        string option; 
     186        if (checkLearned) { 
     187                option = "msg2_3"; 
     188                player->setLastNpcConvMessStr("trainer_unlearned"); 
     189        } else { 
     190                option = "msg2_4"; 
     191                player->setLastNpcConvMessStr("trainer_allskills"); 
     192        } 
     193         
     194        NpcConversationMessage* m3 = new NpcConversationMessage(player, "skill_teacher", option); 
     195        slist->insertOption("skill_teacher","back"); 
     196        player->addLastNpcConvOptions(string("back")); 
     197        player->sendMessage(slist); 
     198}  
     199 
     200void TrainerCreatureImplementation::sendConfirmation(Player* player) { 
     201        StringList* slist = new StringList(player); 
     202 
     203        slist->insertOption("skill_teacher", "yes"); 
     204        slist->insertOption("skill_teacher", "no"); 
     205 
    106206        player->sendMessage(slist); 
    107207} 
     
    112212                 
    113213        Player* player = (Player*)obj; 
     214 
     215        if (player->getLastNpcConvStr() != getSpeciesName()) 
     216                return; 
    114217         
    115218        Vector<SkillBox*>* skillBoxes = profession->getSkillBoxes(); 
    116          
    117         SkillBox* sBox = skillBoxes->get(option); 
    118         if (sBox == NULL) 
    119                 return; 
     219        string choice; 
     220        if (player->countLastNpcConvOptions() > 0) 
     221                choice = player->getLastNpcConvOption(option); 
     222        player->clearLastNpcConvOptions(); 
     223         
     224        if (player->getLastNpcConvMessStr() == "trainer_initial") { 
     225                switch (option) { 
     226                case 0: 
     227                        sendSkillBoxes(player, true); 
     228                        break; 
     229                case 1: 
     230                        sendSkillBoxes(player, false); 
     231                        break; 
     232                case 2: 
     233                        sendSkillBoxList(player, true); 
     234                        break; 
     235                case 3: 
     236                        sendSkillBoxList(player, false); 
     237                        break; 
     238                default: 
     239                        break; 
     240                }; 
     241 
     242        } else if (player->getLastNpcConvMessStr() == "trainer_canlearn") { 
     243                if (choice == "back") { 
     244                        sendInitialMessage(player); 
     245                } else { 
     246                        NpcConversationMessage* skillmsg = new NpcConversationMessage(player, "skill_teacher", "confirm"); 
     247                        player->setLastNpcConvMessStr("trainer_learn"); 
     248                        player->addLastNpcConvOptions(choice); 
     249                        player->sendMessage(skillmsg); 
     250                        sendConfirmation(player); 
     251                } 
     252        } else if (player->getLastNpcConvMessStr() == "trainer_nextskills") { 
     253                if (choice == "back") { 
     254                        sendInitialMessage(player); 
     255                } else { 
     256                        NpcConversationMessage* skillmsg = new NpcConversationMessage(player, "skl_d", choice); 
     257                        player->sendMessage(skillmsg); 
     258                        sendSkillBoxes(player, false); 
     259                } 
     260        } else if (player->getLastNpcConvMessStr() == "trainer_unlearned") { 
     261                if (choice == "back") { 
     262                        sendInitialMessage(player); 
     263                } else { 
     264                        NpcConversationMessage* skillmsg = new NpcConversationMessage(player, "skl_d", choice); 
     265                        player->sendMessage(skillmsg); 
     266                        sendSkillBoxList(player, true); 
     267                } 
     268        } else if (player->getLastNpcConvMessStr() == "trainer_allskills") { 
     269                if (choice == "back") { 
     270                        sendInitialMessage(player); 
     271                } else { 
     272                        NpcConversationMessage* skillmsg = new NpcConversationMessage(player, "skl_d", choice); 
     273                        player->sendMessage(skillmsg); 
     274                        sendSkillBoxList(player, false); 
     275                } 
     276        } else if (player->getLastNpcConvMessStr() == "trainer_learn") { 
     277                SkillBox* sBox; 
     278                string optionmessage; 
     279                StfParameter* params = new StfParameter(); 
     280 
     281                switch (option) { 
     282                case 0: //yes 
     283                        params->addTO("skl_n", choice); 
     284                        for (int i = 0; i < skillBoxes->size(); i++) { 
     285                                if (skillBoxes->get(i)->getName() == choice) { 
     286                                        sBox = skillBoxes->get(i); 
     287                                        break; 
     288                                } 
     289                        } 
     290 
     291                        if (sBox->getSkillXpCost() > player->getXp(sBox->getSkillXpType())) 
     292                                player->sendSystemMessage("skill_teacher", "prose_train_failed", params); 
     293                        else { 
     294                                train(sBox, player); 
     295                                player->addXp(sBox->getSkillXpType(), (-1)*sBox->getSkillXpCost(), true); 
     296                                player->sendSystemMessage("skill_teacher", "prose_skill_learned", params); 
     297                        } 
     298                        optionmessage = "msg_yes"; 
     299                        break; 
     300                case 1: //no 
     301                        optionmessage = "msg_no"; 
     302                        break; 
     303                default: 
     304                        break; 
     305                }; 
    120306                 
    121         stringstream test; 
    122         test << "Trying to train " << sBox->getName(); 
    123         player->sendSystemMessage(test.str()); 
    124          
    125         if (train(sBox, player)) 
    126                 player->sendSystemMessage("SkillBox trained"); 
    127         else 
    128                 player->sendSystemMessage("You lack the requisites to train this SkillBox"); 
    129                  
    130         sendSkillBoxes(player); 
    131 
     307                delete params; 
     308                NpcConversationMessage* skillmsg = new NpcConversationMessage(player, "skill_teacher", optionmessage); 
     309                player->sendMessage(skillmsg); 
     310                sendInitialChoices(player); 
     311        } else 
     312                sendInitialMessage(player); 
     313
  • core3/branches/CombatTest/src/server/zone/objects/creature/trainer/TrainerCreatureImplementation.h

    r365 r916  
    6363        bool train(SkillBox* skillBox, Player* player);  
    6464 
     65        void sendInitialMessage(Player* player); 
     66        void sendInitialChoices(Player* player); 
    6567        void sendConversationStartTo(SceneObject* obj); 
    66         void sendSkillBoxes(Player* player); 
     68        void sendSkillBoxes(Player* player, bool checkXp); 
     69        void sendSkillBoxList(Player* player, bool checkLearned); 
     70        void sendConfirmation(Player* player); 
    6771 
    6872        void selectConversationOption(int option, SceneObject* obj); 
  • core3/branches/CombatTest/src/server/zone/objects/player/Player.cpp

    r908 r916  
    18261826} 
    18271827 
    1828 void Player::addXp(string& xpType, int xp, bool updateClient) { 
     1828int Player::getXp(const string& xpType) { 
    18291829        if (_impl == NULL) { 
    18301830                if (!deployed) 
     
    18331833                DistributedMethod method(this, 144); 
    18341834                method.addAsciiParameter(xpType); 
    1835                 method.addSignedIntParameter(xp); 
    1836                 method.addBooleanParameter(updateClient); 
    1837  
    1838                 method.executeWithVoidReturn(); 
    1839         } else 
    1840                 ((PlayerImplementation*) _impl)->addXp(xpType, xp, updateClient); 
    1841 
    1842  
    1843 void Player::removeXp(string& xpType, int xp, bool updateClient) { 
     1835 
     1836                return method.executeWithSignedIntReturn(); 
     1837        } else 
     1838                return ((PlayerImplementation*) _impl)->getXp(xpType); 
     1839
     1840 
     1841void Player::addXp(string& xpType, int xp, bool updateClient) { 
    18441842        if (_impl == NULL) { 
    18451843                if (!deployed) 
     
    18531851                method.executeWithVoidReturn(); 
    18541852        } else 
     1853                ((PlayerImplementation*) _impl)->addXp(xpType, xp, updateClient); 
     1854} 
     1855 
     1856void Player::removeXp(string& xpType, int xp, bool updateClient) { 
     1857        if (_impl == NULL) { 
     1858                if (!deployed) 
     1859                        throw ObjectNotDeployedException(this); 
     1860 
     1861                DistributedMethod method(this, 146); 
     1862                method.addAsciiParameter(xpType); 
     1863                method.addSignedIntParameter(xp); 
     1864                method.addBooleanParameter(updateClient); 
     1865 
     1866                method.executeWithVoidReturn(); 
     1867        } else 
    18551868                ((PlayerImplementation*) _impl)->removeXp(xpType, xp, updateClient); 
    18561869} 
     
    18611874                        throw ObjectNotDeployedException(this); 
    18621875 
    1863                 DistributedMethod method(this, 146); 
     1876                DistributedMethod method(this, 147); 
    18641877                method.addAsciiParameter(xpStr); 
    18651878 
     
    18741887                        throw ObjectNotDeployedException(this); 
    18751888 
    1876                 DistributedMethod method(this, 147); 
     1889                DistributedMethod method(this, 148); 
    18771890 
    18781891                method.executeWithAsciiReturn(_return_saveXp); 
     
    18871900                        throw ObjectNotDeployedException(this); 
    18881901 
    1889                 DistributedMethod method(this, 148); 
     1902                DistributedMethod method(this, 149); 
    18901903                method.addAsciiParameter(xptype); 
    18911904 
     
    19001913                        throw ObjectNotDeployedException(this); 
    19011914 
    1902                 DistributedMethod method(this, 149); 
     1915                DistributedMethod method(this, 150); 
    19031916 
    19041917                method.executeWithVoidReturn(); 
     
    19121925                        throw ObjectNotDeployedException(this); 
    19131926 
    1914                 DistributedMethod method(this, 150); 
     1927                DistributedMethod method(this, 151); 
    19151928                method.addAsciiParameter(xptype); 
    19161929                method.addAsciiParameter(prosetype); 
     
    19261939                        throw ObjectNotDeployedException(this); 
    19271940 
    1928                 DistributedMethod method(this, 151); 
     1941                DistributedMethod method(this, 152); 
    19291942                method.addAsciiParameter(xptype); 
    19301943 
     
    19351948 
    19361949void Player::removeFromDuelList(Player* targetPlayer) { 
    1937         if (_impl == NULL) { 
    1938                 if (!deployed) 
    1939                         throw ObjectNotDeployedException(this); 
    1940  
    1941                 DistributedMethod method(this, 152); 
    1942                 method.addObjectParameter(targetPlayer); 
    1943  
    1944                 method.executeWithVoidReturn(); 
    1945         } else 
    1946                 ((PlayerImplementation*) _impl)->removeFromDuelList(targetPlayer); 
    1947 } 
    1948  
    1949 void Player::addToDuelList(Player* targetPlayer) { 
    19501950        if (_impl == NULL) { 
    19511951                if (!deployed) 
     
    19571957                method.executeWithVoidReturn(); 
    19581958        } else 
    1959                 ((PlayerImplementation*) _impl)->addToDuelList(targetPlayer); 
    1960 } 
    1961  
    1962 bool Player::isInDuelWith(Player* targetPlayer, bool doLock) { 
     1959                ((PlayerImplementation*) _impl)->removeFromDuelList(targetPlayer); 
     1960} 
     1961 
     1962void Player::addToDuelList(Player* targetPlayer) { 
    19631963        if (_impl == NULL) { 
    19641964                if (!deployed) 
     
    19671967                DistributedMethod method(this, 154); 
    19681968                method.addObjectParameter(targetPlayer); 
     1969 
     1970                method.executeWithVoidReturn(); 
     1971        } else 
     1972                ((PlayerImplementation*) _impl)->addToDuelList(targetPlayer); 
     1973} 
     1974 
     1975bool Player::isInDuelWith(Player* targetPlayer, bool doLock) { 
     1976        if (_impl == NULL) { 
     1977                if (!deployed) 
     1978                        throw ObjectNotDeployedException(this); 
     1979 
     1980                DistributedMethod method(this, 155); 
     1981                method.addObjectParameter(targetPlayer); 
    19691982                method.addBooleanParameter(doLock); 
    19701983 
     
    19791992                        throw ObjectNotDeployedException(this); 
    19801993 
    1981                 DistributedMethod method(this, 155); 
     1994                DistributedMethod method(this, 156); 
    19821995                method.addSignedIntParameter(index); 
    19831996 
     
    19922005                        throw ObjectNotDeployedException(this); 
    19932006 
    1994                 DistributedMethod method(this, 156); 
     2007                DistributedMethod method(this, 157); 
    19952008                method.addObjectParameter(targetPlayer); 
    19962009 
     
    20052018                        throw ObjectNotDeployedException(this); 
    20062019 
    2007                 DistributedMethod method(this, 157); 
     2020                DistributedMethod method(this, 158); 
    20082021 
    20092022                return method.executeWithBooleanReturn(); 
     
    20172030                        throw ObjectNotDeployedException(this); 
    20182031 
    2019                 DistributedMethod method(this, 158); 
     2032                DistributedMethod method(this, 159); 
    20202033 
    20212034                return method.executeWithSignedIntReturn(); 
     
    20292042                        throw ObjectNotDeployedException(this); 
    20302043 
    2031                 DistributedMethod method(this, 159); 
     2044                DistributedMethod method(this, 160); 
    20322045                method.addUnsignedIntParameter(gid); 
    20332046 
     
    20422055                        throw ObjectNotDeployedException(this); 
    20432056 
    2044                 DistributedMethod method(this, 160); 
     2057                DistributedMethod method(this, 161); 
    20452058                method.addObjectParameter(gild); 
    20462059 
     
    20552068                        throw ObjectNotDeployedException(this); 
    20562069 
    2057                 DistributedMethod method(this, 161); 
     2070                DistributedMethod method(this, 162); 
    20582071                method.addUnsignedIntParameter(gid); 
    20592072 
     
    20682081                        throw ObjectNotDeployedException(this); 
    20692082 
    2070                 DistributedMethod method(this, 162); 
     2083                DistributedMethod method(this, 163); 
    20712084                method.addObjectParameter(guild); 
    20722085 
     
    20772090 
    20782091void Player::addChatRoom(ChatRoom* room) { 
    2079         if (_impl == NULL) { 
    2080                 if (!deployed) 
    2081                         throw ObjectNotDeployedException(this); 
    2082  
    2083                 DistributedMethod method(this, 163); 
    2084                 method.addObjectParameter(room); 
    2085  
    2086                 method.executeWithVoidReturn(); 
    2087         } else 
    2088                 ((PlayerImplementation*) _impl)->addChatRoom(room); 
    2089 } 
    2090  
    2091 void Player::removeChatRoom(ChatRoom* room) { 
    20922092        if (_impl == NULL) { 
    20932093                if (!deployed) 
     
    20992099                method.executeWithVoidReturn(); 
    21002100        } else 
     2101                ((PlayerImplementation*) _impl)->addChatRoom(room); 
     2102} 
     2103 
     2104void Player::removeChatRoom(ChatRoom* room) { 
     2105        if (_impl == NULL) { 
     2106                if (!deployed) 
     2107                        throw ObjectNotDeployedException(this); 
     2108 
     2109                DistributedMethod method(this, 165); 
     2110                method.addObjectParameter(room); 
     2111 
     2112                method.executeWithVoidReturn(); 
     2113        } else 
    21012114                ((PlayerImplementation*) _impl)->removeChatRoom(room); 
    21022115} 
     
    21072120                        throw ObjectNotDeployedException(this); 
    21082121 
    2109                 DistributedMethod method(this, 165); 
     2122                DistributedMethod method(this, 166); 
    21102123                method.addAsciiParameter(msg); 
    21112124 
     
    21202133                        throw ObjectNotDeployedException(this); 
    21212134 
    2122                 DistributedMethod method(this, 166); 
     2135                DistributedMethod method(this, 167); 
    21232136                method.addUnicodeParameter(msg); 
    21242137 
     
    21332146                        throw ObjectNotDeployedException(this); 
    21342147 
    2135                 DistributedMethod method(this, 167); 
     2148                DistributedMethod method(this, 168); 
    21362149                method.addAsciiParameter(file); 
    21372150                method.addAsciiParameter(str); 
     
    21482161                        throw ObjectNotDeployedException(this); 
    21492162 
    2150                 DistributedMethod method(this, 168); 
     2163                DistributedMethod method(this, 169); 
    21512164                method.addAsciiParameter(file); 
    21522165                method.addAsciiParameter(str); 
     
    21632176                        throw ObjectNotDeployedException(this); 
    21642177 
    2165                 DistributedMethod method(this, 169); 
     2178                DistributedMethod method(this, 170); 
    21662179                method.addObjectParameter(target); 
    21672180 
     
    21762189                        throw ObjectNotDeployedException(this); 
    21772190 
    2178                 DistributedMethod method(this, 170); 
     2191                DistributedMethod method(this, 171); 
    21792192                method.addObjectParameter(target); 
    21802193                method.addSignedIntParameter(h); 
     
    21922205                        throw ObjectNotDeployedException(this); 
    21932206 
    2194                 DistributedMethod method(this, 171); 
     2207                DistributedMethod method(this, 172); 
    21952208                method.addObjectParameter(conversator); 
    21962209 
     
    22012214 
    22022215void Player::setFirstName(const string& name) { 
    2203         if (_impl == NULL) { 
    2204                 if (!deployed) 
    2205                         throw ObjectNotDeployedException(this); 
    2206  
    2207                 DistributedMethod method(this, 172); 
    2208                 method.addAsciiParameter(name); 
    2209  
    2210                 method.executeWithVoidReturn(); 
    2211         } else 
    2212                 ((PlayerImplementation*) _impl)->setFirstName(name); 
    2213 } 
    2214  
    2215 void Player::setLastName(const string& name) { 
    22162216        if (_impl == NULL) { 
    22172217                if (!deployed) 
     
    22232223                method.executeWithVoidReturn(); 
    22242224        } else 
    2225                 ((PlayerImplementation*) _impl)->setLastName(name); 
    2226 } 
    2227  
    2228 void Player::setFirstNameProper(const string& name) { 
     2225                ((PlayerImplementation*) _impl)->setFirstName(name); 
     2226} 
     2227 
     2228void Player::setLastName(const string& name) { 
    22292229        if (_impl == NULL) { 
    22302230                if (!deployed) 
     
    22362236                method.executeWithVoidReturn(); 
    22372237        } else 
     2238                ((PlayerImplementation*) _impl)->setLastName(name); 
     2239} 
     2240 
     2241void Player::setFirstNameProper(const string& name) { 
     2242        if (_impl == NULL) { 
     2243                if (!deployed) 
     2244                        throw ObjectNotDeployedException(this); 
     2245 
     2246                DistributedMethod method(this, 175); 
     2247                method.addAsciiParameter(name); 
     2248 
     2249                method.executeWithVoidReturn(); 
     2250        } else 
    22382251                ((PlayerImplementation*) _impl)->setFirstNameProper(name); 
    22392252} 
     
    22442257                        throw ObjectNotDeployedException(this); 
    22452258 
    2246                 DistributedMethod method(this, 175); 
     2259                DistributedMethod method(this, 176); 
    22472260                method.addAsciiParameter(bio); 
    22482261 
     
    22572270                        throw ObjectNotDeployedException(this); 
    22582271 
    2259                 DistributedMethod method(this, 176); 
     2272                DistributedMethod method(this, 177); 
    22602273                method.addUnicodeParameter(bio); 
    22612274 
     
    22662279 
    22672280bool Player::changeForcePowerBar(int fp) { 
    2268         if (_impl == NULL) { 
    2269                 if (!deployed) 
    2270                         throw ObjectNotDeployedException(this); 
    2271  
    2272                 DistributedMethod method(this, 177); 
    2273                 method.addSignedIntParameter(fp); 
    2274  
    2275                 return method.executeWithBooleanReturn(); 
    2276         } else 
    2277                 return ((PlayerImplementation*) _impl)->changeForcePowerBar(fp); 
    2278 } 
    2279  
    2280 void Player::setForcePowerBar(int fp) { 
    22812281        if (_impl == NULL) { 
    22822282                if (!deployed) 
     
    22862286                method.addSignedIntParameter(fp); 
    22872287 
     2288                return method.executeWithBooleanReturn(); 
     2289        } else 
     2290                return ((PlayerImplementation*) _impl)->changeForcePowerBar(fp); 
     2291} 
     2292 
     2293void Player::setForcePowerBar(int fp) { 
     2294        if (_impl == NULL) { 
     2295                if (!deployed) 
     2296                        throw ObjectNotDeployedException(this); 
     2297 
     2298                DistributedMethod method(this, 179); 
     2299                method.addSignedIntParameter(fp); 
     2300 
    22882301                method.executeWithVoidReturn(); 
    22892302        } else 
     
    22962309                        throw ObjectNotDeployedException(this); 
    22972310 
    2298                 DistributedMethod method(this, 179); 
     2311                DistributedMethod method(this, 180); 
    22992312                method.addBooleanParameter(updateClient); 
    23002313 
     
    23052318 
    23062319void Player::setFoodFilling(int fill, bool updateClient) { 
    2307         if (_impl == NULL) { 
    2308                 if (!deployed) 
    2309                         throw ObjectNotDeployedException(this); 
    2310  
    2311                 DistributedMethod method(this, 180); 
    2312                 method.addSignedIntParameter(fill); 
    2313                 method.addBooleanParameter(updateClient); 
    2314  
    2315                 method.executeWithVoidReturn(); 
    2316         } else 
    2317                 ((PlayerImplementation*) _impl)->setFoodFilling(fill, updateClient); 
    2318 } 
    2319  
    2320 void Player::setDrinkFilling(int fill, bool updateClient) { 
    23212320        if (_impl == NULL) { 
    23222321                if (!deployed) 
     
    23292328                method.executeWithVoidReturn(); 
    23302329        } else 
    2331                 ((PlayerImplementation*) _impl)->setDrinkFilling(fill, updateClient); 
    2332 } 
    2333  
    2334 void Player::changeFoodFilling(int fill, bool updateClient) { 
     2330                ((PlayerImplementation*) _impl)->setFoodFilling(fill, updateClient); 
     2331} 
     2332 
     2333void Player::setDrinkFilling(int fill, bool updateClient) { 
    23352334        if (_impl == NULL) { 
    23362335                if (!deployed) 
     
    23432342                method.executeWithVoidReturn(); 
    23442343        } else 
    2345                 ((PlayerImplementation*) _impl)->changeFoodFilling(fill, updateClient); 
    2346 } 
    2347  
    2348 void Player::changeDrinkFilling(int fill, bool updateClient) { 
     2344                ((PlayerImplementation*) _impl)->setDrinkFilling(fill, updateClient); 
     2345} 
     2346 
     2347void Player::changeFoodFilling(int fill, bool updateClient) { 
    23492348        if (_impl == NULL) { 
    23502349                if (!deployed) 
     
    23572356                method.executeWithVoidReturn(); 
    23582357        } else 
     2358                ((PlayerImplementation*) _impl)->changeFoodFilling(fill, updateClient); 
     2359} 
     2360 
     2361void Player::changeDrinkFilling(int fill, bool updateClient) { 
     2362        if (_impl == NULL) { 
     2363                if (!deployed) 
     2364                        throw ObjectNotDeployedException(this); 
     2365 
     2366                DistributedMethod method(this, 184); 
     2367                method.addSignedIntParameter(fill); 
     2368                method.addBooleanParameter(updateClient); 
     2369 
     2370                method.executeWithVoidReturn(); 
     2371        } else 
    23592372                ((PlayerImplementation*) _impl)->changeDrinkFilling(fill, updateClient); 
    23602373} 
     
    23652378                        throw ObjectNotDeployedException(this); 
    23662379 
    2367                 DistributedMethod method(this, 184); 
     2380                DistributedMethod method(this, 185); 
    23682381                method.addObjectParameter(attacker); 
    23692382 
     
    23782391                        throw ObjectNotDeployedException(this); 
    23792392 
    2380                 DistributedMethod method(this, 185); 
     2393                DistributedMethod method(this, 186); 
    23812394 
    23822395                return method.executeWithSignedIntReturn(); 
     
    23902403                        throw ObjectNotDeployedException(this); 
    23912404 
    2392                 DistributedMethod method(this, 186); 
     2405                DistributedMethod method(this, 187); 
    23932406 
    23942407                return method.executeWithSignedIntReturn(); 
     
    24022415                        throw ObjectNotDeployedException(this); 
    24032416 
    2404                 DistributedMethod method(this, 187); 
     2417                DistributedMethod method(this, 188); 
    24052418 
    24062419                method.executeWithVoidReturn(); 
     
    24142427                        throw ObjectNotDeployedException(this); 
    24152428 
    2416                 DistributedMethod method(this, 188); 
     2429                DistributedMethod method(this, 189); 
    24172430 
    24182431                method.executeWithVoidReturn(); 
     
    24262439                        throw ObjectNotDeployedException(this); 
    24272440 
    2428                 DistributedMethod method(this, 189); 
     2441                DistributedMethod method(this, 190); 
    24292442                method.addUnsignedLongParameter(id); 
    24302443 
     
    24392452                        throw ObjectNotDeployedException(this); 
    24402453 
    2441                 DistributedMethod method(this, 190); 
     2454                DistributedMethod method(this, 191); 
    24422455                method.addAsciiParameter(prof); 
    24432456 
     
    24522465                        throw ObjectNotDeployedException(this); 
    24532466 
    2454                 DistributedMethod method(this, 191); 
     2467                DistributedMethod method(this, 192); 
    24552468                method.addAsciiParameter(hair); 
    24562469 
     
    24652478                        throw ObjectNotDeployedException(this); 
    24662479 
    2467                 DistributedMethod method(this, 192); 
     2480                DistributedMethod method(this, 193); 
    24682481 
    24692482                method.executeWithVoidReturn(); 
     
    24772490                        throw ObjectNotDeployedException(this); 
    24782491 
    2479                 DistributedMethod method(this, 193); 
     2492                DistributedMethod method(this, 194); 
    24802493                method.addObjectParameter(obj); 
    24812494 
     
    24902503                        throw ObjectNotDeployedException(this); 
    24912504 
    2492                 DistributedMethod method(this, 194); 
     2505                DistributedMethod method(this, 195); 
    24932506 
    24942507                method.executeWithVoidReturn(); 
     
    25022515                        throw ObjectNotDeployedException(this); 
    25032516 
    2504                 DistributedMethod method(this, 195); 
     2517                DistributedMethod method(this, 196); 
    25052518 
    25062519                method.executeWithVoidReturn(); 
     
    25142527                        throw ObjectNotDeployedException(this); 
    25152528 
    2516                 DistributedMethod method(this, 196); 
     2529                DistributedMethod method(this, 197); 
    25172530                method.addObjectParameter(client); 
    25182531 
     
    25272540                        throw ObjectNotDeployedException(this); 
    25282541 
    2529                 DistributedMethod method(this, 197); 
     2542                DistributedMethod method(this, 198); 
    25302543 
    25312544                method.executeWithVoidReturn(); 
     
    25392552                        throw ObjectNotDeployedException(this); 
    25402553 
    2541                 DistributedMethod method(this, 198); 
     2554                DistributedMethod method(this, 199); 
    25422555 
    25432556                method.executeWithVoidReturn(); 
     
    25512564                        throw ObjectNotDeployedException(this); 
    25522565 
    2553                 DistributedMethod method(this, 199); 
     2566                DistributedMethod method(this, 200); 
    25542567 
    25552568                method.executeWithVoidReturn(); 
     
    25632576                        throw ObjectNotDeployedException(this); 
    25642577 
    2565                 DistributedMethod method(this, 200); 
     2578                DistributedMethod method(this, 201); 
    25662579 
    25672580                return method.executeWithBooleanReturn(); 
     
    25752588                        throw ObjectNotDeployedException(this); 
    25762589 
    2577                 DistributedMethod method(this, 201); 
     2590                DistributedMethod method(this, 202); 
    25782591 
    25792592                return method.executeWithBooleanReturn(); 
     
    25872600                        throw ObjectNotDeployedException(this); 
    25882601 
    2589                 DistributedMethod method(this, 202); 
     2602                DistributedMethod method(this, 203); 
    25902603 
    25912604                return method.executeWithBooleanReturn(); 
     
    25992612                        throw ObjectNotDeployedException(this); 
    26002613 
    2601                 DistributedMethod method(this, 203); 
     2614                DistributedMethod method(this, 204); 
    26022615                method.addUnsignedCharParameter(status); 
    26032616                method.addUnsignedIntParameter(timer); 
     
    26132626                        throw ObjectNotDeployedException(this); 
    26142627 
    2615                 DistributedMethod method(this, 204); 
     2628                DistributedMethod method(this, 205); 
    26162629                method.addAsciiParameter(name); 
    26172630 
     
    26262639                        throw ObjectNotDeployedException(this); 
    26272640 
    2628                 DistributedMethod method(this, 205); 
     2641                DistributedMethod method(this, 206); 
    26292642                method.addUnsignedCharParameter(id); 
    26302643 
     
    26392652                        throw ObjectNotDeployedException(this); 
    26402653 
    2641                 DistributedMethod method(this, 206); 
     2654                DistributedMethod method(this, 207); 
    26422655                method.addAsciiParameter(loc); 
    26432656 
     
    26522665                        throw ObjectNotDeployedException(this); 
    26532666 
    2654                 DistributedMethod method(this, 207); 
     2667                DistributedMethod method(this, 208); 
    26552668                method.addUnsignedIntParameter(shift); 
    26562669 
     
    26652678                        throw ObjectNotDeployedException(this); 
    26662679 
    2667                 DistributedMethod method(this, 208); 
     2680                DistributedMethod method(this, 209); 
    26682681                method.addUnsignedIntParameter(bit); 
    26692682 
     
    26782691                        throw ObjectNotDeployedException(this); 
    26792692 
    2680                 DistributedMethod method(this, 209); 
     2693                DistributedMethod method(this, 210); 
    26812694                method.addUnsignedIntParameter(badgeindex); 
    26822695 
     
    26912704                        throw ObjectNotDeployedException(this); 
    26922705 
    2693                 DistributedMethod method(this, 210); 
     2706                DistributedMethod method(this, 211); 
    26942707 
    26952708                method.executeWithVoidReturn(); 
     
    27032716                        throw ObjectNotDeployedException(this); 
    27042717 
    2705                 DistributedMethod method(this, 211); 
     2718                DistributedMethod method(this, 212); 
    27062719 
    27072720                method.executeWithVoidReturn(); 
     
    27152728                        throw ObjectNotDeployedException(this); 
    27162729 
    2717                 DistributedMethod method(this, 212); 
     2730                DistributedMethod method(this, 213); 
    27182731                method.addSignedIntParameter(level); 
    27192732 
     
    27282741                        throw ObjectNotDeployedException(this); 
    27292742 
    2730                 DistributedMethod method(this, 213); 
     2743                DistributedMethod method(this, 214); 
    27312744 
    27322745                return method.executeWithSignedIntReturn(); 
     
    27362749 
    27372750void Player::setLastTestPositionX(float pos) { 
    2738         if (_impl == NULL) { 
    2739                 if (!deployed) 
    2740                         throw ObjectNotDeployedException(this); 
    2741  
    2742                 DistributedMethod method(this, 214); 
    2743                 method.addFloatParameter(pos); 
    2744  
    2745                 method.executeWithVoidReturn(); 
    2746         } else 
    2747                 ((PlayerImplementation*) _impl)->setLastTestPositionX(pos); 
    2748 } 
    2749  
    2750 void Player::setLastTestPositionY(float pos) { 
    27512751        if (_impl == NULL) { 
    27522752                if (!deployed) 
     
    27582758                method.executeWithVoidReturn(); 
    27592759        } else 
     2760                ((PlayerImplementation*) _impl)->setLastTestPositionX(pos); 
     2761} 
     2762 
     2763void Player::setLastTestPositionY(float pos) { 
     2764        if (_impl == NULL) { 
     2765                if (!deployed) 
     2766                        throw ObjectNotDeployedException(this); 
     2767 
     2768                DistributedMethod method(this, 216); 
     2769                method.addFloatParameter(pos); 
     2770 
     2771                method.executeWithVoidReturn(); 
     2772        } else 
    27602773                ((PlayerImplementation*) _impl)->setLastTestPositionY(pos); 
    27612774} 
     
    27662779                        throw ObjectNotDeployedException(this); 
    27672780 
    2768                 DistributedMethod method(this, 216); 
     2781                DistributedMethod method(this, 217); 
    27692782                method.addUnsignedLongParameter(ID); 
    27702783 
     
    27792792                        throw ObjectNotDeployedException(this); 
    27802793 
    2781                 DistributedMethod method(this, 217); 
     2794                DistributedMethod method(this, 218); 
    27822795 
    27832796                return method.executeWithUnsignedLongReturn(); 
     
    27912804                        throw ObjectNotDeployedException(this); 
    27922805 
    2793                 DistributedMethod method(this, 218); 
     2806                DistributedMethod method(this, 219); 
    27942807                method.addSignedIntParameter(anim); 
    27952808 
     
    28002813 
    28012814void Player::sendMessage(BaseMessage* msg) { 
    2802         if (_impl == NULL) { 
    2803                 if (!deployed) 
    2804                         throw ObjectNotDeployedException(this); 
    2805  
    2806                 DistributedMethod method(this, 219); 
    2807                 method.addObjectParameter(msg); 
    2808  
    2809                 method.executeWithVoidReturn(); 
    2810         } else 
    2811                 ((PlayerImplementation*) _impl)->sendMessage(msg); 
    2812 } 
    2813  
    2814 void Player::sendMessage(StandaloneBaseMessage* msg) { 
    28152815        if (_impl == NULL) { 
    28162816                if (!deployed) 
     
    28252825} 
    28262826 
     2827void Player::sendMessage(StandaloneBaseMessage* msg) { 
     2828        if (_impl == NULL) { 
     2829                if (!deployed) 
     2830                        throw ObjectNotDeployedException(this); 
     2831 
     2832                DistributedMethod method(this, 221); 
     2833                method.addObjectParameter(msg); 
     2834 
     2835                method.executeWithVoidReturn(); 
     2836        } else 
     2837                ((PlayerImplementation*) _impl)->sendMessage(msg); 
     2838} 
     2839 
    28272840bool Player::isJedi() { 
    28282841        if (_impl == NULL) { 
     
    28302843                        throw ObjectNotDeployedException(this); 
    28312844 
    2832                 DistributedMethod method(this, 221); 
     2845                DistributedMethod method(this, 222); 
    28332846 
    28342847                return method.executeWithBooleanReturn(); 
     
    28422855                        throw ObjectNotDeployedException(this); 
    28432856 
    2844                 DistributedMethod method(this, 222); 
     2857                DistributedMethod method(this, 223); 
    28452858 
    28462859                method.executeWithVoidReturn(); 
     
    28542867                        throw ObjectNotDeployedException(this); 
    28552868 
    2856                 DistributedMethod method(this, 223); 
     2869                DistributedMethod method(this, 224); 
    28572870 
    28582871                method.executeWithVoidReturn(); 
     
    28662879                        throw ObjectNotDeployedException(this); 
    28672880 
    2868                 DistributedMethod method(this, 224); 
     2881                DistributedMethod method(this, 225); 
    28692882                method.addUnsignedIntParameter(boxID); 
    28702883 
     
    28752888 
    28762889bool Player::hasSuiBoxType(unsigned int boxTypeID) { 
    2877         if (_impl == NULL) { 
    2878                 if (!deployed) 
    2879                         throw ObjectNotDeployedException(this); 
    2880  
    2881                 DistributedMethod method(this, 225); 
    2882                 method.addUnsignedIntParameter(boxTypeID); 
    2883  
    2884                 return method.executeWithBooleanReturn(); 
    2885         } else 
    2886                 return ((PlayerImplementation*) _impl)->hasSuiBoxType(boxTypeID); 
    2887 } 
    2888  
    2889 unsigned int Player::getSuiBoxFromType(unsigned int boxTypeID) { 
    28902890        if (_impl == NULL) { 
    28912891                if (!deployed) 
     
    28952895                method.addUnsignedIntParameter(boxTypeID); 
    28962896 
     2897                return method.executeWithBooleanReturn(); 
     2898        } else 
     2899                return ((PlayerImplementation*) _impl)->hasSuiBoxType(boxTypeID); 
     2900} 
     2901 
     2902unsigned int Player::getSuiBoxFromType(unsigned int boxTypeID) { 
     2903        if (_impl == NULL) { 
     2904                if (!deployed) 
     2905                        throw ObjectNotDeployedException(this); 
     2906 
     2907                DistributedMethod method(this, 227); 
     2908                method.addUnsignedIntParameter(boxTypeID); 
     2909 
    28972910                return method.executeWithUnsignedIntReturn(); 
    28982911        } else 
     
    29012914 
    29022915void Player::removeSuiBox(unsigned int boxID) { 
    2903         if (_impl == NULL) { 
    2904                 if (!deployed) 
    2905                         throw ObjectNotDeployedException(this); 
    2906  
    2907                 DistributedMethod method(this, 227); 
    2908                 method.addUnsignedIntParameter(boxID); 
    2909  
    2910                 method.executeWithVoidReturn(); 
    2911         } else 
    2912                 ((PlayerImplementation*) _impl)->removeSuiBox(boxID); 
    2913 } 
    2914  
    2915 SuiBox* Player::getSuiBox(unsigned int boxID) { 
    29162916        if (_impl == NULL) { 
    29172917                if (!deployed) 
     
    29212921                method.addUnsignedIntParameter(boxID); 
    29222922 
     2923                method.executeWithVoidReturn(); 
     2924        } else 
     2925                ((PlayerImplementation*) _impl)->removeSuiBox(boxID); 
     2926} 
     2927 
     2928SuiBox* Player::getSuiBox(unsigned int boxID) { 
     2929        if (_impl == NULL) { 
     2930                if (!deployed) 
     2931                        throw ObjectNotDeployedException(this); 
     2932 
     2933                DistributedMethod method(this, 229); 
     2934                method.addUnsignedIntParameter(boxID); 
     2935 
    29232936                return (SuiBox*) method.executeWithObjectReturn(); 
    29242937        } else 
     
    29312944                        throw ObjectNotDeployedException(this); 
    29322945 
    2933                 DistributedMethod method(this, 229); 
     2946                DistributedMethod method(this, 230); 
    29342947                method.addObjectParameter(sui); 
    29352948 
     
    29442957                        throw ObjectNotDeployedException(this); 
    29452958 
    2946                 DistributedMethod method(this, 230); 
     2959                DistributedMethod method(this, 231); 
    29472960                method.addUnsignedIntParameter(type); 
    29482961 
     
    29572970                        throw ObjectNotDeployedException(this); 
    29582971 
    2959                 DistributedMethod method(this, 231); 
     2972                DistributedMethod method(this, 232); 
    29602973 
    29612974                return method.executeWithBooleanReturn(); 
     
    29692982                        throw ObjectNotDeployedException(this); 
    29702983 
    2971                 DistributedMethod method(this, 232); 
     2984                DistributedMethod method(this, 233); 
    29722985 
    29732986                return method.executeWithBooleanReturn(); 
     
    29812994                        throw ObjectNotDeployedException(this); 
    29822995 
    2983                 DistributedMethod method(this, 233); 
     2996                DistributedMethod method(this, 234); 
    29842997 
    29852998                return method.executeWithBooleanReturn(); 
     
    29933006                        throw ObjectNotDeployedException(this); 
    29943007 
    2995                 DistributedMethod method(this, 234); 
     3008                DistributedMethod method(this, 235); 
    29963009 
    29973010                return method.executeWithBooleanReturn(); 
     
    30053018                        throw ObjectNotDeployedException(this); 
    30063019 
    3007                 DistributedMethod method(this, 235); 
     3020                DistributedMethod method(this, 236); 
    30083021 
    30093022                return method.executeWithBooleanReturn(); 
     
    30173030                        throw ObjectNotDeployedException(this); 
    30183031 
    3019                 DistributedMethod method(this, 236); 
     3032                DistributedMethod method(this, 237); 
    30203033 
    30213034                return (PlayerObject*) method.executeWithObjectReturn(); 
     
    30293042                        throw ObjectNotDeployedException(this); 
    30303043 
    3031                 DistributedMethod method(this, 237); 
     3044                DistributedMethod method(this, 238); 
    30323045 
    30333046                return (CreatureObject*) method.executeWithObjectReturn(); 
     
    30413054                        throw ObjectNotDeployedException(this); 
    30423055 
    3043                 DistributedMethod method(this, 238); 
     3056                DistributedMethod method(this, 239); 
    30443057 
    30453058                method.executeWithAsciiReturn(_return_getFirstName); 
     
    30543067                        throw ObjectNotDeployedException(this); 
    30553068 
    3056                 DistributedMethod method(this, 239); 
     3069                DistributedMethod method(this, 240); 
    30573070 
    30583071                method.executeWithAsciiReturn(_return_getLastName); 
     
    30673080                        throw ObjectNotDeployedException(this); 
    30683081 
    3069                 DistributedMethod method(this, 240); 
     3082                DistributedMethod method(this, 241); 
    30703083 
    30713084                method.executeWithAsciiReturn(_return_getFirstNameProper); 
     
    30803093                        throw ObjectNotDeployedException(this); 
    30813094 
    3082                 DistributedMethod method(this, 241); 
     3095                DistributedMethod method(this, 242); 
    30833096 
    30843097                method.executeWithAsciiReturn(_return_getRaceFileName); 
     
    30933106                        throw ObjectNotDeployedException(this); 
    30943107 
    3095                 DistributedMethod method(this, 242); 
     3108                DistributedMethod method(this, 243); 
    30963109 
    30973110                return method.executeWithUnsignedCharReturn(); 
     
    31053118                        throw ObjectNotDeployedException(this); 
    31063119 
    3107                 DistributedMethod method(this, 243); 
     3120                DistributedMethod method(this, 244); 
    31083121 
    31093122                method.executeWithUnicodeReturn(_return_getBiography); 
     
    31183131                        throw ObjectNotDeployedException(this); 
    31193132 
    3120                 DistributedMethod method(this, 244); 
     3133                DistributedMethod method(this, 245); 
    31213134 
    31223135                return method.executeWithUnsignedLongReturn(); 
     
    31303143                        throw ObjectNotDeployedException(this); 
    31313144 
    3132                 DistributedMethod method(this, 245); 
     3145                DistributedMethod method(this, 246); 
    31333146 
    31343147                method.executeWithAsciiReturn(_return_getStartingProfession); 
     
    31433156                        throw ObjectNotDeployedException(this); 
    31443157 
    3145                 DistributedMethod method(this, 246); 
     3158                DistributedMethod method(this, 247); 
    31463159 
    31473160                return method.executeWithSignedIntReturn(); 
     
    31553168                        throw ObjectNotDeployedException(this); 
    31563169 
    3157                 DistributedMethod method(this, 247); 
     3170                DistributedMethod method(this, 248); 
    31583171 
    31593172                method.executeWithAsciiReturn(_return_getHairObject); 
     
    31683181                        throw ObjectNotDeployedException(this); 
    31693182 
    3170                 DistributedMethod method(this, 248); 
     3183                DistributedMethod method(this, 249); 
    31713184 
    31723185                return (ZoneClientSession*) method.executeWithObjectReturn(); 
     
    31803193                        throw ObjectNotDeployedException(this); 
    31813194 
    3182                 DistributedMethod method(this, 249); 
     3195                DistributedMethod method(this, 250); 
    31833196 
    31843197                return (GroupObject*) method.executeWithObjectReturn(); 
     
    31923205                        throw ObjectNotDeployedException(this); 
    31933206 
    3194                 DistributedMethod method(this, 250); 
     3207                DistributedMethod method(this, 251); 
    31953208 
    31963209                return method.executeWithSignedIntReturn(); 
     
    32003213 
    32013214void Player::setPvpRating(int value) { 
    3202         if (_impl == NULL) { 
    3203                 if (!deployed) 
    3204                         throw ObjectNotDeployedException(this); 
    3205  
    3206                 DistributedMethod method(this, 251); 
    3207                 method.addSignedIntParameter(value); 
    3208  
    3209                 method.executeWithVoidReturn(); 
    3210         } else 
    3211                 ((PlayerImplementation*) _impl)->setPvpRating(value); 
    3212 } 
    3213  
    3214 void Player::increasePvpRating(int value) { 
    32153215        if (_impl == NULL) { 
    32163216                if (!deployed) 
     
    32223222                method.executeWithVoidReturn(); 
    32233223        } else 
    3224                 ((PlayerImplementation*) _impl)->increasePvpRating(value); 
    3225 } 
    3226  
    3227 void Player::decreasePvpRating(int value) { 
     3224                ((PlayerImplementation*) _impl)->setPvpRating(value); 
     3225} 
     3226 
     3227void Player::increasePvpRating(int value) { 
    32283228        if (_impl == NULL) { 
    32293229                if (!deployed) 
     
    32353235                method.executeWithVoidReturn(); 
    32363236        } else 
     3237                ((PlayerImplementation*) _impl)->increasePvpRating(value); 
     3238} 
     3239 
     3240void Player::decreasePvpRating(int value) { 
     3241        if (_impl == NULL) { 
     3242                if (!deployed) 
     3243                        throw ObjectNotDeployedException(this); 
     3244 
     3245                DistributedMethod method(this, 254); 
     3246                method.addSignedIntParameter(value); 
     3247 
     3248                method.executeWithVoidReturn(); 
     3249        } else 
    32373250                ((PlayerImplementation*) _impl)->decreasePvpRating(value); 
    32383251} 
     
    32433256                        throw ObjectNotDeployedException(this); 
    32443257 
    3245                 DistributedMethod method(this, 254); 
     3258                DistributedMethod method(this, 255); 
    32463259 
    32473260                method.executeWithVoidReturn(); 
     
    32553268                        throw ObjectNotDeployedException(this); 
    32563269 
    3257                 DistributedMethod method(this, 255); 
     3270                DistributedMethod method(this, 256); 
    32583271 
    32593272                return method.executeWithSignedIntReturn(); 
     
    32673280                        throw ObjectNotDeployedException(this); 
    32683281 
    3269                 DistributedMethod method(this, 256); 
     3282                DistributedMethod method(this, 257); 
    32703283 
    32713284                return method.executeWithSignedIntReturn(); 
     
    32793292                        throw ObjectNotDeployedException(this); 
    32803293 
    3281                 DistributedMethod method(this, 257); 
     3294                DistributedMethod method(this, 258); 
    32823295                method.addSignedIntParameter(idx); 
    32833296 
     
    32933306                        throw ObjectNotDeployedException(this); 
    32943307 
    3295                 DistributedMethod method(this, 258); 
     3308                DistributedMethod method(this, 259); 
    32963309                method.addAsciiParameter(certification); 
    32973310 
     
    33063319                        throw ObjectNotDeployedException(this); 
    33073320 
    3308                 DistributedMethod method(this, 259); 
     3321                DistributedMethod method(this, 260); 
    33093322 
    33103323                return method.executeWithSignedIntReturn(); 
     
    33183331                        throw ObjectNotDeployedException(this); 
    33193332 
    3320                 DistributedMethod method(this, 260); 
     3333                DistributedMethod method(this, 261); 
    33213334 
    33223335                return method.executeWithBooleanReturn(); 
     
    33303343                        throw ObjectNotDeployedException(this); 
    33313344 
    3332                 DistributedMethod method(this, 261); 
     3345                DistributedMethod method(this, 262); 
    33333346 
    33343347                return method.executeWithBooleanReturn(); 
     
    33423355                        throw ObjectNotDeployedException(this); 
    33433356 
    3344                 DistributedMethod method(this, 262); 
     3357                DistributedMethod method(this, 263); 
    33453358 
    33463359                method.executeWithAsciiReturn(_return_getInputBoxReturnBuffer); 
     
    33553368                        throw ObjectNotDeployedException(this); 
    33563369 
    3357                 DistributedMethod method(this, 263); 
     3370                DistributedMethod method(this, 264); 
    33583371 
    33593372                return method.executeWithUnsignedIntReturn(); 
     
    33673380                        throw ObjectNotDeployedException(this); 
    33683381 
    3369                 DistributedMethod method(this, 264); 
     3382                DistributedMethod method(this, 265); 
    33703383                method.addSignedIntParameter(tcb); 
    33713384 
     
    33803393                        throw ObjectNotDeployedException(this); 
    33813394 
    3382                 DistributedMethod method(this, 265); 
     3395                DistributedMethod method(this, 266); 
    33833396                method.addSignedIntParameter(tms); 
    33843397 
     
    33933406                        throw ObjectNotDeployedException(this); 
    33943407 
    3395                 DistributedMethod method(this, 266); 
     3408                DistributedMethod method(this, 267); 
    33963409                method.addAsciiParameter(tck); 
    33973410 
     
    34063419                        throw ObjectNotDeployedException(this); 
    34073420 
    3408                 DistributedMethod method(this, 267); 
     3421                DistributedMethod method(this, 268); 
    34093422                method.addAsciiParameter(tmk); 
    34103423 
     
    34193432                        throw ObjectNotDeployedException(this); 
    34203433 
    3421                 DistributedMethod method(this, 268); 
     3434                DistributedMethod method(this, 269); 
    34223435                method.addAsciiParameter(tck); 
    34233436 
     
    34323445                        throw ObjectNotDeployedException(this); 
    34333446 
    3434                 DistributedMethod method(this, 269); 
     3447                DistributedMethod method(this, 270); 
    34353448                method.addAsciiParameter(tmp); 
    34363449 
     
    34453458                        throw ObjectNotDeployedException(this); 
    34463459 
    3447                 DistributedMethod method(this, 270); 
     3460                DistributedMethod method(this, 271); 
    34483461                method.addAsciiParameter(tmk); 
    34493462 
     
    34583471                        throw ObjectNotDeployedException(this); 
    34593472 
    3460                 DistributedMethod method(this, 271); 
     3473                DistributedMethod method(this, 272); 
    34613474 
    34623475                return (CraftingTool*) method.executeWithObjectReturn(); 
     
    34703483                        throw ObjectNotDeployedException(this); 
    34713484 
    3472                 DistributedMethod method(this, 272); 
     3485                DistributedMethod method(this, 273); 
    34733486                method.addSignedIntParameter(type); 
    34743487                method.addBooleanParameter(doLock); 
     
    34843497                        throw ObjectNotDeployedException(this); 
    34853498 
    3486                 DistributedMethod method(this, 273); 
     3499                DistributedMethod method(this, 274); 
    34873500                method.addObjectParameter(ct); 
    34883501 
     
    34973510                        throw ObjectNotDeployedException(this); 
    34983511 
    3499                 DistributedMethod method(this, 274); 
     3512                DistributedMethod method(this, 275); 
    35003513 
    35013514                method.executeWithVoidReturn(); 
     
    35093522                        throw ObjectNotDeployedException(this); 
    35103523 
    3511                 DistributedMethod method(this, 275); 
     3524                DistributedMethod method(this, 276); 
    35123525                method.addObjectParameter(ct); 
    35133526                method.addObjectParameter(ds); 
     
    35233536                        throw ObjectNotDeployedException(this); 
    35243537 
    3525                 DistributedMethod method(this, 276); 
     3538                DistributedMethod method(this, 277); 
    35263539                method.addObjectParameter(tano); 
    35273540                method.addSignedIntParameter(slot); 
     
    35383551                        throw ObjectNotDeployedException(this); 
    35393552 
    3540                 DistributedMethod method(this, 277); 
     3553                DistributedMethod method(this, 278); 
    35413554                method.addUnsignedLongParameter(resID); 
    35423555                method.addSignedIntParameter(slot); 
     
    35533566                        throw ObjectNotDeployedException(this); 
    35543567 
    3555                 DistributedMethod method(this, 278); 
     3568                DistributedMethod method(this, 279); 
    35563569                method.addAsciiParameter(test); 
    35573570 
     
    35663579                        throw ObjectNotDeployedException(this); 
    35673580 
    3568                 DistributedMethod method(this, 279); 
     3581                DistributedMethod method(this, 280); 
    35693582                method.addAsciiParameter(name); 
    35703583                method.addSignedIntParameter(condition); 
     
    35803593                        throw ObjectNotDeployedException(this); 
    35813594 
    3582                 DistributedMethod method(this, 280); 
    3583                 method.addAsciiParameter(count); 
    3584  
    3585                 method.executeWithVoidReturn(); 
    3586         } else 
    3587                 ((PlayerImplementation*) _impl)->createPrototype(count); 
    3588 } 
    3589  
    3590 void Player::createSchematic(string& count) { 
    3591         if (_impl == NULL) { 
    3592                 if (!deployed) 
    3593                         throw ObjectNotDeployedException(this); 
    3594  
    35953595                DistributedMethod method(this, 281); 
    35963596                method.addAsciiParameter(count); 
     
    35983598                method.executeWithVoidReturn(); 
    35993599        } else 
     3600                ((PlayerImplementation*) _impl)->createPrototype(count); 
     3601} 
     3602 
     3603void Player::createSchematic(string& count) { 
     3604        if (_impl == NULL) { 
     3605                if (!deployed) 
     3606                        throw ObjectNotDeployedException(this); 
     3607 
     3608                DistributedMethod method(this, 282); 
     3609                method.addAsciiParameter(count); 
     3610 
     3611                method.executeWithVoidReturn(); 
     3612        } else 
    36003613                ((PlayerImplementation*) _impl)->createSchematic(count); 
    36013614} 
     
    36063619                        throw ObjectNotDeployedException(this); 
    36073620 
    3608                 DistributedMethod method(this, 282); 
     3621                DistributedMethod method(this, 283); 
    36093622                method.addSignedIntParameter(count); 
    36103623                method.addSignedIntParameter(numRowsAttempted); 
     
    36213634                        throw ObjectNotDeployedException(this); 
    36223635 
    3623                 DistributedMethod method(this, 283); 
     3636                DistributedMethod method(this, 284); 
    36243637 
    36253638                method.executeWithVoidReturn(); 
     
    36293642 
    36303643void Player::addDraftSchematicsFromGroupName(const string& schematicGroupName) { 
    3631         if (_impl == NULL) { 
    3632                 if (!deployed) 
    3633                         throw ObjectNotDeployedException(this); 
    3634  
    3635                 DistributedMethod method(this, 284); 
    3636                 method.addAsciiParameter(schematicGroupName); 
    3637  
    3638                 method.executeWithVoidReturn(); 
    3639         } else 
    3640                 ((PlayerImplementation*) _impl)->addDraftSchematicsFromGroupName(schematicGroupName); 
    3641 } 
    3642  
    3643 void Player::subtractDraftSchematicsFromGroupName(const string& schematicGroupName) { 
    36443644        if (_impl == NULL) { 
    36453645                if (!deployed) 
     
    36513651                method.executeWithVoidReturn(); 
    36523652        } else 
     3653                ((PlayerImplementation*) _impl)->addDraftSchematicsFromGroupName(schematicGroupName); 
     3654} 
     3655 
     3656void Player::subtractDraftSchematicsFromGroupName(const string& schematicGroupName) { 
     3657        if (_impl == NULL) { 
     3658                if (!deployed) 
     3659                        throw ObjectNotDeployedException(this); 
     3660 
     3661                DistributedMethod method(this, 286); 
     3662                method.addAsciiParameter(schematicGroupName); 
     3663 
     3664                method.executeWithVoidReturn(); 
     3665        } else 
    36533666                ((PlayerImplementation*) _impl)->subtractDraftSchematicsFromGroupName(schematicGroupName); 
    36543667} 
    36553668 
    36563669void Player::addDraftSchematic(DraftSchematic* ds) { 
    3657         if (_impl == NULL) { 
    3658                 if (!deployed) 
    3659                         throw ObjectNotDeployedException(this); 
    3660  
    3661                 DistributedMethod method(this, 286); 
    3662                 method.addObjectParameter(ds); 
    3663  
    3664                 method.executeWithVoidReturn(); 
    3665         } else 
    3666                 ((PlayerImplementation*) _impl)->addDraftSchematic(ds); 
    3667 } 
    3668  
    3669 void Player::subtractDraftSchematic(DraftSchematic* ds) { 
    36703670        if (_impl == NULL) { 
    36713671                if (!deployed) 
     
    36773677                method.executeWithVoidReturn(); 
    36783678        } else 
     3679                ((PlayerImplementation*) _impl)->addDraftSchematic(ds); 
     3680} 
     3681 
     3682void Player::subtractDraftSchematic(DraftSchematic* ds) { 
     3683        if (_impl == NULL) { 
     3684                if (!deployed) 
     3685                        throw ObjectNotDeployedException(this); 
     3686 
     3687                DistributedMethod method(this, 288); 
     3688                method.addObjectParameter(ds); 
     3689 
     3690                method.executeWithVoidReturn(); 
     3691        } else 
    36793692                ((PlayerImplementation*) _impl)->subtractDraftSchematic(ds); 
    36803693} 
     
    36853698                        throw ObjectNotDeployedException(this); 
    36863699 
    3687                 DistributedMethod method(this, 288); 
     3700                DistributedMethod method(this, 289); 
    36883701 
    36893702                return method.executeWithUnsignedIntReturn(); 
     
    36973710                        throw ObjectNotDeployedException(this); 
    36983711 
    3699                 DistributedMethod method(this, 289); 
     3712                DistributedMethod method(this, 290); 
    37003713                method.addUnsignedIntParameter(count); 
    37013714 
     
    37103723                        throw ObjectNotDeployedException(this); 
    37113724 
    3712                 DistributedMethod method(this, 290); 
     3725                DistributedMethod method(this, 291); 
    37133726                method.addUnsignedIntParameter(schematicID); 
    37143727 
     
    37233736                        throw ObjectNotDeployedException(this); 
    37243737 
    3725                 DistributedMethod method(this, 291); 
     3738                DistributedMethod method(this, 292); 
    37263739                method.addSignedIntParameter(index); 
    37273740 
     
    37363749                        throw ObjectNotDeployedException(this); 
    37373750 
    3738                 DistributedMethod method(this, 292); 
     3751                DistributedMethod method(this, 293); 
    37393752 
    37403753                return method.executeWithBooleanReturn(); 
     
    37483761                        throw ObjectNotDeployedException(this); 
    37493762 
    3750                 DistributedMethod method(this, 293); 
     3763                DistributedMethod method(this, 294); 
    37513764 
    37523765                return (Datapad*) method.executeWithObjectReturn(); 
     
    37603773                        throw ObjectNotDeployedException(this); 
    37613774 
    3762                 DistributedMethod method(this, 294); 
     3775                DistributedMethod method(this, 295); 
    37633776 
    37643777                return method.executeWithUnsignedLongReturn(); 
     
    37723785                        throw ObjectNotDeployedException(this); 
    37733786 
    3774                 DistributedMethod method(this, 295); 
     3787                DistributedMethod method(this, 296); 
    37753788 
    37763789                return method.executeWithUnsignedIntReturn(); 
     
    37843797                        throw ObjectNotDeployedException(this); 
    37853798 
    3786                 DistributedMethod method(this, 296); 
     3799                DistributedMethod method(this, 297); 
    37873800 
    37883801                return method.executeWithFloatReturn(); 
     
    37963809                        throw ObjectNotDeployedException(this); 
    37973810 
    3798                 DistributedMethod method(this, 297); 
     3811                DistributedMethod method(this, 298); 
    37993812 
    38003813                return method.executeWithFloatReturn(); 
     
    38083821                        throw ObjectNotDeployedException(this); 
    38093822 
    3810                 DistributedMethod method(this, 298); 
     3823                DistributedMethod method(this, 299); 
    38113824 
    38123825                return method.executeWithUnsignedIntReturn(); 
     
    38203833                        throw ObjectNotDeployedException(this); 
    38213834 
    3822                 DistributedMethod method(this, 299); 
     3835                DistributedMethod method(this, 300); 
    38233836 
    38243837                return method.executeWithUnsignedIntReturn(); 
     
    38323845                        throw ObjectNotDeployedException(this); 
    38333846 
    3834                 DistributedMethod method(this, 300); 
     3847                DistributedMethod method(this, 301); 
    38353848 
    38363849                return method.executeWithBooleanReturn(); 
     
    38443857                        throw ObjectNotDeployedException(this); 
    38453858 
    3846                 DistributedMethod method(this, 301); 
     3859                DistributedMethod method(this, 302); 
    38473860 
    38483861                return method.executeWithUnsignedLongReturn(); 
     
    38563869                        throw ObjectNotDeployedException(this); 
    38573870 
    3858                 DistributedMethod method(this, 302); 
     3871                DistributedMethod method(this, 303); 
    38593872                method.addUnsignedLongParameter(oid); 
    38603873 
     
    38693882                        throw ObjectNotDeployedException(this); 
    38703883 
    3871                 DistributedMethod method(this, 303); 
     3884                DistributedMethod method(this, 304); 
    38723885 
    38733886                return (SurveyTool*) method.executeWithObjectReturn(); 
     
    38813894                        throw ObjectNotDeployedException(this); 
    38823895 
    3883                 DistributedMethod method(this, 304); 
     3896                DistributedMethod method(this, 305); 
    38843897 
    38853898                return (SurveyTool*) method.executeWithObjectReturn(); 
     
    38893902 
    38903903void Player::setSurveyTool(SurveyTool* sTool) { 
    3891         if (_impl == NULL) { 
    3892                 if (!deployed) 
    3893                         throw ObjectNotDeployedException(this); 
    3894  
    3895                 DistributedMethod method(this, 305); 
    3896                 method.addObjectParameter(sTool); 
    3897  
    3898                 method.executeWithVoidReturn(); 
    3899         } else 
    3900                 ((PlayerImplementation*) _impl)->setSurveyTool(sTool); 
    3901 } 
    3902  
    3903 void Player::setSampleTool(SurveyTool* sTool) { 
    39043904        if (_impl == NULL) { 
    39053905                if (!deployed) 
     
    39113911                method.executeWithVoidReturn(); 
    39123912        } else 
     3913                ((PlayerImplementation*) _impl)->setSurveyTool(sTool); 
     3914} 
     3915 
     3916void Player::setSampleTool(SurveyTool* sTool) { 
     3917        if (_impl == NULL) { 
     3918                if (!deployed) 
     3919                        throw ObjectNotDeployedException(this); 
     3920 
     3921                DistributedMethod method(this, 307); 
     3922                method.addObjectParameter(sTool); 
     3923 
     3924                method.executeWithVoidReturn(); 
     3925        } else 
    39133926                ((PlayerImplementation*) _impl)->setSampleTool(sTool); 
    39143927} 
     
    39193932                        throw ObjectNotDeployedException(this); 
    39203933 
    3921                 DistributedMethod method(this, 307); 
     3934                DistributedMethod method(this, 308); 
    39223935                method.addObjectParameter(id); 
    39233936 
     
    39323945                        throw ObjectNotDeployedException(this); 
    39333946 
    3934                 DistributedMethod method(this, 308); 
     3947                DistributedMethod method(this, 309); 
    39353948 
    39363949                return (WaypointObject*) method.executeWithObjectReturn(); 
     
    39443957                        throw ObjectNotDeployedException(this); 
    39453958 
    3946                 DistributedMethod method(this, 309); 
     3959                DistributedMethod method(this, 310); 
    39473960 
    39483961                return method.executeWithBooleanReturn(); 
     
    39563969                        throw ObjectNotDeployedException(this); 
    39573970 
    3958                 DistributedMethod method(this, 310); 
     3971                DistributedMethod method(this, 311); 
    39593972 
    39603973                return method.executeWithBooleanReturn(); 
     
    39683981                        throw ObjectNotDeployedException(this); 
    39693982 
    3970                 DistributedMethod method(this, 311); 
     3983                DistributedMethod method(this, 312); 
    39713984 
    39723985                method.executeWithVoidReturn(); 
     
    39803993                        throw ObjectNotDeployedException(this); 
    39813994 
    3982                 DistributedMethod method(this, 312); 
     3995                DistributedMethod method(this, 313); 
    39833996 
    39843997                method.executeWithVoidReturn(); 
     
    39884001 
    39894002void Player::setSurveyEvent(string& resourcename) { 
    3990         if (_impl == NULL) { 
    3991                 if (!deployed) 
    3992                         throw ObjectNotDeployedException(this); 
    3993  
    3994                 DistributedMethod method(this, 313); 
    3995                 method.addAsciiParameter(resourcename); 
    3996  
    3997                 method.executeWithVoidReturn(); 
    3998         } else 
    3999                 ((PlayerImplementation*) _impl)->setSurveyEvent(resourcename); 
    4000 } 
    4001  
    4002 void Player::setSampleEvent(string& resourcename, bool firstTime) { 
    40034003        if (_impl == NULL) { 
    40044004                if (!deployed) 
     
    40074007                DistributedMethod method(this, 314); 
    40084008                method.addAsciiParameter(resourcename); 
     4009 
     4010                method.executeWithVoidReturn(); 
     4011        } else 
     4012                ((PlayerImplementation*) _impl)->setSurveyEvent(resourcename); 
     4013} 
     4014 
     4015void Player::setSampleEvent(string& resourcename, bool firstTime) { 
     4016        if (_impl == NULL) { 
     4017                if (!deployed) 
     4018                        throw ObjectNotDeployedException(this); 
     4019 
     4020                DistributedMethod method(this, 315); 
     4021                method.addAsciiParameter(resourcename); 
    40094022                method.addBooleanParameter(firstTime); 
    40104023 
     
    40194032                        throw ObjectNotDeployedException(this); 
    40204033 
    4021                 DistributedMethod method(this, 315); 
     4034                DistributedMethod method(this, 316); 
    40224035                method.addBooleanParameter(val); 
    40234036 
     
    40324045                        throw ObjectNotDeployedException(this); 
    40334046 
    4034                 DistributedMethod method(this, 316); 
     4047                DistributedMethod method(this, 317); 
    40354048 
    40364049                return method.executeWithBooleanReturn(); 
     
    40444057                        throw ObjectNotDeployedException(this); 
    40454058 
    4046                 DistributedMethod method(this, 317); 
     4059                DistributedMethod method(this, 318); 
    40474060 
    40484061                method.executeWithVoidReturn(); 
     
    40564069                        throw ObjectNotDeployedException(this); 
    40574070 
    4058                 DistributedMethod method(this, 318); 
     4071                DistributedMethod method(this, 319); 
    40594072 
    40604073                method.executeWithVoidReturn(); 
     
    40684081                        throw ObjectNotDeployedException(this); 
    40694082 
    4070                 DistributedMethod method(this, 319); 
     4083                DistributedMethod method(this, 320); 
    40714084 
    40724085                method.executeWithVoidReturn(); 
     
    40804093                        throw ObjectNotDeployedException(this); 
    40814094 
    4082                 DistributedMethod method(this, 320); 
     4095                DistributedMethod method(this, 321); 
    40834096 
    40844097                return method.executeWithBooleanReturn(); 
     
    40924105                        throw ObjectNotDeployedException(this); 
    40934106 
    4094                 DistributedMethod method(this, 321); 
     4107                DistributedMethod method(this, 322); 
    40954108 
    40964109                return method.executeWithBooleanReturn(); 
     
    41044117                        throw ObjectNotDeployedException(this); 
    41054118 
    4106                 DistributedMethod method(this, 322); 
     4119                DistributedMethod method(this, 323); 
    41074120                method.addAsciiParameter(mailsender); 
    41084121                method.addUnicodeParameter(subjectSender); 
     
    41204133                        throw ObjectNotDeployedException(this); 
    41214134 
    4122                 DistributedMethod method(this, 323); 
     4135                DistributedMethod method(this, 324); 
    41234136 
    41244137                method.executeWithVoidReturn(); 
     
    41324145                        throw ObjectNotDeployedException(this); 
    41334146 
    4134                 DistributedMethod method(this, 324); 
     4147                DistributedMethod method(this, 325); 
    41354148 
    41364149                method.executeWithVoidReturn(); 
     
    41444157                        throw ObjectNotDeployedException(this); 
    41454158 
    4146                 DistributedMethod method(this, 325); 
     4159                DistributedMethod method(this, 326); 
    41474160                method.addAsciiParameter(conv); 
    41484161 
     
    41574170                        throw ObjectNotDeployedException(this); 
    41584171 
    4159                 DistributedMethod method(this, 326); 
     4172                DistributedMethod method(this, 327); 
    41604173                method.addAsciiParameter(mess); 
    41614174 
     
    41704183                        throw ObjectNotDeployedException(this); 
    41714184 
    4172                 DistributedMethod method(this, 327); 
     4185                DistributedMethod method(this, 328); 
    41734186 
    41744187                method.executeWithAsciiReturn(_return_getLastNpcConvStr); 
     
    41834196                        throw ObjectNotDeployedException(this); 
    41844197 
    4185                 DistributedMethod method(this, 328); 
     4198                DistributedMethod method(this, 329); 
    41864199 
    41874200                method.executeWithAsciiReturn(_return_getLastNpcConvMessStr); 
     
    41914204} 
    41924205 
     4206string& Player::getLastNpcConvOption(int idx) { 
     4207        if (_impl == NULL) { 
     4208                if (!deployed) 
     4209                        throw ObjectNotDeployedException(this); 
     4210 
     4211                DistributedMethod method(this, 330); 
     4212                method.addSignedIntParameter(idx); 
     4213 
     4214                method.executeWithAsciiReturn(_return_getLastNpcConvOption); 
     4215                return _return_getLastNpcConvOption; 
     4216        } else 
     4217                return ((PlayerImplementation*) _impl)->getLastNpcConvOption(idx); 
     4218} 
     4219 
     4220void Player::addLastNpcConvOptions(const string& option) { 
     4221        if (_impl == NULL) { 
     4222                if (!deployed) 
     4223                        throw ObjectNotDeployedException(this); 
     4224 
     4225                DistributedMethod method(this, 331); 
     4226                method.addAsciiParameter(option); 
     4227 
     4228                method.executeWithVoidReturn(); 
     4229        } else 
     4230                ((PlayerImplementation*) _impl)->addLastNpcConvOptions(option); 
     4231} 
     4232 
     4233void Player::clearLastNpcConvOptions() { 
     4234        if (_impl == NULL) { 
     4235                if (!deployed) 
     4236                        throw ObjectNotDeployedException(this); 
     4237 
     4238                DistributedMethod method(this, 332); 
     4239 
     4240                method.executeWithVoidReturn(); 
     4241        } else 
     4242                ((PlayerImplementation*) _impl)->clearLastNpcConvOptions(); 
     4243} 
     4244 
     4245int Player::countLastNpcConvOptions() { 
     4246        if (_impl == NULL) { 
     4247                if (!deployed) 
     4248                        throw ObjectNotDeployedException(this); 
     4249 
     4250                DistributedMethod method(this, 333); 
     4251 
     4252                return method.executeWithSignedIntReturn(); 
     4253        } else 
     4254                return ((PlayerImplementation*) _impl)->countLastNpcConvOptions(); 
     4255} 
     4256 
    41934257void Player::setInputBoxReturnBuffer(const string& message) { 
    41944258        if (_impl == NULL) { 
     
    41964260                        throw ObjectNotDeployedException(this); 
    41974261 
    4198                 DistributedMethod method(this, 329); 
     4262                DistributedMethod method(this, 334); 
    41994263                method.addAsciiParameter(message); 
    42004264 
     
    42094273                        throw ObjectNotDeployedException(this); 
    42104274 
    4211                 DistributedMethod method(this, 330); 
     4275                DistributedMethod method(this, 335); 
    42124276                method.addBooleanParameter(guildLeader); 
    42134277 
     
    42224286                        throw ObjectNotDeployedException(this); 
    42234287 
    4224                 DistributedMethod method(this, 331); 
     4288                DistributedMethod method(this, 336); 
    42254289 
    42264290                method.executeWithVoidReturn(); 
     
    42344298                        throw ObjectNotDeployedException(this); 
    42354299 
    4236                 DistributedMethod method(this, 332); 
     4300                DistributedMethod method(this, 337); 
    42374301                method.addUnsignedIntParameter(bit); 
    42384302 
     
    42474311                        throw ObjectNotDeployedException(this); 
    42484312 
    4249                 DistributedMethod method(this, 333); 
     4313                DistributedMethod method(this, 338); 
    42504314 
    42514315                return method.executeWithUnsignedIntReturn(); 
     
    42594323                        throw ObjectNotDeployedException(this); 
    42604324 
    4261                 DistributedMethod method(this, 334); 
     4325                DistributedMethod method(this, 339); 
    42624326                method.addUnsignedIntParameter(bit); 
    42634327                method.addBooleanParameter(updateClient); 
     
    42734337                        throw ObjectNotDeployedException(this); 
    42744338 
    4275                 DistributedMethod method(this, 335); 
     4339                DistributedMethod method(this, 340); 
    42764340                method.addUnsignedIntParameter(bit); 
    42774341 
     
    42864350                        throw ObjectNotDeployedException(this); 
    42874351 
    4288                 DistributedMethod method(this, 336); 
     4352                DistributedMethod method(this, 341); 
    42894353                method.addUnsignedIntParameter(bit); 
    42904354                method.addBooleanParameter(updateClient); 
     
    43004364                        throw ObjectNotDeployedException(this); 
    43014365 
    4302                 DistributedMethod method(this, 337); 
     4366                DistributedMethod method(this, 342); 
    43034367                method.addAsciiParameter(faction); 
    43044368 
     
    43134377                        throw ObjectNotDeployedException(this); 
    43144378 
    4315                 DistributedMethod method(this, 338); 
     4379                DistributedMethod method(this, 343); 
    43164380                method.addAsciiParameter(faction); 
    43174381                method.addUnsignedIntParameter(points); 
     
    43274391                        throw ObjectNotDeployedException(this); 
    43284392 
    4329                 DistributedMethod method(this, 339); 
     4393                DistributedMethod method(this, 344); 
    43304394                method.addAsciiParameter(faction); 
    43314395                method.addUnsignedIntParameter(points); 
     
    43414405                        throw ObjectNotDeployedException(this); 
    43424406 
    4343                 DistributedMethod method(this, 340); 
     4407                DistributedMethod method(this, 345); 
    43444408 
    43454409                return method.executeWithSignedIntReturn(); 
     
    43534417                        throw ObjectNotDeployedException(this); 
    43544418 
    4355                 DistributedMethod method(this, 341); 
     4419                DistributedMethod method(this, 346); 
    43564420                method.addSignedIntParameter(status); 
    43574421 
     
    43664430                        throw ObjectNotDeployedException(this); 
    43674431 
    4368                 DistributedMethod method(this, 342); 
     4432                DistributedMethod method(this, 347); 
    43694433 
    43704434                return (FactionPointList*) method.executeWithObjectReturn(); 
     
    43784442                        throw ObjectNotDeployedException(this); 
    43794443 
    4380                 DistributedMethod method(this, 343); 
     4444                DistributedMethod method(this, 348); 
    43814445                method.addAsciiParameter(faction); 
    43824446 
     
    43914455                        throw ObjectNotDeployedException(this); 
    43924456 
    4393                 DistributedMethod method(this, 344); 
     4457                DistributedMethod method(this, 349); 
    43944458                method.addObjectParameter(player); 
    43954459                method.addUnsignedIntParameter(amount); 
     
    44054469                        throw ObjectNotDeployedException(this); 
    44064470 
    4407                 DistributedMethod method(this, 345); 
     4471                DistributedMethod method(this, 350); 
    44084472                method.addAsciiParameter(choice); 
    44094473 
     
    44184482                        throw ObjectNotDeployedException(this); 
    44194483 
    4420                 DistributedMethod method(this, 346); 
     4484                DistributedMethod method(this, 351); 
    44214485 
    44224486                method.executeWithVoidReturn(); 
     
    44304494                        throw ObjectNotDeployedException(this); 
    44314495 
    4432                 DistributedMethod method(this, 347); 
     4496                DistributedMethod method(this, 352); 
    44334497                method.addObjectParameter(choicesList); 
    44344498 
     
    44434507                        throw ObjectNotDeployedException(this); 
    44444508 
    4445                 DistributedMethod method(this, 348); 
     4509                DistributedMethod method(this, 353); 
    44464510 
    44474511                return (SuiListBoxVector*) method.executeWithObjectReturn(); 
     
    44554519                        throw ObjectNotDeployedException(this); 
    44564520 
    4457                 DistributedMethod method(this, 349); 
     4521                DistributedMethod method(this, 354); 
    44584522 
    44594523                method.executeWithVoidReturn(); 
     
    44674531                        throw ObjectNotDeployedException(this); 
    44684532 
    4469                 DistributedMethod method(this, 350); 
     4533                DistributedMethod method(this, 355); 
    44704534                method.addUnsignedLongParameter(objectID); 
    44714535 
     
    44804544                        throw ObjectNotDeployedException(this); 
    44814545 
    4482                 DistributedMethod method(this, 351); 
     4546                DistributedMethod method(this, 356); 
    44834547 
    44844548                return method.executeWithUnsignedLongReturn(); 
     
    49134977                break; 
    49144978        case 144: 
     4979                resp->insertSignedInt(getXp(inv->getAsciiParameter(_param0_getXp__string_))); 
     4980                break; 
     4981        case 145: 
    49154982                addXp(inv->getAsciiParameter(_param0_addXp__string_int_bool_), inv->getSignedIntParameter(), inv->getBooleanParameter()); 
    49164983                break; 
    4917         case 145
     4984        case 146
    49184985                removeXp(inv->getAsciiParameter(_param0_removeXp__string_int_bool_), inv->getSignedIntParameter(), inv->getBooleanParameter()); 
    49194986                break; 
    4920         case 146
     4987        case 147
    49214988                loadXp(inv->getAsciiParameter(_param0_loadXp__string_)); 
    49224989                break; 
    4923         case 147
     4990        case 148
    49244991                resp->insertAscii(saveXp()); 
    49254992                break; 
    4926         case 148
     4993        case 149
    49274994                resp->insertSignedInt(getXpTypeCap(inv->getAsciiParameter(_param0_getXpTypeCap__string_))); 
    49284995                break; 
    4929         case 149
     4996        case 150
    49304997                loadXpTypeCap(); 
    49314998                break; 
    4932         case 150
     4999        case 151
    49335000                getXpTypeProse(inv->getAsciiParameter(_param0_getXpTypeProse__string_string_), inv->getAsciiParameter(_param1_getXpTypeProse__string_string_)); 
    49345001                break; 
    4935         case 151
     5002        case 152
    49365003                resp->insertSignedInt(calcPlayerLevel(inv->getAsciiParameter(_param0_calcPlayerLevel__string_))); 
    49375004                break; 
    4938         case 152
     5005        case 153
    49395006                removeFromDuelList((Player*) inv->getObjectParameter()); 
    49405007                break; 
    4941         case 153
     5008        case 154
    49425009                addToDuelList((Player*) inv->getObjectParameter()); 
    49435010                break; 
    4944         case 154
     5011        case 155
    49455012                resp->insertBoolean(isInDuelWith((Player*) inv->getObjectParameter(), inv->getBooleanParameter())); 
    49465013                break; 
    4947         case 155
     5014        case 156
    49485015                resp->insertLong(getDuelListObject(inv->getSignedIntParameter())->_getObjectID()); 
    49495016                break; 
    4950         case 156
     5017        case 157
    49515018                resp->insertBoolean(requestedDuelTo((Player*) inv->getObjectParameter())); 
    49525019                break; 
    4953         case 157
     5020        case 158
    49545021                resp->insertBoolean(isDuelListEmpty()); 
    49555022                break; 
    4956         case 158
     5023        case 159
    49575024                resp->insertSignedInt(getDuelListSize()); 
    49585025                break; 
    4959         case 159
     5026        case 160
    49605027                resp->insertBoolean(setGuild(inv->getUnsignedIntParameter())); 
    49615028                break; 
    4962         case 160
     5029        case 161
    49635030                setGuild((Guild*) inv->getObjectParameter()); 
    49645031                break; 
    4965         case 161
     5032        case 162
    49665033                resp->insertBoolean(updateGuild(inv->getUnsignedIntParameter())); 
    49675034                break; 
    4968         case 162
     5035        case 163
    49695036                updateGuild((Guild*) inv->getObjectParameter()); 
    49705037                break; 
    4971         case 163
     5038        case 164
    49725039                addChatRoom((ChatRoom*) inv->getObjectParameter()); 
    49735040                break; 
    4974         case 164
     5041        case 165
    49755042                removeChatRoom((ChatRoom*) inv->getObjectParameter()); 
    49765043                break; 
    4977         case 165
     5044        case 166
    49785045                sendSystemMessage(inv->getAsciiParameter(_param0_sendSystemMessage__string_)); 
    49795046                break; 
    4980         case 166
     5047        case 167
    49815048                sendSystemMessage(inv->getUnicodeParameter(_param0_sendSystemMessage__unicode_)); 
    49825049                break; 
    4983         case 167
     5050        case 168
    49845051                sendSystemMessage(inv->getAsciiParameter(_param0_sendSystemMessage__string_string_long_), inv->getAsciiParameter(_param1_sendSystemMessage__string_string_long_), inv->getUnsignedLongParameter()); 
    49855052                break; 
    4986         case 168
     5053        case 169
    49875054                sendSystemMessage(inv->getAsciiParameter(_param0_sendSystemMessage__string_string_StfParameter_), inv->getAsciiParameter(_param1_sendSystemMessage__string_string_StfParameter_), (StfParameter*) inv->getObjectParameter()); 
    49885055                break; 
    4989         case 169
     5056        case 170
    49905057                sendBattleFatigueMessage((CreatureObject*) inv->getObjectParameter()); 
    49915058                break; 
    4992         case 170
     5059        case 171
    49935060                sendHealMessage((CreatureObject*) inv->getObjectParameter(), inv->getSignedIntParameter(), inv->getSignedIntParameter(), inv->getSignedIntParameter()); 
    49945061                break; 
    4995         case 171
     5062        case 172
    49965063                setConversatingCreature((CreatureObject*) inv->getObjectParameter()); 
    49975064                break; 
    4998         case 172
     5065        case 173
    49995066                setFirstName(inv->getAsciiParameter(_param0_setFirstName__string_)); 
    50005067                break; 
    5001         case 173
     5068        case 174
    50025069                setLastName(inv->getAsciiParameter(_param0_setLastName__string_)); 
    50035070                break; 
    5004         case 174
     5071        case 175
    50055072                setFirstNameProper(inv->getAsciiParameter(_param0_setFirstNameProper__string_)); 
    50065073                break; 
    5007         case 175
     5074        case 176
    50085075                setBiography(inv->getAsciiParameter(_param0_setBiography__string_)); 
    50095076                break; 
    5010         case 176
     5077        case 177
    50115078                setBiography(inv->getUnicodeParameter(_param0_setBiography__unicode_)); 
    50125079                break; 
    5013         case 177
     5080        case 178
    50145081                resp->insertBoolean(changeForcePowerBar(inv->getSignedIntParameter())); 
    50155082                break; 
    5016         case 178
     5083        case 179
    50175084                setForcePowerBar(inv->getSignedIntParameter()); 
    50185085                break; 
    5019         case 179
     5086        case 180
    50205087                updateMaxForcePowerBar(inv->getBooleanParameter()); 
    50215088                break; 
    5022         case 180
     5089        case 181
    50235090                setFoodFilling(inv->getSignedIntParameter(), inv->getBooleanParameter()); 
    50245091                break; 
    5025         case 181
     5092        case 182
    50265093                setDrinkFilling(inv->getSignedIntParameter(), inv->getBooleanParameter()); 
    50275094                break; 
    5028         case 182
     5095        case 183
    50295096                changeFoodFilling(inv->getSignedIntParameter(), inv->getBooleanParameter()); 
    50305097                break; 
    5031         case 183
     5098        case 184
    50325099                changeDrinkFilling(inv->getSignedIntParameter(), inv->getBooleanParameter()); 
    50335100                break; 
    5034         case 184
     5101        case 185
    50355102                resp->insertBoolean(isAttackableBy((CreatureObject*) inv->getObjectParameter())); 
    50365103                break; 
    5037         case 185
     5104        case 186
    50385105                resp->insertSignedInt(getFoodFilling()); 
    50395106                break; 
    5040         case 186
     5107        case 187
    50415108                resp->insertSignedInt(getDrinkFilling()); 
    50425109                break; 
    5043         case 187
     5110        case 188
    50445111                activateDigest(); 
    50455112                break; 
    5046         case 188
     5113        case 189
    50475114                activateQueueAction(); 
    50485115                break; 
    5049         case 189
     5116        case 190
    50505117                setCharacterID(inv->getUnsignedLongParameter()); 
    50515118                break; 
    5052         case 190
     5119        case 191
    50535120                setStartingProfession(inv->getAsciiParameter(_param0_setStartingProfession__string_)); 
    50545121                break; 
    5055         case 191
     5122        case 192
    50565123                setHairObject(inv->getAsciiParameter(_param0_setHairObject__string_)); 
    50575124                break; 
    5058         case 192
     5125        case 193
    50595126                updateHair(); 
    50605127                break; 
    5061         case 193
     5128        case 194
    50625129                setPlayerObject((PlayerObject*) inv->getObjectParameter()); 
    50635130                break; 
    5064         case 194
     5131        case 195
    50655132                setOnline(); 
    50665133                break; 
    5067         case 195
     5134        case 196
    50685135                clearDisconnectEvent(); 
    50695136                break; 
    5070         case 196
     5137        case 197
    50715138                setClient((ZoneClientSession*) inv->getObjectParameter()); 
    50725139                break; 
    5073         case 197
     5140        case 198
    50745141                setOvert(); 
    50755142                break; 
    5076         case 198
     5143        case 199
    50775144                setCovert(); 
    50785145                break; 
    5079         case 199
     5146        case 200
    50805147                setOnLeave(); 
    50815148                break; 
    5082         case 200
     5149        case 201
    50835150                resp->insertBoolean(isOvert()); 
    50845151                break; 
    5085         case 201
     5152        case 202
    50865153                resp->insertBoolean(isCovert()); 
    50875154                break; 
    5088         case 202
     5155        case 203
    50895156                resp->insertBoolean(isOnLeave()); 
    50905157                break; 
    5091         case 203
     5158        case 204
    50925159                newChangeFactionStatusEvent(inv->getUnsignedCharParameter(), inv->getUnsignedIntParameter()); 
    50935160                break; 
    5094         case 204
     5161        case 205
    50955162                setRaceFileName(inv->getAsciiParameter(_param0_setRaceFileName__string_)); 
    50965163                break; 
    5097         case 205
     5164        case 206
    50985165                setRaceID(inv->getUnsignedCharParameter()); 
    50995166                break; 
    5100         case 206
     5167        case 207
    51015168                setStartingLocation(inv->getAsciiParameter(_param0_setStartingLocation__string_)); 
    51025169                break; 
    5103         case 207
     5170        case 208
    51045171                setItemShift(inv->getUnsignedIntParameter()); 
    51055172                break; 
    5106         case 208
     5173        case 209
    51075174                toggleCharacterBit(inv->getUnsignedIntParameter()); 
    51085175                break; 
    5109         case 209
     5176        case 210
    51105177                resp->insertBoolean(awardBadge(inv->getUnsignedIntParameter())); 
    51115178                break; 
    5112         case 210
     5179        case 211
    51135180                setLinkDead(); 
    51145181                break; 
    5115         case 211
     5182        case 212
    51165183                setLoggingIn(); 
    51175184                break; 
    5118         case 212
     5185        case 213
    51195186                setAdminLevel(inv->getSignedIntParameter()); 
    51205187                break; 
    5121         case 213
     5188        case 214
    51225189                resp->insertSignedInt(getAdminLevel()); 
    51235190                break; 
    5124         case 214
     5191        case 215
    51255192                setLastTestPositionX(inv->getFloatParameter()); 
    51265193                break; 
    5127         case 215
     5194        case 216
    51285195                setLastTestPositionY(inv->getFloatParameter()); 
    51295196                break; 
    5130         case 216
     5197        case 217
    51315198                setTradeRequestedPlayer(inv->getUnsignedLongParameter()); 
    51325199                break; 
    5133         case 217
     5200        case 218
    51345201                resp->insertLong(getTradeRequestedPlayer()); 
    51355202                break; 
    5136         case 218
     5203        case 219
    51375204                launchFirework(inv->getSignedIntParameter()); 
    51385205                break; 
    5139         case 219
     5206        case 220
    51405207                sendMessage((BaseMessage*) inv->getObjectParameter()); 
    51415208                break; 
    5142         case 220
     5209        case 221
    51435210                sendMessage((StandaloneBaseMessage*) inv->getObjectParameter()); 
    51445211                break; 
    5145         case 221
     5212        case 222
    51465213                resp->insertBoolean(isJedi()); 
    51475214                break; 
    5148         case 222
     5215        case 223
    51495216                mutePlayer(); 
    51505217                break; 
    5151         case 223
     5218        case 224
    51525219                toggleImmune(); 
    51535220                break; 
    5154         case 224
     5221        case 225
    51555222                resp->insertBoolean(hasSuiBox(inv->getUnsignedIntParameter())); 
    51565223                break; 
    5157         case 225
     5224        case 226
    51585225                resp->insertBoolean(hasSuiBoxType(inv->getUnsignedIntParameter())); 
    51595226                break; 
    5160         case 226
     5227        case 227
    51615228                resp->insertInt(getSuiBoxFromType(inv->getUnsignedIntParameter())); 
    51625229                break; 
    5163         case 227
     5230        case 228
    51645231                removeSuiBox(inv->getUnsignedIntParameter()); 
    51655232                break; 
    5166         case 228
     5233        case 229
    51675234                resp->insertLong(getSuiBox(inv->getUnsignedIntParameter())->_getObjectID()); 
    51685235                break; 
    5169         case 229
     5236        case 230
    51705237                addSuiBox((SuiBox*) inv->getObjectParameter()); 
    51715238                break; 
    5172         case 230
     5239        case 231
    51735240                resp->insertInt(getNewSuiBoxID(inv->getUnsignedIntParameter())); 
    51745241                break; 
    5175         case 231
     5242        case 232
    51765243                resp->insertBoolean(isOnline()); 
    51775244                break; 
    5178         case 232
     5245        case 233
    51795246                resp->insertBoolean(isOffline()); 
    51805247                break; 
    5181         case 233
     5248        case 234
    51825249                resp->insertBoolean(isLinkDead()); 
    51835250                break; 
    5184         case 234
     5251        case 235
    51855252                resp->insertBoolean(isLoggingIn()); 
    51865253                break; 
    5187         case 235
     5254        case 236
    51885255                resp->insertBoolean(isLoggingOut()); 
    51895256                break; 
    5190         case 236
     5257        case 237
    51915258                resp->insertLong(getPlayerObject()->_getObjectID()); 
    51925259                break; 
    5193         case 237
     5260        case 238
    51945261                resp->insertLong(getConversatingCreature()->_getObjectID()); 
    51955262                break; 
    5196         case 238
     5263        case 239
    51975264                resp->insertAscii(getFirstName()); 
    51985265                break; 
    5199         case 239
     5266        case 240
    52005267                resp->insertAscii(getLastName()); 
    52015268                break; 
    5202         case 240
     5269        case 241
    52035270                resp->insertAscii(getFirstNameProper()); 
    52045271                break; 
    5205         case 241
     5272        case 242
    52065273                resp->insertAscii(getRaceFileName()); 
    52075274                break; 
    5208         case 242
     5275        case 243
    52095276                resp->insertByte(getRaceID()); 
    52105277                break; 
    5211         case 243
     5278        case 244
    52125279                resp->insertUnicode(getBiography()); 
    52135280                break; 
    5214         case 244
     5281        case 245
    52155282                resp->insertLong(getCharacterID()); 
    52165283                break; 
    5217         case 245
     5284        case 246
    52185285                resp->insertAscii(getStartingProfession()); 
    52195286                break; 
    5220         case 246
     5287        case 247
    52215288                resp->insertSignedInt(getZoneIndex()); 
    52225289                break; 
    5223         case 247
     5290        case 248
    52245291                resp->insertAscii(getHairObject()); 
    52255292                break; 
    5226         case 248
     5293        case 249
    52275294                resp->insertLong(getClient()->_getObjectID()); 
    52285295                break; 
    5229         case 249
     5296        case 250
    52305297                resp->insertLong(getGroupObject()->_getObjectID()); 
    52315298                break; 
    5232         case 250
     5299        case 251
    52335300                resp->insertSignedInt(getPvpRating()); 
    52345301                break; 
    5235         case 251
     5302        case 252
    52365303                setPvpRating(inv->getSignedIntParameter()); 
    52375304                break; 
    5238         case 252
     5305        case 253
    52395306                increasePvpRating(inv->getSignedIntParameter()); 
    52405307                break; 
    5241         case 253
     5308        case 254
    52425309                decreasePvpRating(inv->getSignedIntParameter()); 
    52435310                break; 
    5244         case 254
     5311        case 255
    52455312                getPlayersNearYou(); 
    52465313                break; 
    5247         case 255
     5314        case 256
    52485315                resp->insertSignedInt(getRegionID()); 
    52495316                break; 
    5250         case 256
     5317        case 257
    52515318                resp->insertSignedInt(getCertificationListSize()); 
    52525319                break; 
    5253         case 257
     5320        case 258
    52545321                resp->insertAscii(getCertification(inv->getSignedIntParameter())); 
    52555322                break; 
    5256         case 258
     5323        case 259
    52575324                resp->insertBoolean(checkCertification(inv->getAsciiParameter(_param0_checkCertification__string_))); 
    52585325                break; 
    5259         case 259
     5326        case 260
    52605327                resp->insertSignedInt(getSlicingAbility()); 
    52615328                break; 
    5262         case 260
     5329        case 261
    52635330                resp->insertBoolean(isChatMuted()); 
    52645331                break; 
    5265         case 261
     5332        case 262
    52665333                resp->insertBoolean(isImmune()); 
    52675334                break; 
    5268         case 262
     5335        case 263
    52695336                resp->insertAscii(getInputBoxReturnBuffer()); 
    52705337                break; 
    5271         case 263
     5338        case 264
    52725339                resp->insertInt(nextMisoRFC()); 
    52735340                break; 
    5274         case 264
     5341        case 265
    52755342                resp->insertSignedInt(checkMisoBSB(inv->getSignedIntParameter())); 
    52765343                break; 
    5277         case 265
     5344        case 266
    52785345                setMisoBSB(inv->getSignedIntParameter()); 
    52795346                break; 
    5280         case 266
     5347        case 267
    52815348                addToCurMisoKeys(inv->getAsciiParameter(_param0_addToCurMisoKeys__string_)); 
    52825349                break; 
    5283         case 267
     5350        case 268
    52845351                resp->insertBoolean(isOnCurMisoKey(inv->getAsciiParameter(_param0_isOnCurMisoKey__string_))); 
    52855352                break; 
    5286         case 268
     5353        case 269
    52875354                removeFromCurMisoKeys(inv->getAsciiParameter(_param0_removeFromCurMisoKeys__string_)); 
    52885355                break; 
    5289         case 269
     5356        case 270
    52905357                addToFinMisoKeys(inv->getAsciiParameter(_param0_addToFinMisoKeys__string_)); 
    52915358                break; 
    5292         case 270
     5359        case 271
    52935360                resp->insertBoolean(hasCompletedMisoKey(inv->getAsciiParameter(_param0_hasCompletedMisoKey__string_))); 
    52945361                break; 
    5295         case 271
     5362        case 272
    52965363                resp->insertLong(getCurrentCraftingTool()->_getObjectID()); 
    52975364                break; 
    5298         case 272
     5365        case 273
    52995366                resp->insertLong(getCraftingTool(inv->getSignedIntParameter(), inv->getBooleanParameter())->_getObjectID()); 
    53005367                break; 
    5301         case 273
     5368        case 274
    53025369                setCurrentCraftingTool((CraftingTool*) inv->getObjectParameter()); 
    53035370                break; 
    5304         case 274
     5371        case 275
    53055372                clearCurrentCraftingTool(); 
    53065373                break; 
    5307         case 275
     5374        case 276
    53085375                prepareCraftingSession((CraftingTool*) inv->getObjectParameter(), (DraftSchematic*) inv->getObjectParameter()); 
    53095376                break; 
    5310         case 276
     5377        case 277
    53115378                addIngredientToSlot((TangibleObject*) inv->getObjectParameter(), inv->getSignedIntParameter(), inv->getSignedIntParameter()); 
    53125379                break; 
    5313         case 277
     5380        case 278
    53145381                removeResourceFromCraft(inv->getUnsignedLongParameter(), inv->getSignedIntParameter(), inv->getSignedIntParameter()); 
    53155382                break; 
    5316         case 278
     5383        case 279
    53175384                nextCraftingStage(inv->getAsciiParameter(_param0_nextCraftingStage__string_)); 
    53185385                break; 
    5319         case 279
     5386        case 280
    53205387                craftingCustomization(inv->getAsciiParameter(_param0_craftingCustomization__string_int_), inv->getSignedIntParameter()); 
    53215388                break; 
    5322         case 280
     5389        case 281
    53235390                createPrototype(inv->getAsciiParameter(_param0_createPrototype__string_)); 
    53245391                break; 
    5325         case 281
     5392        case 282
    53265393                createSchematic(inv->getAsciiParameter(_param0_createSchematic__string_)); 
    53275394                break; 
    5328         case 282
     5395        case 283
    53295396                handleExperimenting(inv->getSignedIntParameter(), inv->getSignedIntParameter(), inv->getAsciiParameter(_param2_handleExperimenting__int_int_string_)); 
    53305397                break; 
    5331         case 283
     5398        case 284
    53325399                sendDraftSchematics(); 
    53335400                break; 
    5334         case 284
     5401        case 285
    53355402                addDraftSchematicsFromGroupName(inv->getAsciiParameter(_param0_addDraftSchematicsFromGroupName__string_)); 
    53365403                break; 
    5337         case 285
     5404        case 286
    53385405                subtractDraftSchematicsFromGroupName(inv->getAsciiParameter(_param0_subtractDraftSchematicsFromGroupName__string_)); 
    53395406                break; 
    5340         case 286
     5407        case 287
    53415408                addDraftSchematic((DraftSchematic*) inv->getObjectParameter()); 
    53425409                break; 
    5343         case 287
     5410        case 288
    53445411                subtractDraftSchematic((DraftSchematic*) inv->getObjectParameter()); 
    53455412                break; 
    5346         case 288
     5413        case 289
    53475414                resp->insertInt(getDraftSchematicListSize()); 
    53485415                break; 
    5349         case 289
     5416        case 290
    53505417                resp->insertInt(getDraftSchematicUpdateCount(inv->getUnsignedIntParameter())); 
    53515418                break; 
    5352         case 290
     5419        case 291
    53535420                resp->insertLong(getDraftSchematic(inv->getUnsignedIntParameter())->_getObjectID()); 
    53545421                break; 
    5355         case 291
     5422        case 292
    53565423                resp->insertLong(getDraftSchematic(inv->getSignedIntParameter())->_getObjectID()); 
    53575424                break; 
    5358         case 292
     5425        case 293
    53595426                resp->insertBoolean(isChangingFactionStatus()); 
    53605427                break; 
    5361         case 293
     5428        case 294
    53625429                resp->insertLong(getDatapad()->_getObjectID()); 
    53635430                break; 
    5364         case 294
     5431        case 295
    53655432                resp->insertLong(getNewItemID()); 
    53665433                break; 
    5367         case 295
     5434        case 296
    53685435                resp->insertInt(getItemShift()); 
    53695436                break; 
    5370         case 296
     5437        case 297
    53715438                resp->insertFloat(getLastTestPositionX()); 
    53725439                break; 
    5373         case 297
     5440        case 298
    53745441                resp->insertFloat(getLastTestPositionY()); 
    53755442                break; 
    5376         case 298
     5443        case 299
    53775444                resp->insertInt(getForcePower()); 
    53785445                break; 
    5379         case 299
     5446        case 300
    53805447                resp->insertInt(getForcePowerMax()); 
    53815448                break; 
    5382         case 300
     5449        case 301
    53835450                resp->insertBoolean(isGuildLeader()); 
    53845451                break; 
    5385         case 301
     5452        case 302
    53865453                resp->insertLong(getCurrentStructureID()); 
    53875454                break; 
    5388         case 302
     5455        case 303
    53895456                setCurrentStructureID(inv->getUnsignedLongParameter()); 
    53905457                break; 
    5391         case 303
     5458        case 304
    53925459                resp->insertLong(getSurveyTool()->_getObjectID()); 
    53935460                break; 
    5394         case 304
     5461        case 305
    53955462                resp->insertLong(getSampleTool()->_getObjectID()); 
    53965463                break; 
    5397         case 305
     5464        case 306
    53985465                setSurveyTool((SurveyTool*) inv->getObjectParameter()); 
    53995466                break; 
    5400         case 306
     5467        case 307
    54015468                setSampleTool((SurveyTool*) inv->getObjectParameter()); 
    54025469                break; 
    5403         case 307
     5470        case 308
    54045471                setSurveyWaypoint((WaypointObject*) inv->getObjectParameter()); 
    54055472                break; 
    5406         case 308
     5473        case 309
    54075474                resp->insertLong(getSurveyWaypoint()->_getObjectID()); 
    54085475                break; 
    5409         case 309
     5476        case 310
    54105477                resp->insertBoolean(getCanSurvey()); 
    54115478                break; 
    5412         case 310
     5479        case 311
    54135480                resp->insertBoolean(getCanSample()); 
    54145481                break; 
    5415         case 311
     5482        case 312
    54165483                setCanSurvey(); 
    54175484                break; 
    5418         case 312
     5485        case 313
    54195486                setCanSample(); 
    54205487                break; 
    5421         case 313
     5488        case 314
    54225489                setSurveyEvent(inv->getAsciiParameter(_param0_setSurveyEvent__string_)); 
    54235490                break; 
    5424         case 314
     5491        case 315
    54255492                setSampleEvent(inv->getAsciiParameter(_param0_setSampleEvent__string_bool_), inv->getBooleanParameter()); 
    54265493                break; 
    5427         case 315
     5494        case 316
    54285495                setCancelSample(inv->getBooleanParameter()); 
    54295496                break; 
    5430         case 316
     5497        case 317
    54315498                resp->insertBoolean(getCancelSample()); 
    54325499                break; 
    5433         case 317
     5500        case 318
    54345501                sendSampleTimeRemaining(); 
    54355502                break; 
    5436         case 318
     5503        case 319
    54375504                setSurveyErrorMessage(); 
    54385505                break; 
    5439         case 319
     5506        case 320
    54405507                setSampleErrorMessage(); 
    54415508                break; 
    5442         case 320
     5509        case 321
    54435510                resp->insertBoolean(getSurveyErrorMessage()); 
    54445511                break; 
    5445         case 321
     5512        case 322
    54465513                resp->insertBoolean(getSampleErrorMessage()); 
    54475514                break; 
    5448         case 322
     5515        case 323
    54495516                sendMail(inv->getAsciiParameter(_param0_sendMail__string_unicode_unicode_string_), inv->getUnicodeParameter(_param1_sendMail__string_unicode_unicode_string_), inv->getUnicodeParameter(_param2_sendMail__string_unicode_unicode_string_), inv->getAsciiParameter(_param3_sendMail__string_unicode_unicode_string_)); 
    54505517                break; 
    5451         case 323
     5518        case 324
    54525519                setEntertainerEvent(); 
    54535520                break; 
    5454         case 324
     5521        case 325
    54555522                clearEntertainerEvent(); 
    54565523                break; 
    5457         case 325
     5524        case 326
    54585525                setLastNpcConvStr(inv->getAsciiParameter(_param0_setLastNpcConvStr__string_)); 
    54595526                break; 
    5460         case 326
     5527        case 327
    54615528                setLastNpcConvMessStr(inv->getAsciiParameter(_param0_setLastNpcConvMessStr__string_)); 
    54625529                break; 
    5463         case 327
     5530        case 328
    54645531                resp->insertAscii(getLastNpcConvStr()); 
    54655532                break; 
    5466         case 328
     5533        case 329
    54675534                resp->insertAscii(getLastNpcConvMessStr()); 
    54685535                break; 
    5469         case 329: 
     5536        case 330: 
     5537                resp->insertAscii(getLastNpcConvOption(inv->getSignedIntParameter())); 
     5538                break; 
     5539        case 331: 
     5540                addLastNpcConvOptions(inv->getAsciiParameter(_param0_addLastNpcConvOptions__string_)); 
     5541                break; 
     5542        case 332: 
     5543                clearLastNpcConvOptions(); 
     5544                break; 
     5545        case 333: 
     5546                resp->insertSignedInt(countLastNpcConvOptions()); 
     5547                break; 
     5548        case 334: 
    54705549                setInputBoxReturnBuffer(inv->getAsciiParameter(_param0_setInputBoxReturnBuffer__string_)); 
    54715550                break; 
    5472         case 330
     5551        case 335
    54735552                setGuildLeader(inv->getBooleanParameter()); 
    54745553                break; 
    5475         case 331
     5554        case 336
    54765555                loadGuildChat(); 
    54775556                break; 
    5478         case 332
     5557        case 337
    54795558                setGuildPermissions(inv->getUnsignedIntParameter()); 
    54805559                break; 
    5481         case 333
     5560        case 338
    54825561                resp->insertInt(getGuildPermissions()); 
    54835562                break; 
    5484         case 334
     5563        case 339
    54855564                resp->insertBoolean(setGuildPermissionsBit(inv->getUnsignedIntParameter(), inv->getBooleanParameter())); 
    54865565                break; 
    5487         case 335
     5566        case 340
    54885567                toggleGuildPermissionsBit(inv->getUnsignedIntParameter()); 
    54895568                break; 
    5490         case 336
     5569        case 341
    54915570                resp->insertBoolean(clearGuildPermissionsBit(inv->getUnsignedIntParameter(), inv->getBooleanParameter())); 
    54925571                break; 
    5493         case 337
     5572        case 342
    54945573                resp->insertSignedInt(getFactionPoints(inv->getAsciiParameter(_param0_getFactionPoints__string_))); 
    54955574                break; 
    5496         case 338
     5575        case 343
    54975576                addFactionPoints(inv->getAsciiParameter(_param0_addFactionPoints__string_int_), inv->getUnsignedIntParameter()); 
    54985577                break; 
    5499         case 339
     5578        case 344
    55005579                subtractFactionPoints(inv->getAsciiParameter(_param0_subtractFactionPoints__string_int_), inv->getUnsignedIntParameter()); 
    55015580                break; 
    5502         case 340
     5581        case 345
    55035582                resp->insertSignedInt(getFactionStatus()); 
    55045583                break; 
    5505         case 341
     5584        case 346
    55065585                setFactionStatus(inv->getSignedIntParameter()); 
    55075586                break; 
    5508         case 342
     5587        case 347
    55095588                resp->insertLong(getFactionList()->_getObjectID()); 
    55105589                break; 
    5511         case 343
     5590        case 348
    55125591                resp->insertInt(getMaxFactionPoints(inv->getAsciiParameter(_param0_getMaxFactionPoints__string_))); 
    55135592                break; 
    5514         case 344
     5593        case 349
    55155594                delFactionPoints((Player*) inv->getObjectParameter(), inv->getUnsignedIntParameter()); 
    55165595                break; 
    5517         case 345
     5596        case 350
    55185597                addSuiBoxChoice(inv->getAsciiParameter(_param0_addSuiBoxChoice__string_)); 
    55195598                break; 
    5520         case 346
     5599        case 351
    55215600                removeLastSuiBoxChoice(); 
    55225601                break; 
    5523         case 347
     5602        case 352
    55245603                setSuiBoxChoices((SuiListBoxVector*) inv->getObjectParameter()); 
    55255604                break; 
    5526         case 348
     5605        case 353
    55275606                resp->insertLong(getSuiBoxChoices()->_getObjectID()); 
    55285607                break; 
    5529         case 349
     5608        case 354
    55305609                clearSuiBoxChoices(); 
    55315610                break; 
    5532         case 350
     5611        case 355
    55335612                setResourceDeedID(inv->getUnsignedLongParameter()); 
    55345613                break; 
    5535         case 351
     5614        case 356
    55365615                resp->insertLong(getResourceDeedID()); 
    55375616                break; 
     
    60956174} 
    60966175 
     6176int PlayerAdapter::getXp(const string& xpType) { 
     6177        return ((PlayerImplementation*) impl)->getXp(xpType); 
     6178} 
     6179 
    60976180void PlayerAdapter::addXp(string& xpType, int xp, bool updateClient) { 
    60986181        return ((PlayerImplementation*) impl)->addXp(xpType, xp, updateClient); 
     
    68336916string& PlayerAdapter::getLastNpcConvMessStr() { 
    68346917        return ((PlayerImplementation*) impl)->getLastNpcConvMessStr(); 
     6918} 
     6919 
     6920string& PlayerAdapter::getLastNpcConvOption(int idx) { 
     6921        return ((PlayerImplementation*) impl)->getLastNpcConvOption(idx); 
     6922} 
     6923 
     6924void PlayerAdapter::addLastNpcConvOptions(const string& option) { 
     6925        return ((PlayerImplementation*) impl)->addLastNpcConvOptions(option); 
     6926} 
     6927 
     6928void PlayerAdapter::clearLastNpcConvOptions() { 
     6929        return ((PlayerImplementation*) impl)->clearLastNpcConvOptions(); 
     6930} 
     6931 
     6932int PlayerAdapter::countLastNpcConvOptions() { 
     6933        return ((PlayerImplementation*) impl)->countLastNpcConvOptions(); 
    68356934} 
    68366935 
  • core3/branches/CombatTest/src/server/zone/objects/player/Player.h

    r908 r916  
    344344        void queueHeal(TangibleObject* medpack, unsigned int actionCRC, const string& attribute); 
    345345 
     346        int getXp(const string& xpType); 
     347 
    346348        void addXp(string& xpType, int xp, bool updateClient); 
    347349 
     
    713715 
    714716        string& getLastNpcConvMessStr(); 
     717 
     718        string& getLastNpcConvOption(int idx); 
     719 
     720        void addLastNpcConvOptions(const string& option); 
     721 
     722        void clearLastNpcConvOptions(); 
     723 
     724        int countLastNpcConvOptions(); 
    715725 
    716726        void setInputBoxReturnBuffer(const string& message); 
     
    773783        string _return_getLastName; 
    774784        string _return_getLastNpcConvMessStr; 
     785        string _return_getLastNpcConvOption; 
    775786        string _return_getLastNpcConvStr; 
    776787        string _return_getNextSkillBox; 
     
    10681079        void queueHeal(TangibleObject* medpack, unsigned int actionCRC, const string& attribute); 
    10691080 
     1081        int getXp(const string& xpType); 
     1082 
    10701083        void addXp(string& xpType, int xp, bool updateClient); 
    10711084 
     
    14371450 
    14381451        string& getLastNpcConvMessStr(); 
     1452 
     1453        string& getLastNpcConvOption(int idx); 
     1454 
     1455        void addLastNpcConvOptions(const string& option); 
     1456 
     1457        void clearLastNpcConvOptions(); 
     1458 
     1459        int countLastNpcConvOptions(); 
    14391460 
    14401461        void setInputBoxReturnBuffer(const string& message); 
     
    14951516        string _param1_searchWaypoint__Player_string_int_; 
    14961517        string _param2_queueHeal__TangibleObject_int_string_; 
     1518        string _param0_getXp__string_; 
    14971519        string _param0_addXp__string_int_bool_; 
    14981520        string _param0_removeXp__string_int_bool_; 
     
    15381560        string _param0_setLastNpcConvStr__string_; 
    15391561        string _param0_setLastNpcConvMessStr__string_; 
     1562        string _param0_addLastNpcConvOptions__string_; 
    15401563        string _param0_setInputBoxReturnBuffer__string_; 
    15411564        string _param0_getFactionPoints__string_; 
  • core3/branches/CombatTest/src/server/zone/objects/player/Player.idl

    r908 r916  
    310310 
    311311        // Experience 
     312        int getXp(const string xpType); 
    312313        void addXp(string xpType, int xp, boolean updateClient); 
    313314        void removeXp(string xpType, int xp, boolean updateClient); 
     
    603604        string getLastNpcConvStr(); 
    604605        string getLastNpcConvMessStr(); 
     606 
     607        string getLastNpcConvOption(int idx); 
     608        void addLastNpcConvOptions(const string option); 
     609        void clearLastNpcConvOptions(); 
     610        int countLastNpcConvOptions(); 
    605611         
    606612        void setInputBoxReturnBuffer(const string message); 
  • core3/branches/CombatTest/src/server/zone/objects/player/PlayerImplementation.h

    r908 r916  
    245245        string lastNpcConvoMessage; 
    246246        string lastNpcConvo; 
     247        Vector<string> lastNpcConvoOptions; 
    247248 
    248249        // Stat Migration Targets 
     
    10741075        } 
    10751076 
     1077        int getXp(const string& xpType) { 
     1078                return playerObject->getExperience(xpType); 
     1079        } 
    10761080        void addXp(const string& xpType, int xp, bool updateClient) { 
    10771081                playerObject->addExperience(xpType, xp, updateClient); 
     
    16001604                return lastNpcConvoMessage; 
    16011605        } 
     1606         
     1607        inline string& getLastNpcConvOption(int idx) { 
     1608                return lastNpcConvoOptions.get(idx); 
     1609        } 
     1610         
     1611        inline void addLastNpcConvOptions(const string& option) { 
     1612                lastNpcConvoOptions.add(option); 
     1613        } 
     1614 
     1615        inline int countLastNpcConvOptions() { 
     1616                return lastNpcConvoOptions.size(); 
     1617        } 
     1618         
     1619        inline void clearLastNpcConvOptions() { 
     1620                lastNpcConvoOptions.removeAll(); 
     1621        } 
    16021622 
    16031623        inline void setCurrentStructureID(uint64 oid){ 
  • core3/branches/CombatTest/src/server/zone/objects/player/PlayerObject.cpp

    r843 r916  
    6262} 
    6363 
    64 void PlayerObject::addExperience(const string& xpType, int xp, bool updateClient) { 
     64int PlayerObject::getExperience(const string& xpType) { 
    6565        if (_impl == NULL) { 
    6666                if (!deployed) 
     
    6969                DistributedMethod method(this, 8); 
    7070                method.addAsciiParameter(xpType); 
    71                 method.addSignedIntParameter(xp); 
    72                 method.addBooleanParameter(updateClient); 
    73  
    74                 method.executeWithVoidReturn(); 
    75         } else 
    76                 ((PlayerObjectImplementation*) _impl)->addExperience(xpType, xp, updateClient); 
    77 
    78  
    79 void PlayerObject::removeExperience(const string& xpType, int xp, bool updateClient) { 
     71 
     72                return method.executeWithSignedIntReturn(); 
     73        } else 
     74                return ((PlayerObjectImplementation*) _impl)->getExperience(xpType); 
     75
     76 
     77void PlayerObject::addExperience(const string& xpType, int xp, bool updateClient) { 
    8078        if (_impl == NULL) { 
    8179                if (!deployed) 
     
    8987                method.executeWithVoidReturn(); 
    9088        } else 
     89                ((PlayerObjectImplementation*) _impl)->addExperience(xpType, xp, updateClient); 
     90} 
     91 
     92void PlayerObject::removeExperience(const string& xpType, int xp, bool updateClient) { 
     93        if (_impl == NULL) { 
     94                if (!deployed) 
     95                        throw ObjectNotDeployedException(this); 
     96 
     97                DistributedMethod method(this, 10); 
     98                method.addAsciiParameter(xpType); 
     99                method.addSignedIntParameter(xp); 
     100                method.addBooleanParameter(updateClient); 
     101 
     102                method.executeWithVoidReturn(); 
     103        } else 
    91104                ((PlayerObjectImplementation*) _impl)->removeExperience(xpType, xp, updateClient); 
    92105} 
     
    97110                        throw ObjectNotDeployedException(this); 
    98111 
    99                 DistributedMethod method(this, 10); 
     112                DistributedMethod method(this, 11); 
    100113                method.addAsciiParameter(xpStr); 
    101114 
     
    110123                        throw ObjectNotDeployedException(this); 
    111124 
    112                 DistributedMethod method(this, 11); 
     125                DistributedMethod method(this, 12); 
    113126 
    114127                method.executeWithAsciiReturn(_return_saveExperience); 
     
    119132 
    120133bool PlayerObject::setCharacterBit(unsigned int bit, bool updateClient) { 
    121         if (_impl == NULL) { 
    122                 if (!deployed) 
    123                         throw ObjectNotDeployedException(this); 
    124  
    125                 DistributedMethod method(this, 12); 
    126                 method.addUnsignedIntParameter(bit); 
    127                 method.addBooleanParameter(updateClient); 
    128  
    129                 return method.executeWithBooleanReturn(); 
    130         } else 
    131                 return ((PlayerObjectImplementation*) _impl)->setCharacterBit(bit, updateClient); 
    132 } 
    133  
    134 bool PlayerObject::clearCharacterBit(unsigned int bit, bool updateClient) { 
    135134        if (_impl == NULL) { 
    136135                if (!deployed) 
     
    143142                return method.executeWithBooleanReturn(); 
    144143        } else 
     144                return ((PlayerObjectImplementation*) _impl)->setCharacterBit(bit, updateClient); 
     145} 
     146 
     147bool PlayerObject::clearCharacterBit(unsigned int bit, bool updateClient) { 
     148        if (_impl == NULL) { 
     149                if (!deployed) 
     150                        throw ObjectNotDeployedException(this); 
     151 
     152                DistributedMethod method(this, 14); 
     153                method.addUnsignedIntParameter(bit); 
     154                meth