diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-23 07:02:32 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-23 07:02:32 -0600 |
commit | 7c360d2887216099ca8cc767f15a34fcf302803b (patch) | |
tree | 308a8889e1173a27b4c20ef608c0749449c8aa04 /src/party.h | |
parent | d3f315b45bd9055ac7f61082f5af54b863410517 (diff) | |
download | mana-client-7c360d2887216099ca8cc767f15a34fcf302803b.tar.gz mana-client-7c360d2887216099ca8cc767f15a34fcf302803b.tar.bz2 mana-client-7c360d2887216099ca8cc767f15a34fcf302803b.tar.xz mana-client-7c360d2887216099ca8cc767f15a34fcf302803b.zip |
Merge eA's command handling into CommandHandler
Also drop Aethyra's custom magic code
Diffstat (limited to 'src/party.h')
-rw-r--r-- | src/party.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/party.h b/src/party.h index 0f58b14b..d73b4a0f 100644 --- a/src/party.h +++ b/src/party.h @@ -34,7 +34,7 @@ class Network; class Party { public: - Party(ChatWindow *chat, Network *network); + Party(Network *network); void respond(const std::string &command, const std::string &args); void create(const std::string &party); @@ -47,10 +47,9 @@ class Party void leftResponse(const std::string &nick); void receiveChat(Being *being, const std::string &msg); - void help(const std::string &msg); + void help(const std::string &args); private: - ChatWindow *mChat; std::string mPartyName; Network *mNetwork; bool mInParty; @@ -73,4 +72,6 @@ class Party InviteListener mInviteListener; }; +extern Party *playerParty; + #endif |