18 #ifndef __TRINITY_CHANNELMGR_H
19 #define __TRINITY_CHANNELMGR_H
24 #define MAX_CHANNEL_NAME_STR 0x31
25 #define MAX_CHANNEL_PASS_STR 31
39 Channel* GetJoinChannel(std::string
const& name,
uint32 channelId);
40 Channel* GetChannel(std::string
const& name,
Player* player,
bool notify =
true);
41 void LeftChannel(std::string
const& name);
47 static void SendNotOnChannelNotify(
Player const* player, std::string
const& name);
uint32 _team
Definition: ChannelMgr.h:45
std::map< std::wstring, Channel * > ChannelMap
Definition: ChannelMgr.h:29
ChannelMgr()
Definition: ChannelMgr.h:32
Definition: Channel.h:126
void SetTeam(uint32 newTeam)
Definition: ChannelMgr.h:37
uint32_t uint32
Definition: Define.h:150
Definition: ChannelMgr.h:27
#define TC_GAME_API
Definition: Define.h:134
ChannelMap _channels
Definition: ChannelMgr.h:44