diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-28 00:47:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-28 00:47:23 +0300 |
commit | 7e0a84fc2b7493670dc8167aafb83c3811272eb3 (patch) | |
tree | 9c4323b69a5deb91f296638551f8ae06339803a8 /src/net/ea/partyhandler.h | |
parent | 60bb3d3235d4e25f5561bec1b8e717f58ff59b06 (diff) | |
download | manaverse-7e0a84fc2b7493670dc8167aafb83c3811272eb3.tar.gz manaverse-7e0a84fc2b7493670dc8167aafb83c3811272eb3.tar.bz2 manaverse-7e0a84fc2b7493670dc8167aafb83c3811272eb3.tar.xz manaverse-7e0a84fc2b7493670dc8167aafb83c3811272eb3.zip |
Move receive code from partyhandler into separate file.
Diffstat (limited to 'src/net/ea/partyhandler.h')
-rw-r--r-- | src/net/ea/partyhandler.h | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/src/net/ea/partyhandler.h b/src/net/ea/partyhandler.h index 453aced1d..1848d5316 100644 --- a/src/net/ea/partyhandler.h +++ b/src/net/ea/partyhandler.h @@ -44,33 +44,15 @@ class PartyHandler notfinal : public Net::PartyHandler void join(const int partyId) const override final; - PartyShareT getShareExperience() const override final A_WARN_UNUSED - { return mShareExp; } + PartyShareT getShareExperience() const override final A_WARN_UNUSED; - PartyShareT getShareItems() const override final A_WARN_UNUSED - { return mShareItems; } + PartyShareT getShareItems() const override final A_WARN_UNUSED; static void reload(); void clear() const override final; ChatTab *getTab() const override final; - - protected: - static void createTab(); - - static void processPartyCreate(Net::MessageIn &msg); - - static void processPartyLeave(Net::MessageIn &msg); - - static void processPartyUpdateCoords(Net::MessageIn &msg); - - static void processPartySettingsContinue(Net::MessageIn &msg, - const PartyShareT exp, - const PartyShareT item); - - static PartyShareT mShareExp; - static PartyShareT mShareItems; }; extern Party *taParty; |