AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
NPCHandler.cpp File Reference
#include "Battleground.h"
#include "BattlegroundMgr.h"
#include "Creature.h"
#include "DatabaseEnv.h"
#include "GameGraveyard.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Pet.h"
#include "Player.h"
#include "ReputationMgr.h"
#include "ScriptMgr.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
#include "UpdateMask.h"
#include "WorldPacket.h"
#include "WorldSession.h"

Go to the source code of this file.

Enumerations

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

Enumeration Type Documentation

◆ StableResultCode

Enumerator
STABLE_ERR_MONEY 
STABLE_ERR_STABLE 
STABLE_SUCCESS_STABLE 
STABLE_SUCCESS_UNSTABLE 
STABLE_SUCCESS_BUY_SLOT 
STABLE_ERR_EXOTIC 
37{
38 STABLE_ERR_MONEY = 0x01, // "you don't have enough money"
39 STABLE_ERR_STABLE = 0x06, // currently used in most fail cases
40 STABLE_SUCCESS_STABLE = 0x08, // stable success
41 STABLE_SUCCESS_UNSTABLE = 0x09, // unstable/swap success
42 STABLE_SUCCESS_BUY_SLOT = 0x0A, // buy slot success
43 STABLE_ERR_EXOTIC = 0x0C, // "you are unable to control exotic creatures"
44};
@ STABLE_ERR_MONEY
Definition: NPCHandler.cpp:38
@ STABLE_SUCCESS_STABLE
Definition: NPCHandler.cpp:40
@ STABLE_SUCCESS_BUY_SLOT
Definition: NPCHandler.cpp:42
@ STABLE_ERR_EXOTIC
Definition: NPCHandler.cpp:43
@ STABLE_ERR_STABLE
Definition: NPCHandler.cpp:39
@ STABLE_SUCCESS_UNSTABLE
Definition: NPCHandler.cpp:41