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
}

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"
}

Referenced by inventory_commandscript::HandleInventoryCountCommand().