TrinityCore
ChatCommand.cpp File Reference
#include "ChatCommand.h"
#include "AccountMgr.h"
#include "Chat.h"
#include "DatabaseEnv.h"
#include "DB2Stores.h"
#include "Log.h"
#include "Map.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "WorldSession.h"
+ Include dependency graph for ChatCommand.cpp:

Go to the source code of this file.

Classes

struct  Trinity::Impl::ChatCommands::FilteredCommandListIterator
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Impl
 
namespace  Trinity::Impl::ChatCommands
 

Typedefs

using ChatSubCommandMap = std::map< std::string_view, Trinity::Impl::ChatCommands::ChatCommandNode, StringCompareLessI_T >
 

Functions

static void LogCommandUsage (WorldSession const &session, uint32 permission, std::string_view cmdStr)
 

Variables

static ChatSubCommandMap COMMAND_MAP
 

Typedef Documentation

◆ ChatSubCommandMap

Definition at line 30 of file ChatCommand.cpp.

Function Documentation

◆ LogCommandUsage()

static void LogCommandUsage ( WorldSession const &  session,
uint32  permission,
std::string_view  cmdStr 
)
static

Definition at line 139 of file ChatCommand.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ COMMAND_MAP

ChatSubCommandMap COMMAND_MAP
static

Definition at line 68 of file ChatCommand.cpp.