summaryrefslogtreecommitdiff
path: root/src/net/manaserv/partyhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-03 10:18:25 -0700
commitacd557f9472c711fe92b9c158ec336abf688bf7b (patch)
tree2295d13589411ee88afe16f4997bea65b4ebba94 /src/net/manaserv/partyhandler.cpp
parentc60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff)
downloadmana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz
mana-client-acd557f9472c711fe92b9c158ec336abf688bf7b.zip
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/net/manaserv/partyhandler.cpp')
-rw-r--r--src/net/manaserv/partyhandler.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/net/manaserv/partyhandler.cpp b/src/net/manaserv/partyhandler.cpp
index 9f20f027..ea968649 100644
--- a/src/net/manaserv/partyhandler.cpp
+++ b/src/net/manaserv/partyhandler.cpp
@@ -22,12 +22,12 @@
#include "net/manaserv/partyhandler.h"
#include "net/manaserv/protocol.h"
+#include "net/manaserv/messagein.h"
+#include "net/manaserv/messageout.h"
#include "net/manaserv/chatserver/chatserver.h"
#include "net/manaserv/chatserver/party.h"
-#include "net/messagein.h"
-
#include "gui/partywindow.h"
#include "gui/widgets/chattab.h"
@@ -60,7 +60,7 @@ PartyHandler::PartyHandler()
partyHandler = this;
}
-void PartyHandler::handleMessage(MessageIn &msg)
+void PartyHandler::handleMessage(Net::MessageIn &msg)
{
switch (msg.getId())
{
@@ -140,20 +140,20 @@ void PartyHandler::invite(Player *player)
void PartyHandler::invite(const std::string &name)
{
- Net::ChatServer::Party::invitePlayer(name);
+ ChatServer::Party::invitePlayer(name);
}
void PartyHandler::inviteResponse(const std::string &inviter, bool accept)
{
if (accept)
- Net::ChatServer::Party::acceptInvite(inviter);
+ ChatServer::Party::acceptInvite(inviter);
else
- Net::ChatServer::Party::rejectInvite(inviter);
+ ChatServer::Party::rejectInvite(inviter);
}
void PartyHandler::leave()
{
- Net::ChatServer::Party::quitParty();
+ ChatServer::Party::quitParty();
}
void PartyHandler::kick(Player *player)