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

Go to the source code of this file.

Classes

class  inventory_commandscript
 

Functions

void AddSC_inventory_commandscript ()
 

Variables

constexpr std::array< const char *, MAX_ITEM_SUBCLASS_CONTAINERbagSpecsToString
 
constexpr std::array< uint32, MAX_ITEM_SUBCLASS_CONTAINERbagSpecsColors
 

Function Documentation

◆ AddSC_inventory_commandscript()

void AddSC_inventory_commandscript ( )
184{
186}
Definition cs_inventory.cpp:67

Referenced by AddCommandsScripts().

Variable Documentation

◆ bagSpecsColors

constexpr std::array<uint32, MAX_ITEM_SUBCLASS_CONTAINER> bagSpecsColors
constexpr
Initial value:
=
{
0xfff0de18,
0xffa335ee,
0xff1eff00,
0xffe37166,
0xffa68b30,
0xff0070dd,
0xffc1c8c9,
0xfff5a925,
0xff54504f
}
39{
40 0xfff0de18, // YELLOW - Normal
41 0xffa335ee, // PURPLE - Souls
42 0xff1eff00, // GREEN - Herb
43 0xffe37166, // PINK - Enchanting
44 0xffa68b30, // BROWN - Engineering
45 0xff0070dd, // BLUE - Gem
46 0xffc1c8c9, // GREY - Mining
47 0xfff5a925, // ORANGE - Leatherworking
48 0xff54504f // DARK GREY - Inscription
49};

Referenced by inventory_commandscript::HandleInventoryCountCommand().

◆ bagSpecsToString

constexpr std::array<const char*, MAX_ITEM_SUBCLASS_CONTAINER> bagSpecsToString
constexpr
Initial value:
=
{
"normal",
"soul",
"herb",
"enchanting",
"engineering",
"gem",
"mining",
"leatherworking",
"inscription"
}
26{
27 "normal",
28 "soul",
29 "herb",
30 "enchanting",
31 "engineering",
32 "gem",
33 "mining",
34 "leatherworking",
35 "inscription"
36};

Referenced by inventory_commandscript::HandleInventoryCountCommand().