![]() |
TrinityCore
|
#include <ChannelMgr.h>
Public Member Functions | |
| void | SaveToDB () |
| Channel * | GetSystemChannel (uint32 channelId, AreaTableEntry const *zoneEntry=nullptr) |
| Channel * | CreateCustomChannel (std::string const &name) |
| Channel * | GetCustomChannel (std::string const &name) const |
| Channel * | GetChannel (uint32 channelId, std::string const &name, Player *player, bool pkt=true, AreaTableEntry const *zoneEntry=nullptr) const |
| void | LeftChannel (uint32 channelId, AreaTableEntry const *zoneEntry) |
Static Public Member Functions | |
| static void | LoadFromDB () |
| static ChannelMgr * | forTeam (uint32 team) |
| static Channel * | GetChannelForPlayerByNamePart (std::string const &namePart, Player *playerSearcher) |
Protected Member Functions | |
| ChannelMgr (uint32 team) | |
| ~ChannelMgr () | |
Private Types | |
| typedef std::unordered_map< std::wstring, Channel * > | CustomChannelContainer |
| typedef std::unordered_map< std::pair< uint32, uint32 >, Channel * > | BuiltinChannelContainer |
Static Private Member Functions | |
| static void | MakeNotOnPacket (WorldPacket *data, std::string const &name) |
Private Attributes | |
| CustomChannelContainer | _customChannels |
| BuiltinChannelContainer | _channels |
| uint32 const | _team |
Definition at line 30 of file ChannelMgr.h.
|
private |
Definition at line 33 of file ChannelMgr.h.
|
private |
Definition at line 32 of file ChannelMgr.h.
|
inlineexplicitprotected |
Definition at line 36 of file ChannelMgr.h.
|
protected |
Definition at line 27 of file ChannelMgr.cpp.
| Channel * ChannelMgr::CreateCustomChannel | ( | std::string const & | name | ) |
|
static |
| Channel * ChannelMgr::GetChannel | ( | uint32 | channelId, |
| std::string const & | name, | ||
| Player * | player, | ||
| bool | pkt = true, |
||
| AreaTableEntry const * | zoneEntry = nullptr |
||
| ) | const |
|
static |
Definition at line 124 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Channel * ChannelMgr::GetCustomChannel | ( | std::string const & | name | ) | const |
| Channel * ChannelMgr::GetSystemChannel | ( | uint32 | channelId, |
| AreaTableEntry const * | zoneEntry = nullptr |
||
| ) |
| void ChannelMgr::LeftChannel | ( | uint32 | channelId, |
| AreaTableEntry const * | zoneEntry | ||
| ) |
Definition at line 251 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 36 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
staticprivate |
Definition at line 272 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void ChannelMgr::SaveToDB | ( | ) |
|
private |
Definition at line 53 of file ChannelMgr.h.
|
private |
Definition at line 52 of file ChannelMgr.h.
|
private |
Definition at line 54 of file ChannelMgr.h.