AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
cs_bag.cpp File Reference
#include "Chat.h"
#include "CommandScript.h"
#include "ObjectMgr.h"
#include "Player.h"
#include "RBAC.h"

Go to the source code of this file.

Classes

class  bg_commandscript
 

Functions

void AddSC_bag_commandscript ()
 

Variables

constexpr std::array< std::string_view, MAX_ITEM_QUALITYitemQualityToString
 

Function Documentation

◆ AddSC_bag_commandscript()

void AddSC_bag_commandscript ( )
159{
160 new bg_commandscript();
161}
Definition cs_bag.cpp:39

Referenced by AddCommandsScripts().

Variable Documentation

◆ itemQualityToString

constexpr std::array<std::string_view, MAX_ITEM_QUALITY> itemQualityToString
constexpr
Initial value:
=
{
"poor",
"normal",
"uncommon",
"rare",
"epic",
"legendary",
"artifact",
"all"
}
25{
26 "poor",
27 "normal",
28 "uncommon",
29 "rare",
30 "epic",
31 "legendary",
32 "artifact",
33 "all"
34};

Referenced by bg_commandscript::HandleBagsClearCommand().