![]() |
TrinityCore
|
#include <ChannelMgr.h>
Public Member Functions | |
| ChannelMgr (ChannelMgr const &right)=delete | |
| ChannelMgr (ChannelMgr &&right)=delete | |
| ChannelMgr & | operator= (ChannelMgr const &right)=delete |
| ChannelMgr & | operator= (ChannelMgr &&right)=delete |
| 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 notify=true, AreaTableEntry const *zoneEntry=nullptr) const |
| void | LeftChannel (uint32 channelId, AreaTableEntry const *zoneEntry) |
Static Public Member Functions | |
| static void | LoadFromDB () |
| static ChannelMgr * | ForTeam (Team team) |
| static Channel * | GetChannelForPlayerByNamePart (std::string const &namePart, Player *playerSearcher) |
| static Channel * | GetChannelForPlayerByGuid (ObjectGuid channelGuid, Player *playerSearcher) |
Static Public Attributes | |
| static AreaTableEntry const * | SpecialLinkedArea |
Protected Member Functions | |
| ChannelMgr (Team team) | |
| ~ChannelMgr () | |
Private Types | |
| typedef std::unordered_map< std::wstring, Channel * > | CustomChannelContainer |
| typedef std::unordered_map< ObjectGuid, Channel * > | BuiltinChannelContainer |
Private Member Functions | |
| ObjectGuid | CreateCustomChannelGuid () |
| ObjectGuid | CreateBuiltinChannelGuid (uint32 channelId, AreaTableEntry const *zoneEntry=nullptr) const |
Static Private Member Functions | |
| static void | SendNotOnChannelNotify (Player const *player, std::string const &name) |
Private Attributes | |
| CustomChannelContainer | _customChannels |
| BuiltinChannelContainer | _channels |
| Team const | _team |
| ObjectGuidGenerator | _guidGenerator |
Definition at line 31 of file ChannelMgr.h.
|
private |
Definition at line 34 of file ChannelMgr.h.
|
private |
Definition at line 33 of file ChannelMgr.h.
|
explicitprotected |
Definition at line 31 of file ChannelMgr.cpp.
|
protected |
Definition at line 35 of file ChannelMgr.cpp.
|
delete |
|
delete |
|
private |
Definition at line 285 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Channel * ChannelMgr::CreateCustomChannel | ( | std::string const & | name | ) |
Definition at line 192 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 280 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| Channel * ChannelMgr::GetChannel | ( | uint32 | channelId, |
| std::string const & | name, | ||
| Player * | player, | ||
| bool | notify = true, |
||
| AreaTableEntry const * | zoneEntry = nullptr |
||
| ) | const |
|
static |
Definition at line 171 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 142 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 |
Definition at line 211 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| Channel * ChannelMgr::GetSystemChannel | ( | uint32 | channelId, |
| AreaTableEntry const * | zoneEntry = nullptr |
||
| ) |
Definition at line 180 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void ChannelMgr::LeftChannel | ( | uint32 | channelId, |
| AreaTableEntry const * | zoneEntry | ||
| ) |
Definition at line 258 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 44 of file ChannelMgr.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
delete |
|
delete |
| void ChannelMgr::SaveToDB | ( | ) |
|
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:
|
private |
Definition at line 61 of file ChannelMgr.h.
|
private |
Definition at line 60 of file ChannelMgr.h.
|
private |
Definition at line 63 of file ChannelMgr.h.
|
private |
Definition at line 62 of file ChannelMgr.h.
|
static |
Definition at line 50 of file ChannelMgr.h.