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 "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 ( )
183{
185}
Definition cs_inventory.cpp:66

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
}
38{
39 0xfff0de18, // YELLOW - Normal
40 0xffa335ee, // PURPLE - Souls
41 0xff1eff00, // GREEN - Herb
42 0xffe37166, // PINK - Enchanting
43 0xffa68b30, // BROWN - Engineering
44 0xff0070dd, // BLUE - Gem
45 0xffc1c8c9, // GREY - Mining
46 0xfff5a925, // ORANGE - Leatherworking
47 0xff54504f // DARK GREY - Inscription
48};

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"
}
25{
26 "normal",
27 "soul",
28 "herb",
29 "enchanting",
30 "engineering",
31 "gem",
32 "mining",
33 "leatherworking",
34 "inscription"
35};

Referenced by inventory_commandscript::HandleInventoryCountCommand().