TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
NPCHandler.cpp File Reference
#include "Common.h"
#include "Language.h"
#include "DatabaseEnv.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "Opcodes.h"
#include "Log.h"
#include "ObjectMgr.h"
#include "SpellMgr.h"
#include "Player.h"
#include "GossipDef.h"
#include "UpdateMask.h"
#include "ObjectAccessor.h"
#include "Creature.h"
#include "Pet.h"
#include "PetPackets.h"
#include "ReputationMgr.h"
#include "BattlegroundMgr.h"
#include "Battleground.h"
#include "ScriptMgr.h"
#include "CreatureAI.h"
#include "GameObjectAI.h"
#include "SpellInfo.h"
#include "NPCPackets.h"
#include "MailPackets.h"
+ Include dependency graph for NPCHandler.cpp:

Enumerations

enum  StableResultCode {
  STABLE_ERR_MONEY = 0x01, STABLE_ERR_INVALID_SLOT = 0x03, STABLE_SUCCESS_STABLE = 0x08, STABLE_SUCCESS_UNSTABLE = 0x09,
  STABLE_SUCCESS_BUY_SLOT = 0x0A, STABLE_ERR_EXOTIC = 0x0B, STABLE_ERR_STABLE = 0x0C
}
 

Enumeration Type Documentation

Enumerator
STABLE_ERR_MONEY 
STABLE_ERR_INVALID_SLOT 
STABLE_SUCCESS_STABLE 
STABLE_SUCCESS_UNSTABLE 
STABLE_SUCCESS_BUY_SLOT 
STABLE_ERR_EXOTIC 
STABLE_ERR_STABLE 
46 {
47  STABLE_ERR_MONEY = 0x01, // "you don't have enough money"
48  STABLE_ERR_INVALID_SLOT = 0x03, // "That slot is locked"
49  STABLE_SUCCESS_STABLE = 0x08, // stable success
50  STABLE_SUCCESS_UNSTABLE = 0x09, // unstable/swap success
51  STABLE_SUCCESS_BUY_SLOT = 0x0A, // buy slot success
52  STABLE_ERR_EXOTIC = 0x0B, // "you are unable to control exotic creatures"
53  STABLE_ERR_STABLE = 0x0C, // "Internal pet error"
54 };
Definition: NPCHandler.cpp:47
Definition: NPCHandler.cpp:52
Definition: NPCHandler.cpp:49
Definition: NPCHandler.cpp:51
Definition: NPCHandler.cpp:48
Definition: NPCHandler.cpp:50
Definition: NPCHandler.cpp:53