diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-30 01:02:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-30 05:02:46 +0300 |
commit | 0e9ef0640cab30431bef8a4683a5da549d5c8f88 (patch) | |
tree | b3866e49869019a3278a71290fc78209bac51972 /src/net/tmwa/partyhandler.h | |
parent | c8b18b47abbb325b6cc4b34abbad52b03825e4f9 (diff) | |
download | mv-0e9ef0640cab30431bef8a4683a5da549d5c8f88.tar.gz mv-0e9ef0640cab30431bef8a4683a5da549d5c8f88.tar.bz2 mv-0e9ef0640cab30431bef8a4683a5da549d5c8f88.tar.xz mv-0e9ef0640cab30431bef8a4683a5da549d5c8f88.zip |
Extract shared logic from guildhandler and partyhandler netcode to ea namespace.
Diffstat (limited to 'src/net/tmwa/partyhandler.h')
-rw-r--r-- | src/net/tmwa/partyhandler.h | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index d2b204a55..209ea5047 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/partyhandler.h @@ -26,6 +26,8 @@ #include "net/tmwa/messagehandler.h" +#include "net/ea/partyhandler.h" + #include "party.h" #ifdef __GNUC__ @@ -37,7 +39,7 @@ namespace TmwAthena { -class PartyHandler : public MessageHandler, public Net::PartyHandler +class PartyHandler : public MessageHandler, public Ea::PartyHandler { public: PartyHandler(); @@ -48,8 +50,6 @@ class PartyHandler : public MessageHandler, public Net::PartyHandler void create(const std::string &name = ""); - void join(int partyId); - void invite(Being *being); void invite(const std::string &name); @@ -64,24 +64,9 @@ class PartyHandler : public MessageHandler, public Net::PartyHandler void chat(const std::string &text); - void requestPartyMembers() const; - - PartyShare getShareExperience() const - { return mShareExp; } - void setShareExperience(PartyShare share); - PartyShare getShareItems() const - { return mShareItems; } - void setShareItems(PartyShare share); - - void reload(); - - void clear(); - - private: - PartyShare mShareExp, mShareItems; }; } // namespace TmwAthena |