Modified:
/trunk/cockpit/src/packet/Registry.cpp
/trunk/include/cockpit/packet/Registry.h
/trunk/protocol/parse.py
=======================================
--- /trunk/cockpit/src/packet/Registry.cpp Fri Jun 25 08:39:54 2010
+++ /trunk/cockpit/src/packet/Registry.cpp Sun Jun 27 12:47:56 2010
@@ -3,6 +3,10 @@
* protocol/parse.py. Any changes should me made there, instead of here.
*/
+#if defined(_MSC_VER)
+ #pragma warning(disable:4355) // We know what we're doing. Stfu, VC++.
+#endif
+
#include <boost/array.hpp>
#include <boost/format.hpp>
#include <boost/bind.hpp>
@@ -78,6 +82,8 @@
static void do_nothing_7(nothing_info info, T1, T2, T3, T4, T5, T6, T7) {
return do_nothing_0(info); }
template <typename T1, typename T2, typename T3, typename T4, typename T5,
typename T6, typename T7, typename T8>
static void do_nothing_8(nothing_info info, T1, T2, T3, T4, T5, T6, T7,
T8) { return do_nothing_0(info); }
+template <typename T1, typename T2, typename T3, typename T4, typename T5,
typename T6, typename T7, typename T8, typename T9>
+static void do_nothing_9(nothing_info info, T1, T2, T3, T4, T5, T6, T7,
T8, T9) { return do_nothing_0(info); }
Registry::Registry()
:
@@ -89,8 +95,6 @@
Match_Announce(bind(do_nothing_2< boost::uint32_t, const std::string& >,
nothing_info(this, 402), _1, _2)),
Clock_Synchronize(bind(do_nothing_1< boost::uint32_t >,
nothing_info(this, 361), _1)),
Match_Login(bind(do_nothing_4< const std::string&, const std::string&,
boost::int32_t, boost::uint32_t >, nothing_info(this, 994), _1, _2, _3,
_4)),
- Match_ResponseLogin(bind(do_nothing_8< boost::int32_t, const
std::string&, boost::int8_t, const std::string&, boost::uint8_t,
boost::uint8_t, boost::uint64_t, boost::tuple<Buffer /* data */, size_t /*
count */, size_t /* size */> >, nothing_info(this, 1002), _1, _2, _3, _4,
_5, _6, _7, _8)),
- Match_Response_Result(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 403), _1)),
Match_LoginNetmarble(bind(do_nothing_4< const std::string&, const
std::string&, boost::int32_t, boost::uint32_t >, nothing_info(this, 1003),
_1, _2, _3, _4)),
MC_MATCH_DISCONNMSG(bind(do_nothing_1< boost::uint32_t >,
nothing_info(this, 1010), _1)),
MC_MATCH_LOGIN_NHNUSA(bind(do_nothing_5< const std::string&, const
std::string&, boost::int32_t, boost::uint32_t, boost::tuple<Buffer /* data
*/, size_t /* count */, size_t /* size */> >, nothing_info(this, 1011), _1,
_2, _3, _4, _5)),
@@ -99,9 +103,7 @@
Match_BridgePeer(bind(do_nothing_3< boost::uint64_t, boost::uint32_t,
boost::uint32_t >, nothing_info(this, 1006), _1, _2, _3)),
Match_BridgePeerACK(bind(do_nothing_2< boost::uint64_t, boost::int32_t >,
nothing_info(this, 1007), _1, _2)),
MatchServer_RequestRecommandedChannel(bind(do_nothing_0,
nothing_info(this, 1201))),
- MatchServer_ResponseRecommandedChannel(bind(do_nothing_1< boost::uint64_t
>, nothing_info(this, 1202), _1)),
Channel_Join(bind(do_nothing_2< boost::uint64_t, boost::uint64_t >,
nothing_info(this, 1205), _1, _2)),
- Channel_ResponseJoin(bind(do_nothing_4< boost::uint64_t, boost::int32_t,
const std::string&, bool >, nothing_info(this, 1207), _1, _2, _3, _4)),
Channel_RequestJoinFromName(bind(do_nothing_4< boost::uint64_t,
boost::int32_t, boost::int32_t, const std::string& >, nothing_info(this,
1206), _1, _2, _3, _4)),
Channel_Leave(bind(do_nothing_2< boost::uint64_t, boost::uint64_t >,
nothing_info(this, 1208), _1, _2)),
Channel_ListStart(bind(do_nothing_3< boost::uint64_t, boost::int32_t,
boost::int32_t >, nothing_info(this, 1211), _1, _2, _3)),
@@ -110,9 +112,7 @@
Channel_Request_Chat(bind(do_nothing_3< boost::uint64_t, boost::uint64_t,
const std::string& >, nothing_info(this, 1225), _1, _2, _3)),
Channel_Chat(bind(do_nothing_4< boost::uint64_t, const std::string&,
const std::string&, boost::int32_t >, nothing_info(this, 1226), _1, _2, _3,
_4)),
Channel_Request_Rule(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1230), _1)),
- Channel_Response_Rule(bind(do_nothing_2< boost::uint64_t, const
std::string& >, nothing_info(this, 1231), _1, _2)),
Channel_RequestAllPlayerList(bind(do_nothing_4< boost::uint64_t,
boost::uint64_t, boost::uint32_t, boost::uint32_t >, nothing_info(this,
1232), _1, _2, _3, _4)),
- Channel_ResponseAllPlayerList(bind(do_nothing_2< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1233), _1, _2)),
Stage_Create(bind(do_nothing_4< boost::uint64_t, const std::string&,
bool, const std::string& >, nothing_info(this, 1301), _1, _2, _3, _4)),
Stage_RequestJoin(bind(do_nothing_2< boost::uint64_t, boost::uint64_t >,
nothing_info(this, 1304), _1, _2)),
Stage_RequestPrivateJoin(bind(do_nothing_3< boost::uint64_t,
boost::uint64_t, const std::string& >, nothing_info(this, 1305), _1, _2,
_3)),
@@ -120,12 +120,8 @@
Stage_Leave(bind(do_nothing_1< boost::uint64_t >, nothing_info(this,
1307), _1)),
Stage_Request_PlayerList(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1308), _1)),
Stage_Follow(bind(do_nothing_1< const std::string& >, nothing_info(this,
1309), _1)),
- Stage_Response_Follow(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1310), _1)),
- Stage_ResponseJoin(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1306), _1)),
Stage_RequirePassword(bind(do_nothing_2< boost::uint64_t, const
std::string& >, nothing_info(this, 1332), _1, _2)),
RequestGameInfo(bind(do_nothing_2< boost::uint64_t, boost::uint64_t >,
nothing_info(this, 1451), _1, _2)),
- ResponseGameInfo(bind(do_nothing_4< boost::uint64_t, boost::tuple<Buffer
/* data */, size_t /* count */, size_t /* size */>, boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */>, boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
1452), _1, _2, _3, _4)),
- Stage_ResponseCreate(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1302), _1)),
Stage_Request_EnterBattle(bind(do_nothing_2< boost::uint64_t,
boost::uint64_t >, nothing_info(this, 1401), _1, _2)),
Stage_EnterBattle(bind(do_nothing_2< boost::uint8_t, boost::tuple<Buffer
/* data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
1402), _1, _2)),
Stage_LeaveBattle(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1403), _1)),
@@ -133,7 +129,6 @@
Stage_Map(bind(do_nothing_2< boost::uint64_t, const std::string& >,
nothing_info(this, 1414), _1, _2)),
Stage_Chat(bind(do_nothing_3< boost::uint64_t, boost::uint64_t, const
std::string& >, nothing_info(this, 1321), _1, _2, _3)),
Stage_RequestQuickJoin(bind(do_nothing_2< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1322), _1, _2)),
- Stage_ResponseQuickJoin(bind(do_nothing_2< boost::int32_t,
boost::uint64_t >, nothing_info(this, 1323), _1, _2)),
Stage_StageGo(bind(do_nothing_1< boost::uint32_t >, nothing_info(this,
1331), _1)),
Stage_State(bind(do_nothing_4< boost::uint64_t, boost::uint64_t,
boost::int32_t, boost::int32_t >, nothing_info(this, 1422), _1, _2, _3,
_4)),
Stage_Team(bind(do_nothing_3< boost::uint64_t, boost::uint64_t,
boost::uint32_t >, nothing_info(this, 1423), _1, _2, _3)),
@@ -143,17 +138,13 @@
Stage_List(bind(do_nothing_3< boost::int8_t, boost::int8_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1314), _1, _2, _3)),
Stage_RequestStageList(bind(do_nothing_3< boost::uint64_t,
boost::uint64_t, boost::int32_t >, nothing_info(this, 1311), _1, _2, _3)),
Channel_RequestPlayerList(bind(do_nothing_3< boost::uint64_t,
boost::uint64_t, boost::int32_t >, nothing_info(this, 1221), _1, _2, _3)),
- Channel_ResponsePlayerList(bind(do_nothing_3< boost::uint8_t,
boost::uint8_t, boost::tuple<Buffer /* data */, size_t /* count */, size_t
/* size */> >, nothing_info(this, 1222), _1, _2, _3)),
Stage_RequestStageSetting(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1411), _1)),
- Stage_ResponseStageSetting(bind(do_nothing_5< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::int32_t, boost::uint64_t >, nothing_info(this, 1412), _1, _2, _3,
_4, _5)),
Stage_StageSetting(bind(do_nothing_3< boost::uint64_t, boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1413), _1, _2, _3)),
Stage_Launch(bind(do_nothing_2< boost::uint64_t, const std::string& >,
nothing_info(this, 1432), _1, _2)),
Stage_Finish(bind(do_nothing_1< boost::uint64_t >, nothing_info(this,
1442), _1)),
Stage_RequestPeerList(bind(do_nothing_2< boost::uint64_t, boost::uint64_t
>, nothing_info(this, 1461), _1, _2)),
- Stage_ResponsePeerList(bind(do_nothing_2< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1462), _1, _2)),
Loading_Complete(bind(do_nothing_2< boost::uint64_t, boost::int32_t >,
nothing_info(this, 1441), _1, _2)),
Match_RequestPeerRelay(bind(do_nothing_2< boost::uint64_t,
boost::uint64_t >, nothing_info(this, 1471), _1, _2)),
- Match_ResponsePeerRelay(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1472), _1)),
Stage_RoundState(bind(do_nothing_4< boost::uint64_t, boost::int32_t,
boost::int32_t, boost::int32_t >, nothing_info(this, 1501), _1, _2, _3,
_4)),
Game_Kill(bind(do_nothing_1< boost::uint64_t >, nothing_info(this, 1511),
_1)),
Game_Requst_Spawn(bind(do_nothing_3< boost::uint64_t, const
boost::array<float, 3>&, const boost::array<float, 3>& >,
nothing_info(this, 1515), _1, _2, _3)),
@@ -162,10 +153,8 @@
Game_Dead(bind(do_nothing_4< boost::uint64_t, boost::uint32_t,
boost::uint64_t, boost::uint32_t >, nothing_info(this, 1512), _1, _2, _3,
_4)),
Game_TeamBonus(bind(do_nothing_2< boost::uint64_t, boost::uint32_t >,
nothing_info(this, 1517), _1, _2)),
Game_RequestTimeSync(bind(do_nothing_1< boost::uint32_t >,
nothing_info(this, 1521), _1)),
- Game_ResponseTimeSync(bind(do_nothing_2< boost::uint32_t, boost::uint32_t
>, nothing_info(this, 1522), _1, _2)),
Game_ReportTimeSync(bind(do_nothing_2< boost::uint32_t, boost::uint32_t
>, nothing_info(this, 1523), _1, _2)),
Stage_RequestForcedEntry(bind(do_nothing_2< boost::uint64_t,
boost::uint64_t >, nothing_info(this, 1415), _1, _2)),
- Stage_ResponseForcedEntry(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1416), _1)),
Stage_RoundFinishInfo(bind(do_nothing_4< boost::uint64_t,
boost::uint64_t, boost::tuple<Buffer /* data */, size_t /* count */, size_t
/* size */>, boost::tuple<Buffer /* data */, size_t /* count */, size_t /*
size */> >, nothing_info(this, 1502), _1, _2, _3, _4)),
Match_Notify(bind(do_nothing_1< boost::uint32_t >, nothing_info(this,
401), _1)),
Match_Whisper(bind(do_nothing_3< const std::string&, const std::string&,
const std::string& >, nothing_info(this, 1601), _1, _2, _3)),
@@ -178,42 +167,25 @@
ChatRoom_Invite(bind(do_nothing_3< const std::string&, const
std::string&, const std::string& >, nothing_info(this, 1661), _1, _2, _3)),
ChatRoom_Chat(bind(do_nothing_3< const std::string&, const std::string&,
const std::string& >, nothing_info(this, 1662), _1, _2, _3)),
Match_RequestAccountCharList(bind(do_nothing_1< boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
1701), _1)),
- Match_ResponseAccountCharList(bind(do_nothing_1< boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
1702), _1)),
Match_RequestAccountCharInfo(bind(do_nothing_1< boost::int8_t >,
nothing_info(this, 1719), _1)),
- Match_ResponseAccountCharInfo(bind(do_nothing_2< boost::int8_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1720), _1, _2)),
Match_RequestSelectChar(bind(do_nothing_2< boost::uint64_t,
boost::uint32_t >, nothing_info(this, 1703), _1, _2)),
- Match_ResponseSelectChar(bind(do_nothing_3< boost::int32_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1704), _1, _2, _3)),
Match_RequestCharInfo(bind(do_nothing_2< boost::uint64_t, boost::uint32_t
>, nothing_info(this, 1705), _1, _2)),
- Match_ResponseCharInfo(bind(do_nothing_2< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1706), _1, _2)),
Match_RequestDeleteChar(bind(do_nothing_3< boost::uint64_t,
boost::uint32_t, const std::string& >, nothing_info(this, 1713), _1, _2,
_3)),
- Match_ResponseDeleteChar(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1714), _1)),
Match_RequestCreateChar(bind(do_nothing_7< boost::uint64_t,
boost::uint32_t, const std::string&, boost::uint32_t, boost::uint32_t,
boost::uint32_t, boost::uint32_t >, nothing_info(this, 1711), _1, _2, _3,
_4, _5, _6, _7)),
- Match_ResponseCreateChar(bind(do_nothing_2< boost::int32_t, const
std::string& >, nothing_info(this, 1712), _1, _2)),
Match_RequestBuyItem(bind(do_nothing_2< boost::uint64_t, boost::uint32_t
>, nothing_info(this, 1811), _1, _2)),
- Match_ResponseBuyItem(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1812), _1)),
Match_RequestSellItem(bind(do_nothing_2< boost::uint64_t, boost::uint64_t
>, nothing_info(this, 1813), _1, _2)),
- Match_ResponseSellItem(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1814), _1)),
Match_RequestShopItemList(bind(do_nothing_3< boost::uint64_t,
boost::int32_t, boost::int32_t >, nothing_info(this, 1815), _1, _2, _3)),
- Match_ResponseShopItemList(bind(do_nothing_2< boost::tuple<Buffer /* data
*/, size_t /* count */, size_t /* size */>, boost::tuple<Buffer /* data */,
size_t /* count */, size_t /* size */> >, nothing_info(this, 1816), _1,
_2)),
Match_RequestCharacterItemList(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1821), _1)),
Match_RequestCharacterItemListForce(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1829), _1)),
- Match_ResponseCharacterItemList(bind(do_nothing_4< boost::int32_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 1822), _1, _2, _3, _4)),
MatchRequestEquipItem(bind(do_nothing_3< boost::uint64_t,
boost::uint64_t, boost::uint32_t >, nothing_info(this, 1823), _1, _2, _3)),
- MatchResponseEquipItem(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1824), _1)),
MatchRequestTakeoffItem(bind(do_nothing_2< boost::uint64_t,
boost::uint32_t >, nothing_info(this, 1825), _1, _2)),
- MatchResponseTakeoffItem(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1826), _1)),
Match_RequestAccountItemList(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1831), _1)),
- Match_ResponseAccountItemList(bind(do_nothing_1< boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
1832), _1)),
Match_RequestBringAccountItem(bind(do_nothing_2< boost::uint64_t,
boost::int32_t >, nothing_info(this, 1833), _1, _2)),
- Match_ResponseBringAccountItem(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1834), _1)),
Match_RequestBringBackAccountItem(bind(do_nothing_2< boost::uint64_t,
boost::uint64_t >, nothing_info(this, 1835), _1, _2)),
- Match_ResponseBringBackAccountItem(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1836), _1)),
Match_ExpiredRentItem(bind(do_nothing_1< boost::tuple<Buffer /* data */,
size_t /* count */, size_t /* size */> >, nothing_info(this, 1837), _1)),
Match_ItemGamble(bind(do_nothing_1< boost::uint64_t >, nothing_info(this,
1841), _1)),
Match_GambleResultItem(bind(do_nothing_2< boost::uint32_t,
boost::uint32_t >, nothing_info(this, 1842), _1, _2)),
Match_Request_Suicide(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1531), _1)),
- Match_Response_Suicide(bind(do_nothing_2< boost::int32_t, boost::uint64_t
>, nothing_info(this, 1532), _1, _2)),
- Match_Response_SuicideReserve(bind(do_nothing_0, nothing_info(this,
1533))),
Match_Request_Obtain_WorldItem(bind(do_nothing_2< boost::uint64_t,
boost::int32_t >, nothing_info(this, 1541), _1, _2)),
Match_WorldItem_Obtain(bind(do_nothing_2< boost::uint64_t, boost::int32_t
>, nothing_info(this, 1542), _1, _2)),
Match_WorldItem_Spawn(bind(do_nothing_1< boost::tuple<Buffer /* data */,
size_t /* count */, size_t /* size */> >, nothing_info(this, 1543), _1)),
@@ -223,52 +195,38 @@
Match_Assign_Commander(bind(do_nothing_2< boost::uint64_t,
boost::uint64_t >, nothing_info(this, 1551), _1, _2)),
Match_Set_Observer(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 1553), _1)),
Match_Ladder_Request_Challenge(bind(do_nothing_3< boost::int32_t,
boost::uint32_t, boost::tuple<Buffer /* data */, size_t /* count */, size_t
/* size */> >, nothing_info(this, 1571), _1, _2, _3)),
- Match_Ladder_Response_Challenge(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 1572), _1)),
Match_Ladder_SearchRival(bind(do_nothing_0, nothing_info(this, 1574))),
Match_Ladder_Request_CancelChallenge(bind(do_nothing_0,
nothing_info(this, 1575))),
Match_Ladder_CancelChallenge(bind(do_nothing_1< const std::string& >,
nothing_info(this, 1576), _1)),
Ladder_Prepare(bind(do_nothing_2< boost::uint64_t, boost::int32_t >,
nothing_info(this, 1578), _1, _2)),
Ladder_Launch(bind(do_nothing_2< boost::uint64_t, const std::string& >,
nothing_info(this, 1579), _1, _2)),
Match_RequestProposal(bind(do_nothing_5< boost::uint64_t, boost::int32_t,
boost::int32_t, boost::int32_t, boost::tuple<Buffer /* data */, size_t /*
count */, size_t /* size */> >, nothing_info(this, 1561), _1, _2, _3, _4,
_5)),
- Match_ResponseProposal(bind(do_nothing_3< boost::int32_t, boost::int32_t,
boost::int32_t >, nothing_info(this, 1562), _1, _2, _3)),
Match_AskAgreement(bind(do_nothing_4< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::int32_t, boost::int32_t >, nothing_info(this, 1563), _1, _2, _3,
_4)),
Match_ReplyAgreement(bind(do_nothing_6< boost::uint64_t, boost::uint64_t,
const std::string&, boost::int32_t, boost::int32_t, bool >,
nothing_info(this, 1564), _1, _2, _3, _4, _5, _6)),
Match_Friend_Add(bind(do_nothing_1< const std::string& >,
nothing_info(this, 1901), _1)),
Match_Friend_Remove(bind(do_nothing_1< const std::string& >,
nothing_info(this, 1902), _1)),
Match_Friend_List(bind(do_nothing_0, nothing_info(this, 1903))),
- Match_Response_FriendList(bind(do_nothing_1< boost::tuple<Buffer /* data
*/, size_t /* count */, size_t /* size */> >, nothing_info(this, 1904),
_1)),
Match_Friend_Msg(bind(do_nothing_1< const std::string& >,
nothing_info(this, 1905), _1)),
Match_Clan_RequestCreateClan(bind(do_nothing_7< boost::uint64_t,
boost::int32_t, const std::string&, const std::string&, const std::string&,
const std::string&, const std::string& >, nothing_info(this, 2000), _1, _2,
_3, _4, _5, _6, _7)),
- Match_Clan_ResponseCreateClan(bind(do_nothing_2< boost::int32_t,
boost::int32_t >, nothing_info(this, 2001), _1, _2)),
Match_Clan_AskSponsorAgreement(bind(do_nothing_4< boost::int32_t, const
std::string&, boost::uint64_t, const std::string& >, nothing_info(this,
2002), _1, _2, _3, _4)),
Match_Clan_AnswerSponsorAgreement(bind(do_nothing_4< boost::int32_t,
boost::uint64_t, const std::string&, bool >, nothing_info(this, 2003), _1,
_2, _3, _4)),
Match_Clan_RequestAgreedCreateClan(bind(do_nothing_6< boost::uint64_t,
const std::string&, const std::string&, const std::string&, const
std::string&, const std::string& >, nothing_info(this, 2004), _1, _2, _3,
_4, _5, _6)),
- Match_Clan_AgreedResponseCreateClan(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 2005), _1)),
Match_Clan_RequestCloseClan(bind(do_nothing_2< boost::uint64_t, const
std::string& >, nothing_info(this, 2006), _1, _2)),
- Match_Clan_ResponseCloseClan(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 2007), _1)),
Match_Clan_RequestJoinClan(bind(do_nothing_3< boost::uint64_t, const
std::string&, const std::string& >, nothing_info(this, 2008), _1, _2, _3)),
- Match_Clan_ResponseJoinClan(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 2009), _1)),
Match_Clan_AskJoinAgreement(bind(do_nothing_3< const std::string&,
boost::uint64_t, const std::string& >, nothing_info(this, 2010), _1, _2,
_3)),
Match_Clan_AnswerJoinAgreement(bind(do_nothing_3< boost::uint64_t, const
std::string&, bool >, nothing_info(this, 2011), _1, _2, _3)),
Match_Clan_RequestAgreedJoinClan(bind(do_nothing_3< boost::uint64_t,
const std::string&, const std::string& >, nothing_info(this, 2012), _1, _2,
_3)),
- Match_Clan_ResponseAgreedJoinClan(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 2013), _1)),
Match_Clan_RequestLeaveClan(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 2014), _1)),
- Match_Clan_ResponseLeaveClan(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 2015), _1)),
Match_Clan_UpdateCharClanInfo(bind(do_nothing_1< boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
2016), _1)),
Match_Clan_Master_RequestChangeGrade(bind(do_nothing_4< boost::uint64_t,
const std::string&, boost::int32_t, boost::int32_t >, nothing_info(this,
2017), _1, _2, _3, _4)),
- Match_Clan_Master_ResponseChangeGrade(bind(do_nothing_1< boost::int32_t
>, nothing_info(this, 2018), _1)),
Match_Clan_Admin_RequestExpelMember(bind(do_nothing_2< boost::uint64_t,
const std::string& >, nothing_info(this, 2019), _1, _2)),
- Match_Clan_Admin_ResponseLeaveMember(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 2020), _1)),
Match_Clan_Request_Msg(bind(do_nothing_2< boost::uint64_t, const
std::string& >, nothing_info(this, 2021), _1, _2)),
Match_Clan_Msg(bind(do_nothing_2< const std::string&, const std::string&
>, nothing_info(this, 2022), _1, _2)),
Match_Clan_Request_ClanMemberList(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 2023), _1)),
- Match_Clan_Response_ClanMemberList(bind(do_nothing_1< boost::tuple<Buffer
/* data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
2024), _1)),
Match_Clan_Request_Clan_Info(bind(do_nothing_2< boost::uint64_t, const
std::string& >, nothing_info(this, 2025), _1, _2)),
- Match_Clan_Response_Clan_Info(bind(do_nothing_1< boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
2026), _1)),
Match_Clan_Standby_ClanList(bind(do_nothing_3< boost::int32_t,
boost::int32_t, boost::tuple<Buffer /* data */, size_t /* count */, size_t
/* size */> >, nothing_info(this, 2027), _1, _2, _3)),
Match_Clan_Member_Connected(bind(do_nothing_1< const std::string& >,
nothing_info(this, 2028), _1)),
Match_Clan_Request_EmblemURL(bind(do_nothing_1< boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> >, nothing_info(this,
2051), _1)),
- Match_Clan_Response_EmblemURL(bind(do_nothing_3< boost::int32_t,
boost::int32_t, const std::string& >, nothing_info(this, 2052), _1, _2,
_3)),
Match_Clan_Local_EmblemReady(bind(do_nothing_2< boost::int32_t, const
std::string& >, nothing_info(this, 2055), _1, _2)),
MC_MATCH_CLAN_ACCOUNCE_DELETE(bind(do_nothing_1< const std::string& >,
nothing_info(this, 2056), _1)),
Match_Callvote(bind(do_nothing_2< const std::string&, const std::string&
>, nothing_info(this, 2100), _1, _2)),
@@ -326,7 +284,6 @@
Quest_Test_Finish(bind(do_nothing_0, nothing_info(this, 6904))),
Admin_Announce(bind(do_nothing_3< boost::uint64_t, const std::string&,
boost::uint32_t >, nothing_info(this, 501), _1, _2, _3)),
Admin_RequestBanPlayer(bind(do_nothing_2< boost::uint64_t, const
std::string& >, nothing_info(this, 515), _1, _2)),
- Admin_ResponseBanPlayer(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 516), _1)),
Admin_Hide(bind(do_nothing_0, nothing_info(this, 531))),
MC_ADMIN_RESET_ALL_HACKING_BLOCK(bind(do_nothing_0, nothing_info(this,
533))),
MC_ADMIN_RELOAD_GAMBLEITEM(bind(do_nothing_0, nothing_info(this, 534))),
@@ -336,7 +293,6 @@
Match_RegisterAgent(bind(do_nothing_3< const std::string&,
boost::int32_t, boost::int32_t >, nothing_info(this, 5001), _1, _2, _3)),
Match_UnRegisterAgent(bind(do_nothing_0, nothing_info(this, 5002))),
Match_Agent_RequestLiveCheck(bind(do_nothing_3< boost::uint32_t,
boost::uint32_t, boost::uint32_t >, nothing_info(this, 5011), _1, _2, _3)),
- Match_Agent_ResponseLiveCheck(bind(do_nothing_1< boost::uint32_t >,
nothing_info(this, 5012), _1)),
Agent_StageReserve(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 5051), _1)),
Agent_StageRelease(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 5052), _1)),
Agent_StageReady(bind(do_nothing_1< boost::uint64_t >, nothing_info(this,
5053), _1)),
@@ -349,20 +305,17 @@
Quest_item_responsesell(bind(do_nothing_2< boost::int32_t, boost::int32_t
>, nothing_info(this, 21005), _1, _2)),
Quest_Reward(bind(do_nothing_4< boost::int32_t, boost::int32_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */>,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 21006), _1, _2, _3, _4)),
Quest_Request_Sacrifice(bind(do_nothing_3< boost::uint64_t,
boost::int32_t, boost::int32_t >, nothing_info(this, 21007), _1, _2, _3)),
- Quest_Response_Sacrifice(bind(do_nothing_4< boost::int32_t,
boost::uint64_t, boost::int32_t, boost::int32_t >, nothing_info(this,
21008), _1, _2, _3, _4)),
Quest_Callback_Sacrifice(bind(do_nothing_3< boost::uint64_t,
boost::int32_t, boost::int32_t >, nothing_info(this, 21009), _1, _2, _3)),
Quest_Callback_Result(bind(do_nothing_4< boost::int32_t, boost::uint64_t,
boost::int32_t, boost::int32_t >, nothing_info(this, 21010), _1, _2, _3,
_4)),
Quest_Request_SlotInfo(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 21011), _1)),
Quest_Resonse_SlotInfo(bind(do_nothing_4< boost::uint64_t,
boost::int32_t, boost::uint64_t, boost::int32_t >, nothing_info(this,
21012), _1, _2, _3, _4)),
Quest_RequestLevel(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 6101), _1)),
- Quest_ResponseLevel(bind(do_nothing_1< boost::int32_t >,
nothing_info(this, 6102), _1)),
Quest_Survival_Result(bind(do_nothing_2< boost::int32_t, boost::int32_t
>, nothing_info(this, 6103), _1, _2)),
Quest_Survival_Ranking(bind(do_nothing_1< boost::tuple<Buffer /* data */,
size_t /* count */, size_t /* size */> >, nothing_info(this, 6104), _1)),
Quest_Survuval_PrivateRanking(bind(do_nothing_2< boost::uint32_t,
boost::uint32_t >, nothing_info(this, 6105), _1, _2)),
Quest_Start_Fail(bind(do_nothing_2< boost::int32_t, boost::uint64_t >,
nothing_info(this, 6060), _1, _2)),
monsterinfo(bind(do_nothing_1< boost::int8_t >, nothing_info(this,
21013), _1)),
Quest_Bible_Request(bind(do_nothing_1< boost::uint64_t >,
nothing_info(this, 21014), _1)),
- Quest_Bible_Response(bind(do_nothing_2< boost::uint64_t,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> >,
nothing_info(this, 21015), _1, _2)),
MC_REQUEST_GIVE_ONESELF_UP(bind(do_nothing_0, nothing_info(this, 9101))),
MC_RESPONSE_GAMBLEITEMLIST(bind(do_nothing_1< boost::tuple<Buffer /* data
*/, size_t /* count */, size_t /* size */> >, nothing_info(this, 1827),
_1)),
MC_MATCH_ROUTE_UPDATE_STAGE_EQUIP_LOOK(bind(do_nothing_3<
boost::uint64_t, boost::int32_t, boost::int32_t >, nothing_info(this,
1828), _1, _2, _3)),
@@ -420,31 +373,6 @@
self->Match_Login(p0, p1, p2, p3);
}
-
-static void do_Match_ResponseLogin(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- std::string p1 = extract_string(parameters, ¶mPtr, length);
- int8_t p2 = extract_int8(parameters, ¶mPtr, length);
- std::string p3 = extract_string(parameters, ¶mPtr, length);
- uint8_t p4 = extract_uint8(parameters, ¶mPtr, length);
- uint8_t p5 = extract_uint8(parameters, ¶mPtr, length);
- uint64_t p6 = extract_MUID(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p7 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseLogin(p0, p1, p2, p3, p4, p5, p6, p7);
-}
-
-static void do_Match_Response_Result(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Response_Result(p0);
-}
static void do_Match_LoginNetmarble(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -528,15 +456,6 @@
{
self->MatchServer_RequestRecommandedChannel();
}
-
-static void do_MatchServer_ResponseRecommandedChannel(Registry* self,
const uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
-
- self->MatchServer_ResponseRecommandedChannel(p0);
-}
static void do_Channel_Join(Registry* self, const uint8_t* parameters,
uint16_t length)
{
@@ -547,18 +466,6 @@
self->Channel_Join(p0, p1);
}
-
-static void do_Channel_ResponseJoin(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- int32_t p1 = extract_int32(parameters, ¶mPtr, length);
- std::string p2 = extract_string(parameters, ¶mPtr, length);
- bool p3 = extract_bool(parameters, ¶mPtr, length);
-
- self->Channel_ResponseJoin(p0, p1, p2, p3);
-}
static void do_Channel_RequestJoinFromName(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -642,16 +549,6 @@
self->Channel_Request_Rule(p0);
}
-
-static void do_Channel_Response_Rule(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- std::string p1 = extract_string(parameters, ¶mPtr, length);
-
- self->Channel_Response_Rule(p0, p1);
-}
static void do_Channel_RequestAllPlayerList(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -664,16 +561,6 @@
self->Channel_RequestAllPlayerList(p0, p1, p2, p3);
}
-
-static void do_Channel_ResponseAllPlayerList(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Channel_ResponseAllPlayerList(p0, p1);
-}
static void do_Stage_Create(Registry* self, const uint8_t* parameters,
uint16_t length)
{
@@ -746,24 +633,6 @@
self->Stage_Follow(p0);
}
-
-static void do_Stage_Response_Follow(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Stage_Response_Follow(p0);
-}
-
-static void do_Stage_ResponseJoin(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Stage_ResponseJoin(p0);
-}
static void do_Stage_RequirePassword(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -784,27 +653,6 @@
self->RequestGameInfo(p0, p1);
}
-
-static void do_ResponseGameInfo(Registry* self, const uint8_t* parameters,
uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p2 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p3 = extract_blob(parameters, ¶mPtr,
length);
-
- self->ResponseGameInfo(p0, p1, p2, p3);
-}
-
-static void do_Stage_ResponseCreate(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Stage_ResponseCreate(p0);
-}
static void do_Stage_Request_EnterBattle(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -876,16 +724,6 @@
self->Stage_RequestQuickJoin(p0, p1);
}
-
-static void do_Stage_ResponseQuickJoin(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- uint64_t p1 = extract_MUID(parameters, ¶mPtr, length);
-
- self->Stage_ResponseQuickJoin(p0, p1);
-}
static void do_Stage_StageGo(Registry* self, const uint8_t* parameters,
uint16_t length)
{
@@ -971,17 +809,6 @@
self->Channel_RequestPlayerList(p0, p1, p2);
}
-
-static void do_Channel_ResponsePlayerList(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint8_t p0 = extract_uint8(parameters, ¶mPtr, length);
- uint8_t p1 = extract_uint8(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p2 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Channel_ResponsePlayerList(p0, p1, p2);
-}
static void do_Stage_RequestStageSetting(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -991,19 +818,6 @@
self->Stage_RequestStageSetting(p0);
}
-
-static void do_Stage_ResponseStageSetting(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p2 = extract_blob(parameters, ¶mPtr,
length);
- int32_t p3 = extract_int32(parameters, ¶mPtr, length);
- uint64_t p4 = extract_MUID(parameters, ¶mPtr, length);
-
- self->Stage_ResponseStageSetting(p0, p1, p2, p3, p4);
-}
static void do_Stage_StageSetting(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1044,16 +858,6 @@
self->Stage_RequestPeerList(p0, p1);
}
-
-static void do_Stage_ResponsePeerList(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Stage_ResponsePeerList(p0, p1);
-}
static void do_Loading_Complete(Registry* self, const uint8_t* parameters,
uint16_t length)
{
@@ -1074,15 +878,6 @@
self->Match_RequestPeerRelay(p0, p1);
}
-
-static void do_Match_ResponsePeerRelay(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
-
- self->Match_ResponsePeerRelay(p0);
-}
static void do_Stage_RoundState(Registry* self, const uint8_t* parameters,
uint16_t length)
{
@@ -1166,16 +961,6 @@
self->Game_RequestTimeSync(p0);
}
-
-static void do_Game_ResponseTimeSync(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint32_t p0 = extract_uint32(parameters, ¶mPtr, length);
- uint32_t p1 = extract_uint32(parameters, ¶mPtr, length);
-
- self->Game_ResponseTimeSync(p0, p1);
-}
static void do_Game_ReportTimeSync(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1196,15 +981,6 @@
self->Stage_RequestForcedEntry(p0, p1);
}
-
-static void do_Stage_ResponseForcedEntry(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Stage_ResponseForcedEntry(p0);
-}
static void do_Stage_RoundFinishInfo(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1325,15 +1101,6 @@
self->Match_RequestAccountCharList(p0);
}
-
-static void do_Match_ResponseAccountCharList(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- tuple<Buffer, size_t, size_t> p0 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseAccountCharList(p0);
-}
static void do_Match_RequestAccountCharInfo(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1343,16 +1110,6 @@
self->Match_RequestAccountCharInfo(p0);
}
-
-static void do_Match_ResponseAccountCharInfo(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int8_t p0 = extract_int8(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseAccountCharInfo(p0, p1);
-}
static void do_Match_RequestSelectChar(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1363,17 +1120,6 @@
self->Match_RequestSelectChar(p0, p1);
}
-
-static void do_Match_ResponseSelectChar(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p2 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseSelectChar(p0, p1, p2);
-}
static void do_Match_RequestCharInfo(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1384,16 +1130,6 @@
self->Match_RequestCharInfo(p0, p1);
}
-
-static void do_Match_ResponseCharInfo(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- uint64_t p0 = extract_MUID(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseCharInfo(p0, p1);
-}
static void do_Match_RequestDeleteChar(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1405,15 +1141,6 @@
self->Match_RequestDeleteChar(p0, p1, p2);
}
-
-static void do_Match_ResponseDeleteChar(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_ResponseDeleteChar(p0);
-}
static void do_Match_RequestCreateChar(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1429,16 +1156,6 @@
self->Match_RequestCreateChar(p0, p1, p2, p3, p4, p5, p6);
}
-
-static void do_Match_ResponseCreateChar(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- std::string p1 = extract_string(parameters, ¶mPtr, length);
-
- self->Match_ResponseCreateChar(p0, p1);
-}
static void do_Match_RequestBuyItem(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1449,15 +1166,6 @@
self->Match_RequestBuyItem(p0, p1);
}
-
-static void do_Match_ResponseBuyItem(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_ResponseBuyItem(p0);
-}
static void do_Match_RequestSellItem(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1468,15 +1176,6 @@
self->Match_RequestSellItem(p0, p1);
}
-
-static void do_Match_ResponseSellItem(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_ResponseSellItem(p0);
-}
static void do_Match_RequestShopItemList(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1488,16 +1187,6 @@
self->Match_RequestShopItemList(p0, p1, p2);
}
-
-static void do_Match_ResponseShopItemList(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- tuple<Buffer, size_t, size_t> p0 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseShopItemList(p0, p1);
-}
static void do_Match_RequestCharacterItemList(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -1516,18 +1205,6 @@
self->Match_RequestCharacterItemListForce(p0);
}
-
-static void do_Match_ResponseCharacterItemList(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- tuple<Buffer, size_t, size_t> p1 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p2 = extract_blob(parameters, ¶mPtr,
length);
- tuple<Buffer, size_t, size_t> p3 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseCharacterItemList(p0, p1, p2, p3);
-}
static void do_MatchRequestEquipItem(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1539,15 +1216,6 @@
self->MatchRequestEquipItem(p0, p1, p2);
}
-
-static void do_MatchResponseEquipItem(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->MatchResponseEquipItem(p0);
-}
static void do_MatchRequestTakeoffItem(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1558,15 +1226,6 @@
self->MatchRequestTakeoffItem(p0, p1);
}
-
-static void do_MatchResponseTakeoffItem(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->MatchResponseTakeoffItem(p0);
-}
static void do_Match_RequestAccountItemList(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1576,15 +1235,6 @@
self->Match_RequestAccountItemList(p0);
}
-
-static void do_Match_ResponseAccountItemList(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- tuple<Buffer, size_t, size_t> p0 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_ResponseAccountItemList(p0);
-}
static void do_Match_RequestBringAccountItem(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -1595,15 +1245,6 @@
self->Match_RequestBringAccountItem(p0, p1);
}
-
-static void do_Match_ResponseBringAccountItem(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_ResponseBringAccountItem(p0);
-}
static void do_Match_RequestBringBackAccountItem(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -1614,15 +1255,6 @@
self->Match_RequestBringBackAccountItem(p0, p1);
}
-
-static void do_Match_ResponseBringBackAccountItem(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_ResponseBringBackAccountItem(p0);
-}
static void do_Match_ExpiredRentItem(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1660,21 +1292,6 @@
self->Match_Request_Suicide(p0);
}
-
-static void do_Match_Response_Suicide(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- uint64_t p1 = extract_MUID(parameters, ¶mPtr, length);
-
- self->Match_Response_Suicide(p0, p1);
-}
-
-static void do_Match_Response_SuicideReserve(Registry* self, const
uint8_t*, uint16_t)
-{
- self->Match_Response_SuicideReserve();
-}
static void do_Match_Request_Obtain_WorldItem(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -1764,15 +1381,6 @@
self->Match_Ladder_Request_Challenge(p0, p1, p2);
}
-
-static void do_Match_Ladder_Response_Challenge(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Ladder_Response_Challenge(p0);
-}
static void do_Match_Ladder_SearchRival(Registry* self, const uint8_t*,
uint16_t)
{
@@ -1825,17 +1433,6 @@
self->Match_RequestProposal(p0, p1, p2, p3, p4);
}
-
-static void do_Match_ResponseProposal(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- int32_t p1 = extract_int32(parameters, ¶mPtr, length);
- int32_t p2 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_ResponseProposal(p0, p1, p2);
-}
static void do_Match_AskAgreement(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1885,15 +1482,6 @@
{
self->Match_Friend_List();
}
-
-static void do_Match_Response_FriendList(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- tuple<Buffer, size_t, size_t> p0 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_Response_FriendList(p0);
-}
static void do_Match_Friend_Msg(Registry* self, const uint8_t* parameters,
uint16_t length)
{
@@ -1918,16 +1506,6 @@
self->Match_Clan_RequestCreateClan(p0, p1, p2, p3, p4, p5, p6);
}
-
-static void do_Match_Clan_ResponseCreateClan(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
- int32_t p1 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_ResponseCreateClan(p0, p1);
-}
static void do_Match_Clan_AskSponsorAgreement(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -1966,15 +1544,6 @@
self->Match_Clan_RequestAgreedCreateClan(p0, p1, p2, p3, p4, p5);
}
-
-static void do_Match_Clan_AgreedResponseCreateClan(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_AgreedResponseCreateClan(p0);
-}
static void do_Match_Clan_RequestCloseClan(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -1985,15 +1554,6 @@
self->Match_Clan_RequestCloseClan(p0, p1);
}
-
-static void do_Match_Clan_ResponseCloseClan(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_ResponseCloseClan(p0);
-}
static void do_Match_Clan_RequestJoinClan(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -2005,15 +1565,6 @@
self->Match_Clan_RequestJoinClan(p0, p1, p2);
}
-
-static void do_Match_Clan_ResponseJoinClan(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_ResponseJoinClan(p0);
-}
static void do_Match_Clan_AskJoinAgreement(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -2047,15 +1598,6 @@
self->Match_Clan_RequestAgreedJoinClan(p0, p1, p2);
}
-
-static void do_Match_Clan_ResponseAgreedJoinClan(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_ResponseAgreedJoinClan(p0);
-}
static void do_Match_Clan_RequestLeaveClan(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -2065,15 +1607,6 @@
self->Match_Clan_RequestLeaveClan(p0);
}
-
-static void do_Match_Clan_ResponseLeaveClan(Registry* self, const uint8_t*
parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_ResponseLeaveClan(p0);
-}
static void do_Match_Clan_UpdateCharClanInfo(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -2095,15 +1628,6 @@
self->Match_Clan_Master_RequestChangeGrade(p0, p1, p2, p3);
}
-
-static void do_Match_Clan_Master_ResponseChangeGrade(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_Master_ResponseChangeGrade(p0);
-}
static void do_Match_Clan_Admin_RequestExpelMember(Registry* self, const
uint8_t* parameters, uint16_t length)
{
@@ -2114,15 +1638,6 @@
self->Match_Clan_Admin_RequestExpelMember(p0, p1);
}
-
-static void do_Match_Clan_Admin_ResponseLeaveMember(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
-
- self->Match_Clan_Admin_ResponseLeaveMember(p0);
-}
static void do_Match_Clan_Request_Msg(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -2152,15 +1667,6 @@
self->Match_Clan_Request_ClanMemberList(p0);
}
-
-static void do_Match_Clan_Response_ClanMemberList(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- tuple<Buffer, size_t, size_t> p0 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_Clan_Response_ClanMemberList(p0);
-}
static void do_Match_Clan_Request_Clan_Info(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -2171,15 +1677,6 @@
self->Match_Clan_Request_Clan_Info(p0, p1);
}
-
-static void do_Match_Clan_Response_Clan_Info(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- tuple<Buffer, size_t, size_t> p0 = extract_blob(parameters, ¶mPtr,
length);
-
- self->Match_Clan_Response_Clan_Info(p0);
-}
static void do_Match_Clan_Standby_ClanList(Registry* self, const uint8_t*
parameters, uint16_t length)
{
@@ -2209,17 +1706,6 @@
self->Match_Clan_Request_EmblemURL(p0);
}
-
-static void do_Match_Clan_Response_EmblemURL(Registry* self, const
uint8_t* parameters, uint16_t length)
-{
- const uint8_t* paramPtr = parameters;
-
- int32_t p0 = extract_int32(parameters, ¶mPtr, length);
***The diff for this file has been truncated for email.***
=======================================
--- /trunk/include/cockpit/packet/Registry.h Fri Jun 25 08:39:54 2010
+++ /trunk/include/cockpit/packet/Registry.h Sun Jun 27 12:47:56 2010
@@ -55,12 +55,6 @@
// Login Match Server
boost::function<void (const std::string& /* UserID */, const std::string&
/* Password */, boost::int32_t /* CommandVersion */, boost::uint32_t /*
nChecksumPack */)> Match_Login;
- // Response Login
- boost::function<void (boost::int32_t /* Result */, const std::string& /*
ServerName */, boost::int8_t /* ServerMode */, const std::string& /*
AccountID */, boost::uint8_t /* UGradeID */, boost::uint8_t /* PGradeID */,
boost::uint64_t /* uidPlayer */, boost::tuple<Buffer /* data */, size_t /*
count */, size_t /* size */> /* EncryptMsg */)> Match_ResponseLogin;
-
- // Response Result
- boost::function<void (boost::int32_t /* Result */)> Match_Response_Result;
-
// Login from Netmarble
boost::function<void (const std::string& /* CPCookie */, const
std::string& /* SpareParam */, boost::int32_t /* CommandVersion */,
boost::uint32_t /* nChecksumPack */)> Match_LoginNetmarble;
@@ -85,15 +79,9 @@
// Request recommanded channel
boost::function<void ()> MatchServer_RequestRecommandedChannel;
- // Response recommanded channel
- boost::function<void (boost::uint64_t /* uid */)>
MatchServer_ResponseRecommandedChannel;
-
// Join a Channel
boost::function<void (boost::uint64_t /* uidPlayer */, boost::uint64_t /*
uidChannel */)> Channel_Join;
- // Response Join a Channel
- boost::function<void (boost::uint64_t /* uidChannel */, boost::int32_t /*
ChannelType */, const std::string& /* ChannelName */, bool /*
EnableInterface */)> Channel_ResponseJoin;
-
// Join a Channel From Name
boost::function<void (boost::uint64_t /* uidPlayer */, boost::int32_t /*
nChannelType */, boost::int32_t /* zero */, const std::string& /*
ChannelName */)> Channel_RequestJoinFromName;
@@ -118,15 +106,9 @@
// Request the Channel Rule
boost::function<void (boost::uint64_t /* uidChannel */)>
Channel_Request_Rule;
- // Response the Channel Rule
- boost::function<void (boost::uint64_t /* uidChannel */, const
std::string& /* RuleName */)> Channel_Response_Rule;
-
// Request Channel All Player List
boost::function<void (boost::uint64_t /* uidPlayer */, boost::uint64_t /*
uidChannel */, boost::uint32_t /* PlaceFilter */, boost::uint32_t /*
Options */)> Channel_RequestAllPlayerList;
- // Response Channel All Player List
- boost::function<void (boost::uint64_t /* uidChannel */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
PlayerList */)> Channel_ResponseAllPlayerList;
-
// Create a Stage
boost::function<void (boost::uint64_t /* uidChar */, const std::string&
/* StageName */, bool /* IsPrivate */, const std::string& /* Password */)>
Stage_Create;
@@ -148,24 +130,12 @@
// Follow User to Stage
boost::function<void (const std::string& /* strTarget */)> Stage_Follow;
- // Response Follow User to Stage
- boost::function<void (boost::int32_t /* Result */)> Stage_Response_Follow;
-
- // Response Join a Stage
- boost::function<void (boost::int32_t /* Result */)> Stage_ResponseJoin;
-
// Require password
boost::function<void (boost::uint64_t /* uidStage */, const std::string&
/* StageName */)> Stage_RequirePassword;
// Request Game Info
boost::function<void (boost::uint64_t /* uidChar */, boost::uint64_t /*
uidStage */)> RequestGameInfo;
- // Response Game Info
- boost::function<void (boost::uint64_t /* uidStage */, boost::tuple<Buffer
/* data */, size_t /* count */, size_t /* size */> /* GameInfo */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
RuleInfo */, boost::tuple<Buffer /* data */, size_t /* count */, size_t /*
size */> /* PlayerInfo */)> ResponseGameInfo;
-
- // Response Create a Stage
- boost::function<void (boost::int32_t /* Result */)> Stage_ResponseCreate;
-
// Request Enter Stage Battle
boost::function<void (boost::uint64_t /* uidPlayer */, boost::uint64_t /*
uidStage */)> Stage_Request_EnterBattle;
@@ -187,9 +157,6 @@
// Stage Request QuickJoin
boost::function<void (boost::uint64_t /* uidPlayer */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
Param */)> Stage_RequestQuickJoin;
- // Stage Response QuickJoin
- boost::function<void (boost::int32_t /* Result */, boost::uint64_t /*
uidStage */)> Stage_ResponseQuickJoin;
-
// Stage Go
boost::function<void (boost::uint32_t /* RoomNo */)> Stage_StageGo;
@@ -217,15 +184,9 @@
// Request Channel Player List
boost::function<void (boost::uint64_t /* uidPlayer */, boost::uint64_t /*
uidChannel */, boost::int32_t /* PlayerListPage */)>
Channel_RequestPlayerList;
- // Response Channel Player List
- boost::function<void (boost::uint8_t /* TotalPlayerCount */,
boost::uint8_t /* PlayerListPage */, boost::tuple<Buffer /* data */, size_t
/* count */, size_t /* size */> /* PlayerList */)>
Channel_ResponsePlayerList;
-
// Request stage setting
boost::function<void (boost::uint64_t /* uidStage */)>
Stage_RequestStageSetting;
- // Response stage setting
- boost::function<void (boost::uint64_t /* uidStage */, boost::tuple<Buffer
/* data */, size_t /* count */, size_t /* size */> /* StageSetting */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
CharSetting */, boost::int32_t /* StageState */, boost::uint64_t /*
uidMaster */)> Stage_ResponseStageSetting;
-
// Setting up Stage
boost::function<void (boost::uint64_t /* uidPlayer */, boost::uint64_t /*
uidStage */, boost::tuple<Buffer /* data */, size_t /* count */, size_t /*
size */> /* StageSetting */)> Stage_StageSetting;
@@ -238,18 +199,12 @@
// Request peer list
boost::function<void (boost::uint64_t /* uidPlayer */, boost::uint64_t /*
uidStage */)> Stage_RequestPeerList;
- // Response peer list
- boost::function<void (boost::uint64_t /* uidStage */, boost::tuple<Buffer
/* data */, size_t /* count */, size_t /* size */> /* PeerList */)>
Stage_ResponsePeerList;
-
// Loading Complete
boost::function<void (boost::uint64_t /* ChrUID */, boost::int32_t /*
Percent */)> Loading_Complete;
// Request Peer Relay
boost::function<void (boost::uint64_t /* PlayerUID */, boost::uint64_t /*
PeerCharUID */)> Match_RequestPeerRelay;
- // Response Peer Relay
- boost::function<void (boost::uint64_t /* PeerCharUID */)>
Match_ResponsePeerRelay;
-
// Sync State of a StageRound
boost::function<void (boost::uint64_t /* uidStage */, boost::int32_t /*
nRound */, boost::int32_t /* nState */, boost::int32_t /* nArg */)>
Stage_RoundState;
@@ -274,18 +229,12 @@
// Request TimeSync for Game
boost::function<void (boost::uint32_t /* LocalTimeStamp */)>
Game_RequestTimeSync;
- // Response TimeSync for Game
- boost::function<void (boost::uint32_t /* LocalTimeStamp */,
boost::uint32_t /* GlobalTimeStamp */)> Game_ResponseTimeSync;
-
// Report TimeSync for Verify SpeedHack
boost::function<void (boost::uint32_t /* LocalTimeStamp */,
boost::uint32_t /* MemoryChecksum */)> Game_ReportTimeSync;
// Request Forced Entry
boost::function<void (boost::uint64_t /* uidChar */, boost::uint64_t /*
uidStage */)> Stage_RequestForcedEntry;
- // Response Forced Entry
- boost::function<void (boost::int32_t /* Result */)>
Stage_ResponseForcedEntry;
-
// Update Round Finished Info
boost::function<void (boost::uint64_t /* uidStage */, boost::uint64_t /*
uidChar */, boost::tuple<Buffer /* data */, size_t /* count */, size_t /*
size */> /* PeerInfo */, boost::tuple<Buffer /* data */, size_t /* count
*/, size_t /* size */> /* KillInfo */)> Stage_RoundFinishInfo;
@@ -322,96 +271,51 @@
// Request Account Character List
boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* EMsg */)> Match_RequestAccountCharList;
- // Response Account Character List
- boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* CharList */)> Match_ResponseAccountCharList;
-
// Request Account Character Info
boost::function<void (boost::int8_t /* CharNum */)>
Match_RequestAccountCharInfo;
- // Response Account Character Info
- boost::function<void (boost::int8_t /* CharNum */, boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> /* CharInfo */)>
Match_ResponseAccountCharInfo;
-
// Request Select Character
boost::function<void (boost::uint64_t /* uid */, boost::uint32_t /*
CharIndex */)> Match_RequestSelectChar;
- // Response Select Character
- boost::function<void (boost::int32_t /* Result */, boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> /* CharInfo */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
MyExtraCharInfo */)> Match_ResponseSelectChar;
-
// Request Character Info
boost::function<void (boost::uint64_t /* uid */, boost::uint32_t /*
CharIndex */)> Match_RequestCharInfo;
- // Response Character Info
- boost::function<void (boost::uint64_t /* uid */, boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> /* CharInfo */)>
Match_ResponseCharInfo;
-
// Request Delete Character
boost::function<void (boost::uint64_t /* uid */, boost::uint32_t /*
CharIndex */, const std::string& /* CharName */)> Match_RequestDeleteChar;
- // Response Delete Character
- boost::function<void (boost::int32_t /* Result */)>
Match_ResponseDeleteChar;
-
// Request Create Character
boost::function<void (boost::uint64_t /* uid */, boost::uint32_t /*
CharIndex */, const std::string& /* Name */, boost::uint32_t /* Sex */,
boost::uint32_t /* Hair */, boost::uint32_t /* Face */, boost::uint32_t /*
Costume */)> Match_RequestCreateChar;
- // Response Create Character
- boost::function<void (boost::int32_t /* Result */, const std::string& /*
CharName */)> Match_ResponseCreateChar;
-
// Request Buy Item
boost::function<void (boost::uint64_t /* uidChar */, boost::uint32_t /*
ItemID */)> Match_RequestBuyItem;
- // Response Buy Item
- boost::function<void (boost::int32_t /* result */)> Match_ResponseBuyItem;
-
// Request Sell Item
boost::function<void (boost::uint64_t /* uidChar */, boost::uint64_t /*
uidItem */)> Match_RequestSellItem;
- // Response Sell Item
- boost::function<void (boost::int32_t /* result */)>
Match_ResponseSellItem;
-
// Request Shop Item List
boost::function<void (boost::uint64_t /* uid */, boost::int32_t /*
FirstItemIndex */, boost::int32_t /* ItemCount */)>
Match_RequestShopItemList;
- // Response Shop Item List
- boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* GambleItemList */, boost::tuple<Buffer /* data */,
size_t /* count */, size_t /* size */> /* ItemList */)>
Match_ResponseShopItemList;
-
// Request Character Item List
boost::function<void (boost::uint64_t /* uid */)>
Match_RequestCharacterItemList;
// Request Character Item List NonPrevent Duplicate Send
boost::function<void (boost::uint64_t /* uid */)>
Match_RequestCharacterItemListForce;
- // Response Character Item List
- boost::function<void (boost::int32_t /* Bounty */, boost::tuple<Buffer /*
data */, size_t /* count */, size_t /* size */> /* EquipItemList */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
ItemList */, boost::tuple<Buffer /* data */, size_t /* count */, size_t /*
size */> /* GambleItemList */)> Match_ResponseCharacterItemList;
-
// Request Equip Item
boost::function<void (boost::uint64_t /* uidChar */, boost::uint64_t /*
uidItem */, boost::uint32_t /* EquipmentSlot */)> MatchRequestEquipItem;
- // Response Equip Item
- boost::function<void (boost::int32_t /* Result */)>
MatchResponseEquipItem;
-
// Request Takeoff Item
boost::function<void (boost::uint64_t /* uid */, boost::uint32_t /*
EquipmentSlot */)> MatchRequestTakeoffItem;
- // Response Takeoff Item
- boost::function<void (boost::int32_t /* Result */)>
MatchResponseTakeoffItem;
-
// Request Account Item List
boost::function<void (boost::uint64_t /* uid */)>
Match_RequestAccountItemList;
- // Response Account Item List
- boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* ItemList */)> Match_ResponseAccountItemList;
-
// Request Bring Account Item
boost::function<void (boost::uint64_t /* uidChar */, boost::int32_t /*
AIID */)> Match_RequestBringAccountItem;
- // Response Bring Account Item
- boost::function<void (boost::int32_t /* Result */)>
Match_ResponseBringAccountItem;
-
// Request BringBack Account Item
boost::function<void (boost::uint64_t /* uidChar */, boost::uint64_t /*
uidItem */)> Match_RequestBringBackAccountItem;
- // Response BringBack Account Item
- boost::function<void (boost::int32_t /* Result */)>
Match_ResponseBringBackAccountItem;
-
// Match.Expired Rent Item
boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* ItemIDList */)> Match_ExpiredRentItem;
@@ -424,12 +328,6 @@
// Request Suicide
boost::function<void (boost::uint64_t /* uidChar */)>
Match_Request_Suicide;
- // Response Suicide
- boost::function<void (boost::int32_t /* Result */, boost::uint64_t /*
uidChar */)> Match_Response_Suicide;
-
- // response suicide reserve
- boost::function<void ()> Match_Response_SuicideReserve;
-
// Request Obtain WorldItem
boost::function<void (boost::uint64_t /* uidChar */, boost::int32_t /*
nItemUID */)> Match_Request_Obtain_WorldItem;
@@ -457,9 +355,6 @@
// Request Challenge a Ladder
boost::function<void (boost::int32_t /* MemberCount */, boost::uint32_t
/* Options */, boost::tuple<Buffer /* data */, size_t /* count */, size_t
/* size */> /* MemberNames */)> Match_Ladder_Request_Challenge;
- // Response Challenge a Ladder
- boost::function<void (boost::int32_t /* Result */)>
Match_Ladder_Response_Challenge;
-
// Search a Ladder Rival
boost::function<void ()> Match_Ladder_SearchRival;
@@ -478,9 +373,6 @@
// Request Proposal
boost::function<void (boost::uint64_t /* uidChar */, boost::int32_t /*
ProposalMode */, boost::int32_t /* RequestID */, boost::int32_t /*
ReplierCount */, boost::tuple<Buffer /* data */, size_t /* count */, size_t
/* size */> /* ReplierCharNames */)> Match_RequestProposal;
- // Response Proposal
- boost::function<void (boost::int32_t /* Result */, boost::int32_t /*
ProposalMode */, boost::int32_t /* RequestID */)> Match_ResponseProposal;
-
// Ask Agreement
boost::function<void (boost::uint64_t /* uidProposer */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
MembersCharName */, boost::int32_t /* ProposalMode */, boost::int32_t /*
RequestID */)> Match_AskAgreement;
@@ -496,18 +388,12 @@
// List Friend
boost::function<void ()> Match_Friend_List;
- // Response List Friend
- boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* FriendList */)> Match_Response_FriendList;
-
// Message to Friends
boost::function<void (const std::string& /* Msg */)> Match_Friend_Msg;
// Request Create Clan
boost::function<void (boost::uint64_t /* uidChar */, boost::int32_t /*
RequestID */, const std::string& /* ClanName */, const std::string& /*
Member1CharName */, const std::string& /* Member2CharName */, const
std::string& /* Member3CharName */, const std::string& /* Member4CharName
*/)> Match_Clan_RequestCreateClan;
- // Response Create Clan
- boost::function<void (boost::int32_t /* Result */, boost::int32_t /*
RequestID */)> Match_Clan_ResponseCreateClan;
-
// Ask Sponsor's Agreement
boost::function<void (boost::int32_t /* RequestID */, const std::string&
/* ClanName */, boost::uint64_t /* uidClanMaster */, const std::string& /*
szClanMaster */)> Match_Clan_AskSponsorAgreement;
@@ -517,21 +403,12 @@
// Request Agreed Create Clan
boost::function<void (boost::uint64_t /* uidChar */, const std::string&
/* ClanName */, const std::string& /* Member1CharName */, const
std::string& /* Member2CharName */, const std::string& /* Member3CharName
*/, const std::string& /* Member4CharName */)>
Match_Clan_RequestAgreedCreateClan;
- // Response Agreed Create Clan
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_AgreedResponseCreateClan;
-
// Request Close Clan
boost::function<void (boost::uint64_t /* uidChar */, const std::string&
/* ClanName */)> Match_Clan_RequestCloseClan;
- // Response Close Clan
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_ResponseCloseClan;
-
// Request Join Clan
boost::function<void (boost::uint64_t /* uidChar */, const std::string&
/* ClanName */, const std::string& /* szJoiner */)>
Match_Clan_RequestJoinClan;
- // Response Join Clan
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_ResponseJoinClan;
-
// Ask Join Agreement
boost::function<void (const std::string& /* ClanName */, boost::uint64_t
/* uidClanAdmin */, const std::string& /* szClanAdmin */)>
Match_Clan_AskJoinAgreement;
@@ -541,30 +418,18 @@
// Request Agreed Join Clan
boost::function<void (boost::uint64_t /* uidClanAdmin */, const
std::string& /* ClanName */, const std::string& /* szJoiner */)>
Match_Clan_RequestAgreedJoinClan;
- // Response Agreed Join Clan
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_ResponseAgreedJoinClan;
-
// Request Leave Clan
boost::function<void (boost::uint64_t /* uidChar */)>
Match_Clan_RequestLeaveClan;
- // Response Leave Clan
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_ResponseLeaveClan;
-
// Update Char ClanInfo
boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* ClanInfo */)> Match_Clan_UpdateCharClanInfo;
// Request Change ClanGrade
boost::function<void (boost::uint64_t /* uidClanMaster */, const
std::string& /* szMember */, boost::int32_t /* Grade */, boost::int32_t /*
zero */)> Match_Clan_Master_RequestChangeGrade;
- // Response Change ClanGrade
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_Master_ResponseChangeGrade;
-
// Request Expel ClanMember
boost::function<void (boost::uint64_t /* uidClanAdmin */, const
std::string& /* szMember */)> Match_Clan_Admin_RequestExpelMember;
- // Response Expel ClanMember
- boost::function<void (boost::int32_t /* Result */)>
Match_Clan_Admin_ResponseLeaveMember;
-
// Request Clan Msg
boost::function<void (boost::uint64_t /* uidSender */, const std::string&
/* Msg */)> Match_Clan_Request_Msg;
@@ -574,15 +439,9 @@
// Request Clan Member List
boost::function<void (boost::uint64_t /* uidChar */)>
Match_Clan_Request_ClanMemberList;
- // Response Clan Member List
- boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* ClanMemberList */)>
Match_Clan_Response_ClanMemberList;
-
// Request Clan Info
boost::function<void (boost::uint64_t /* uidChar */, const std::string&
/* ClanName */)> Match_Clan_Request_Clan_Info;
- // Response Clan Info
- boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* ClanInfo */)> Match_Clan_Response_Clan_Info;
-
// Standby Clan List
boost::function<void (boost::int32_t /* PrevClanListCount */,
boost::int32_t /* NextClanListCount */, boost::tuple<Buffer /* data */,
size_t /* count */, size_t /* size */> /* ClanList */)>
Match_Clan_Standby_ClanList;
@@ -592,9 +451,6 @@
// Request EmblemURL
boost::function<void (boost::tuple<Buffer /* data */, size_t /* count */,
size_t /* size */> /* ClanURLList */)> Match_Clan_Request_EmblemURL;
- // Response EmblemURL
- boost::function<void (boost::int32_t /* ClanCLID */, boost::int32_t /*
EmblemChecksum */, const std::string& /* EmblemURL */)>
Match_Clan_Response_EmblemURL;
-
// Notify Emblem Ready
boost::function<void (boost::int32_t /* ClanCLID */, const std::string&
/* EmblemURL */)> Match_Clan_Local_EmblemReady;
@@ -766,9 +622,6 @@
// Request Ban Player
boost::function<void (boost::uint64_t /* uidAdmin */, const std::string&
/* uidTargetCharName */)> Admin_RequestBanPlayer;
- // Response Ban Player
- boost::function<void (boost::int32_t /* Result */)>
Admin_ResponseBanPlayer;
-
// Hide Admin Player
boost::function<void ()> Admin_Hide;
@@ -796,9 +649,6 @@
// Request LiveCheck for Agent
boost::function<void (boost::uint32_t /* TimeStamp */, boost::uint32_t /*
StageCount */, boost::uint32_t /* UserCount */)>
Match_Agent_RequestLiveCheck;
- // Response LiveCheck for Agent
- boost::function<void (boost::uint32_t /* TimeStamp */)>
Match_Agent_ResponseLiveCheck;
-
// Reserve stage on AgentServer
boost::function<void (boost::uint64_t /* StageUID */)> Agent_StageReserve;
@@ -835,9 +685,6 @@
// Request drop sacrifice item
boost::function<void (boost::uint64_t /* Dropitemowner */, boost::int32_t
/* Slotindex */, boost::int32_t /* ItemID */)> Quest_Request_Sacrifice;
- // Response drop sacrifice item
- boost::function<void (boost::int32_t /* Result */, boost::uint64_t /*
requesterofdropsacrificeitem_ */, boost::int32_t /* Slotindex */,
boost::int32_t /* ItemID */)> Quest_Response_Sacrifice;
-
// Request callback sacrifice item
boost::function<void (boost::uint64_t /* Callbackitemrequester */,
boost::int32_t /* Slotindex */, boost::int32_t /* ItemID */)>
Quest_Callback_Sacrifice;
@@ -853,9 +700,6 @@
// Request stage quest level
boost::function<void (boost::uint64_t /* sender */)> Quest_RequestLevel;
- // Response stage quest level
- boost::function<void (boost::int32_t /* Questlevel */)>
Quest_ResponseLevel;
-
// Send survival result
boost::function<void (boost::int32_t /* Reachedround */, boost::int32_t
/* Point */)> Quest_Survival_Result;
@@ -874,9 +718,6 @@
// request monster bible info
boost::function<void (boost::uint64_t /* requester */)>
Quest_Bible_Request;
- // response monster bible info
- boost::function<void (boost::uint64_t /* requester */,
boost::tuple<Buffer /* data */, size_t /* count */, size_t /* size */> /*
Monsterbibleinfo */)> Quest_Bible_Response;
-
// give oneself up
boost::function<void ()> MC_REQUEST_GIVE_ONESELF_UP;
=======================================
--- /trunk/protocol/parse.py Fri Jun 25 08:39:54 2010
+++ /trunk/protocol/parse.py Sun Jun 27 12:47:56 2010
@@ -163,6 +163,10 @@
* protocol/parse.py. Any changes should me made there, instead of here.
*/
+#if defined(_MSC_VER)
+ #pragma warning(disable:4355) // We know what we're doing. Stfu, VC++.
+#endif
+
#include <boost/array.hpp>
#include <boost/format.hpp>
#include <boost/bind.hpp>
@@ -609,12 +613,18 @@
commands = list()
+# Returns if the command has "Response" in its name.
+def contains_response(command):
+ return command.name.find("Response") != -1
+
from sys import argv
if len(argv) == 2:
commands = parse([x[:-1] for x in open(argv[1]).readlines()])
- build_packet_registry_header("include/cockpit/packet/Registry.h",
commands)
- build_packet_registry_cpp("cockpit/src/packet/Registry.cpp", commands)
+ registryCommands = list(filter(lambda c: not contains_response(c),
commands))
+
+ build_packet_registry_header("include/cockpit/packet/Registry.h",
registryCommands)
+ build_packet_registry_cpp("cockpit/src/packet/Registry.cpp",
registryCommands)
build_all_packet_types_header("include/cockpit/packet/protocol/all",
commands)
for c in commands:
build_command_header(''.join(["include/cockpit/packet/protocol/",
c.name, '.h']), c)