TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlePetMgr.h File Reference
#include "DB2Stores.h"
#include "BattlePetPackets.h"
+ Include dependency graph for BattlePetMgr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BattlePetMgr
 
struct  BattlePetMgr::BattlePet
 

Enumerations

enum  BattlePetMisc { MAX_PET_BATTLE_SLOTS = 3, MAX_BATTLE_PETS_PER_SPECIES = 3, BATTLE_PET_CAGE_ITEM_ID = 82800, DEFAULT_SUMMON_BATTLE_PET_SPELL = 118301 }
 
enum  BattlePetError {
  BATTLEPETRESULT_CANT_HAVE_MORE_PETS_OF_THAT_TYPE = 9, BATTLEPETRESULT_TOO_HIGH_LEVEL_TO_UNCAGE = 12, BATTLEPETRESULT_CANT_HAVE_MORE_PETS = 13, BATTLEPETRESULT_DUPLICATE_CONVERTED_PET,
  BATTLEPETRESULT_NEED_TO_UNLOCK, BATTLEPETRESULT_BAD_PARAM, BATTLEPETRESULT_LOCKED_PET_ALREADY_EXISTS, BATTLEPETRESULT_OK,
  BATTLEPETRESULT_UNCAPTURABLE, BATTLEPETRESULT_CANT_INVALID_CHARACTER_GUID
}
 
enum  BattlePetState {
  STATE_MAX_HEALTH_BONUS = 2, STATE_INTERNAL_INITIAL_LEVEL = 17, STATE_STAT_POWER = 18, STATE_STAT_STAMINA = 19,
  STATE_STAT_SPEED = 20, STATE_MOD_DAMAGE_DEALT_PERCENT = 23, STATE_GENDER = 78, STATE_COSMETIC_WATER_BUBBLED = 85,
  STATE_SPECIAL_IS_COCKROACH = 93, STATE_COSMETIC_FLY_TIER = 128, STATE_COSMETIC_BIGGLESWORTH = 144, STATE_PASSIVE_ELITE = 153,
  STATE_PASSIVE_BOSS = 162, STATE_COSMETIC_TREASURE_GOBLIN = 176, STATE_START_WITH_BUFF = 183, STATE_START_WITH_BUFF_2 = 184,
  STATE_COSMETIC_SPECTRAL_BLUE = 196
}
 
enum  BattlePetSaveInfo { BATTLE_PET_UNCHANGED = 0, BATTLE_PET_CHANGED = 1, BATTLE_PET_NEW = 2, BATTLE_PET_REMOVED = 3 }
 

Enumeration Type Documentation

Enumerator
BATTLEPETRESULT_CANT_HAVE_MORE_PETS_OF_THAT_TYPE 
BATTLEPETRESULT_TOO_HIGH_LEVEL_TO_UNCAGE 
BATTLEPETRESULT_CANT_HAVE_MORE_PETS 
BATTLEPETRESULT_DUPLICATE_CONVERTED_PET 
BATTLEPETRESULT_NEED_TO_UNLOCK 
BATTLEPETRESULT_BAD_PARAM 
BATTLEPETRESULT_LOCKED_PET_ALREADY_EXISTS 
BATTLEPETRESULT_OK 
BATTLEPETRESULT_UNCAPTURABLE 
BATTLEPETRESULT_CANT_INVALID_CHARACTER_GUID 
Enumerator
MAX_PET_BATTLE_SLOTS 
MAX_BATTLE_PETS_PER_SPECIES 
BATTLE_PET_CAGE_ITEM_ID 
DEFAULT_SUMMON_BATTLE_PET_SPELL 
25 {
30 };
Definition: BattlePetMgr.h:27
Definition: BattlePetMgr.h:26
Definition: BattlePetMgr.h:29
Definition: BattlePetMgr.h:28
Enumerator
BATTLE_PET_UNCHANGED 
BATTLE_PET_CHANGED 
BATTLE_PET_NEW 
BATTLE_PET_REMOVED 
76 {
79  BATTLE_PET_NEW = 2,
81 };
Definition: BattlePetMgr.h:80
Definition: BattlePetMgr.h:77
Definition: BattlePetMgr.h:79
Definition: BattlePetMgr.h:78
Enumerator
STATE_MAX_HEALTH_BONUS 
STATE_INTERNAL_INITIAL_LEVEL 
STATE_STAT_POWER 
STATE_STAT_STAMINA 
STATE_STAT_SPEED 
STATE_MOD_DAMAGE_DEALT_PERCENT 
STATE_GENDER 
STATE_COSMETIC_WATER_BUBBLED 
STATE_SPECIAL_IS_COCKROACH 
STATE_COSMETIC_FLY_TIER 
STATE_COSMETIC_BIGGLESWORTH 
STATE_PASSIVE_ELITE 
STATE_PASSIVE_BOSS 
STATE_COSMETIC_TREASURE_GOBLIN 
STATE_START_WITH_BUFF 
STATE_START_WITH_BUFF_2 
STATE_COSMETIC_SPECTRAL_BLUE 
53 {
56  STATE_STAT_POWER = 18,
57  STATE_STAT_STAMINA = 19,
58  STATE_STAT_SPEED = 20,
60  STATE_GENDER = 78, // 1 - male, 2 - female
65  STATE_PASSIVE_ELITE = 153,
66  STATE_PASSIVE_BOSS = 162,
68  // these are not in BattlePetState.db2 but are used in BattlePetSpeciesState.db2
71  //
73 };
Definition: BattlePetMgr.h:56
Definition: BattlePetMgr.h:57
Definition: BattlePetMgr.h:66
Definition: BattlePetMgr.h:64
Definition: BattlePetMgr.h:69
Definition: BattlePetMgr.h:72
Definition: BattlePetMgr.h:62
Definition: BattlePetMgr.h:63
Definition: BattlePetMgr.h:60
Definition: BattlePetMgr.h:65
Definition: BattlePetMgr.h:55
Definition: BattlePetMgr.h:67
Definition: BattlePetMgr.h:61
Definition: BattlePetMgr.h:54
Definition: BattlePetMgr.h:70
Definition: BattlePetMgr.h:59
Definition: BattlePetMgr.h:58