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"

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 ( )
182{
184}
Definition cs_inventory.cpp:65

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

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

Referenced by inventory_commandscript::HandleInventoryCountCommand().