#include <ChannelMgr.h>
ChannelMgr::ChannelMgr |
( |
| ) |
|
|
inlineprotected |
uint32 _team
Definition: ChannelMgr.h:45
ChannelMgr::~ChannelMgr |
( |
| ) |
|
|
protected |
ChannelMap _channels
Definition: ChannelMgr.h:44
35 return &allianceChannelMgr;
38 return &allianceChannelMgr;
41 return &hordeChannelMgr;
#define sWorld
Definition: World.h:887
Definition: SharedDefines.h:1000
Definition: SharedDefines.h:999
Definition: ChannelMgr.h:27
73 ChannelMap::const_iterator i =
_channels.find(wname);
bool Utf8toWStr(char const *utf8str, size_t csize, wchar_t *wstr, size_t &wsize)
Definition: Util.cpp:281
void wstrToLower(std::wstring &str)
Definition: Util.h:306
static void SendNotOnChannelNotify(Player const *player, std::string const &name)
Definition: ChannelMgr.cpp:106
ChannelMap _channels
Definition: ChannelMgr.h:44
54 ChannelMap::const_iterator i =
_channels.find(wname);
uint32 _team
Definition: ChannelMgr.h:45
bool Utf8toWStr(char const *utf8str, size_t csize, wchar_t *wstr, size_t &wsize)
Definition: Util.cpp:281
void wstrToLower(std::wstring &str)
Definition: Util.h:306
Definition: Channel.h:126
ChannelMap _channels
Definition: ChannelMgr.h:44
void ChannelMgr::LeftChannel |
( |
std::string const & |
name | ) |
|
93 ChannelMap::const_iterator i =
_channels.find(wname);
bool Utf8toWStr(char const *utf8str, size_t csize, wchar_t *wstr, size_t &wsize)
Definition: Util.cpp:281
void wstrToLower(std::wstring &str)
Definition: Util.h:306
Definition: Channel.h:126
uint32 GetNumPlayers() const
Definition: Channel.h:179
bool IsConstant() const
Definition: Channel.h:173
ChannelMap _channels
Definition: ChannelMgr.h:44
void ChannelMgr::SendNotOnChannelNotify |
( |
Player const * |
player, |
|
|
std::string const & |
name |
|
) |
| |
|
staticprivate |
111 player->SendDirectMessage(notify.
Write());
WorldPacket const * Write() override
Definition: ChannelPackets.cpp:38
Definition: ChannelPackets.h:52
std::string _Channel
Channel Name.
Definition: ChannelPackets.h:65
uint8 Type
Definition: ChannelPackets.h:62
void ChannelMgr::SetTeam |
( |
uint32 |
newTeam | ) |
|
|
inline |
uint32 _team
Definition: ChannelMgr.h:45
The documentation for this class was generated from the following files: