65 char const* channelStr = strtok((
char*)args,
" ");
66 char const* argStr = strtok(
NULL,
"");
68 if (!channelStr || !argStr)
75 channcel = cMgr->GetChannel(channelStr, player);
77 if (strcmp(argStr,
"on") == 0)
87 else if (strcmp(argStr,
"off") == 0)
static ChannelMgr * ForTeam(uint32 team)
Definition: ChannelMgr.cpp:30
void Execute(const char *sql)
Definition: DatabaseWorkerPool.h:87
Definition: CharacterDatabase.h:213
void setUInt8(const uint8 index, const uint8 value)
Definition: PreparedStatement.cpp:97
Definition: Language.h:1089
void setString(const uint8 index, const std::string &value)
Definition: PreparedStatement.cpp:187
arena_t NULL
Definition: jemalloc_internal.h:624
Player * GetPlayer() const
Definition: WorldSession.h:927
Definition: Channel.h:126
Definition: PreparedStatement.h:74
void SetOwnership(bool ownership)
Definition: Channel.h:211
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
Definition: ChannelMgr.h:27
WorldSession * GetSession()
Definition: Chat.h:59
CharacterDatabaseWorkerPool CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
Definition: Language.h:1088