diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 21:50:02 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 21:50:02 -0600 |
commit | bcc4695387d21f9629ab6f013aadbfe0d238aa6d (patch) | |
tree | 2e095ec94e99e788eb851a37cdf5eae68270424c /src/net/ea/chathandler.cpp | |
parent | 9078373860729cdf80db8d09cbdee478dc54ec64 (diff) | |
download | mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.gz mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.bz2 mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.xz mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.zip |
Implement TMWServ's Admin-, Chat-, and MapHandlers
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r-- | src/net/ea/chathandler.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp index 3abf2b24..13593ed1 100644 --- a/src/net/ea/chathandler.cpp +++ b/src/net/ea/chathandler.cpp @@ -42,7 +42,9 @@ #define SERVER_NAME "Server" -ChatHandler *chatHandler; +Net::ChatHandler *chatHandler; + +namespace EAthena { ChatHandler::ChatHandler() { @@ -201,7 +203,8 @@ void ChatHandler::channelList() // TODO } -void ChatHandler::enterChannel(int channelId, const std::string &password) +void ChatHandler::enterChannel(const std::string &channel, + const std::string &password) { // TODO } @@ -216,7 +219,7 @@ void ChatHandler::sendToChannel(int channelId, const std::string &text) // TODO } -void ChatHandler::userList(int channelId) +void ChatHandler::userList(const std::string &channel) { // TODO } @@ -235,3 +238,5 @@ void ChatHandler::kickUser(int channelId, const std::string &name) { // TODO } + +} // namespace EAthena |