00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef _TMWSERV_CHATCLIENT_H_
00023 #define _TMWSERV_CHATCLIENT_H_
00024
00025 #include <map>
00026 #include <string>
00027 #include <vector>
00028
00029 #include "net/netcomputer.hpp"
00030
00031 class ChatChannel;
00032 class Guild;
00033 class Party;
00034
00039 class ChatClient : public NetComputer
00040 {
00041 public:
00045 ChatClient(ENetPeer *peer):
00046 NetComputer(peer),
00047 party(0),
00048 accountLevel(0)
00049 {
00050 }
00051
00052 std::string characterName;
00053 unsigned int characterId;
00054 std::vector< ChatChannel * > channels;
00055 Party* party;
00056 unsigned char accountLevel;
00057 std::map<ChatChannel*, std::string> userModes;
00058 int numInvites;
00059 };
00060
00061 #endif