diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-04 16:41:09 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-04 16:41:09 +0300 |
commit | 05a196194b8270c1ae2e63f8ae31f8a492022388 (patch) | |
tree | a00c9c9a009d562db1a95b3f8f77428df0169a21 /src/net/ea/partyhandler.cpp | |
parent | 6f06cd42b8e56aaae2be853a31d73d0115a39c2a (diff) | |
download | manaplus-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.gz manaplus-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.bz2 manaplus-05a196194b8270c1ae2e63f8ae31f8a492022388.tar.xz manaplus-05a196194b8270c1ae2e63f8ae31f8a492022388.zip |
Show unimplimented packet debug message on each unsupported packets parameters.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r-- | src/net/ea/partyhandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp index 03f210f73..f30a0a83f 100644 --- a/src/net/ea/partyhandler.cpp +++ b/src/net/ea/partyhandler.cpp @@ -83,7 +83,8 @@ void PartyHandler::processPartyCreate(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::PARTY_CREATED); } -void PartyHandler::processPartySettingsContinue(const int16_t exp, +void PartyHandler::processPartySettingsContinue(Net::MessageIn &msg, + const int16_t exp, const int16_t item) { switch (exp) @@ -107,7 +108,7 @@ void PartyHandler::processPartySettingsContinue(const int16_t exp, NotifyManager::notify(NotifyTypes::PARTY_EXP_SHARE_ERROR); break; default: - logger->log("QQQ Unknown party exp option: %d\n", exp); + UNIMPLIMENTEDPACKET; break; } @@ -132,7 +133,7 @@ void PartyHandler::processPartySettingsContinue(const int16_t exp, NotifyManager::notify(NotifyTypes::PARTY_ITEM_SHARE_ERROR); break; default: - logger->log("QQQ Unknown party item option: %d\n", exp); + UNIMPLIMENTEDPACKET; break; } } |