*Implement SPELL_EFFECT_CREATE_TAMED_PET(153).

--HG--
branch : trunk
This commit is contained in:
QAston
2010-07-20 22:55:28 +02:00
parent 66e068436b
commit c0f9ef6059
9 changed files with 113 additions and 30 deletions
+2
View File
@@ -140,6 +140,8 @@ class Pet : public Guardian
bool Create (uint32 guidlow, Map *map, uint32 phaseMask, uint32 Entry, uint32 pet_number);
bool CreateBaseAtCreature(Creature* creature);
bool CreateBaseAtCreatureInfo(CreatureInfo const* cinfo,Unit * owner);
bool CreateBaseAtTamed(CreatureInfo const * cinfo, Map * map, uint32 phaseMask);
bool LoadPetFromDB(Player* owner,uint32 petentry = 0,uint32 petnumber = 0, bool current = false);
bool isBeingLoaded() const { return m_loading;}
void SavePetToDB(PetSaveMode mode);