|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
Go to the source code of this file.
Macros | |
| #define | MAX_PET_STABLES 4 |
| #define | PET_FOLLOW_ANGLE (M_PI/2) |
| #define | PET_FOLLOW_DIST 1.0f |
Enumerations | |
| enum | ActionFeedback { FEEDBACK_NONE = 0 , FEEDBACK_PET_DEAD = 1 , FEEDBACK_NOTHING_TO_ATT = 2 , FEEDBACK_CANT_ATT_TARGET = 3 } |
| enum | PetSaveMode { PET_SAVE_AS_DELETED = -1 , PET_SAVE_AS_CURRENT = 0 , PET_SAVE_FIRST_STABLE_SLOT = 1 , PET_SAVE_LAST_STABLE_SLOT = MAX_PET_STABLES , PET_SAVE_NOT_IN_SLOT = 100 } |
| enum | PetSpellState { PETSPELL_UNCHANGED = 0 , PETSPELL_CHANGED = 1 , PETSPELL_NEW = 2 , PETSPELL_REMOVED = 3 } |
| enum | PetSpellType { PETSPELL_NORMAL = 0 , PETSPELL_FAMILY = 1 , PETSPELL_TALENT = 2 } |
| enum | PetTalk { PET_TALK_SPECIAL_SPELL = 0 , PET_TALK_ATTACK = 1 } |
| enum class | PetType { SUMMON_PET = 0 , HUNTER_PET = 1 , MAX_PET_TYPE = 4 } |
| #define MAX_PET_STABLES 4 |
Definition at line 16 of file PetDefines.h.
Referenced by WorldSession::HandleBuyStableSlot(), and Player::LoadFromDB().
| #define PET_FOLLOW_ANGLE (M_PI/2) |
Definition at line 58 of file PetDefines.h.
Referenced by Minion::Minion(), MotionMaster::MoveTargetedHome(), npc_argent_captainAI::npc_argent_captainAI(), npc_emily::OnQuestAccept(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), npc_spring_rabbit::npc_spring_rabbitAI::Reset(), FollowerAI::SetFollowPaused(), FollowerAI::StartFollow(), FollowerAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_shu_dailo::npc_shu_dailoAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), Player::UpdateCharmedAI(), and npc_emily::npc_emilyAI::WaypointReached().
| #define PET_FOLLOW_DIST 1.0f |
Definition at line 57 of file PetDefines.h.
Referenced by Spell::EffectCreateTamedPet(), Spell::EffectSummonType(), CreatureAI::EnterEvadeMode(), npc_pet_mage_mirror_image::npc_pet_mage_mirror_imageAI::EnterEvadeMode(), AuraEffect::HandleModPossessPet(), npc_commandscript::HandleNpcFollowCommand(), WorldSession::HandlePetActionHelper(), PetAI::HandleReturnMovement(), Pet::LoadPetFromDB(), MotionMaster::MoveTargetedHome(), npc_argent_captainAI::npc_argent_captainAI(), npc_emily::OnQuestAccept(), npc_jungle_punch_target::npc_jungle_punch_targetAI::proceedCwEvent(), Skyfire::PetTransport::RemoveOwnerHunterPet(), npc_spring_rabbit::npc_spring_rabbitAI::Reset(), Spell::SelectImplicitCasterDestTargets(), SmartAI::SetFollow(), FollowerAI::SetFollowPaused(), npc_aged_dying_ancient_kodo::npc_aged_dying_ancient_kodoAI::SpellHit(), FollowerAI::StartFollow(), FollowerAI::UpdateAI(), npc_alexstraza_the_lifebinder::npc_alexstraza_the_lifebinderAI::UpdateAI(), npc_elder_kekek::npc_elder_kekekAI::UpdateAI(), npc_high_oracle_soo_roo::npc_high_oracle_soo_rooAI::UpdateAI(), npc_shu_dailo::npc_shu_dailoAI::UpdateAI(), npc_snowfall_glade_playmate::npc_snowfall_glade_playmateAI::UpdateAI(), npc_the_biggest_tree::npc_the_biggest_treeAI::UpdateAI(), npc_the_etymidian::npc_the_etymidianAI::UpdateAI(), npc_winterfin_playmate::npc_winterfin_playmateAI::UpdateAI(), SimpleCharmedAI::UpdateAI(), Player::UpdateCharmedAI(), and npc_emily::npc_emilyAI::WaypointReached().
| enum ActionFeedback |
| Enumerator | |
|---|---|
| FEEDBACK_NONE | |
| FEEDBACK_PET_DEAD | |
| FEEDBACK_NOTHING_TO_ATT | |
| FEEDBACK_CANT_ATT_TARGET | |
Definition at line 43 of file PetDefines.h.
| enum PetSaveMode |
| Enumerator | |
|---|---|
| PET_SAVE_AS_DELETED | |
| PET_SAVE_AS_CURRENT | |
| PET_SAVE_FIRST_STABLE_SLOT | |
| PET_SAVE_LAST_STABLE_SLOT | |
| PET_SAVE_NOT_IN_SLOT | |
Definition at line 19 of file PetDefines.h.
| enum PetSpellState |
| Enumerator | |
|---|---|
| PETSPELL_UNCHANGED | |
| PETSPELL_CHANGED | |
| PETSPELL_NEW | |
| PETSPELL_REMOVED | |
Definition at line 28 of file PetDefines.h.
| enum PetSpellType |
| Enumerator | |
|---|---|
| PETSPELL_NORMAL | |
| PETSPELL_FAMILY | |
| PETSPELL_TALENT | |
Definition at line 36 of file PetDefines.h.
| enum PetTalk |
| Enumerator | |
|---|---|
| PET_TALK_SPECIAL_SPELL | |
| PET_TALK_ATTACK | |
Definition at line 51 of file PetDefines.h.
|
strong |
| Enumerator | |
|---|---|
| SUMMON_PET | |
| HUNTER_PET | |
| MAX_PET_TYPE | |
Definition at line 9 of file PetDefines.h.