summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-12 16:56:14 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-12 16:56:14 +0300
commit2b5db5baf923a0c822e7ee048f218fd264e91f19 (patch)
tree1d9590f40e9ba0ee32e5441d6c2d69f82f58ba3f /src/net/ea/partyhandler.cpp
parent7ff1b993bfc1e65a2e2d44bbcfc6444421aa69a2 (diff)
downloadmv-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.gz
mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.bz2
mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.tar.xz
mv-2b5db5baf923a0c822e7ee048f218fd264e91f19.zip
Add missing packet field comments.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 806864324..20bb93a5c 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -77,7 +77,7 @@ void PartyHandler::clear() const
void PartyHandler::processPartyCreate(Net::MessageIn &msg)
{
- if (msg.readUInt8())
+ if (msg.readUInt8("flag"))
NotifyManager::notify(NotifyTypes::PARTY_CREATE_FAILED);
else
NotifyManager::notify(NotifyTypes::PARTY_CREATED);
@@ -85,8 +85,8 @@ void PartyHandler::processPartyCreate(Net::MessageIn &msg)
void PartyHandler::processPartyInvited(Net::MessageIn &msg)
{
- const int id = msg.readInt32();
- const std::string partyName = msg.readString(24);
+ const int id = msg.readInt32("account id");
+ const std::string partyName = msg.readString(24, "party name");
std::string nick;
if (actorManager)