|
|
@ -298,7 +298,9 @@ struct CPetAnimal
|
|
|
|
bool IsMounted;
|
|
|
|
bool IsMounted;
|
|
|
|
bool IsTpAllowed;
|
|
|
|
bool IsTpAllowed;
|
|
|
|
bool spawnFlag;
|
|
|
|
bool spawnFlag;
|
|
|
|
|
|
|
|
#ifdef RYZOM_FORGE_PET_NAME
|
|
|
|
ucstring CustomName;
|
|
|
|
ucstring CustomName;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// ctor
|
|
|
|
// ctor
|
|
|
|
CPetAnimal();
|
|
|
|
CPetAnimal();
|
|
|
@ -1016,10 +1018,12 @@ public:
|
|
|
|
// return the index of a player pet, or -1 if not found
|
|
|
|
// return the index of a player pet, or -1 if not found
|
|
|
|
sint32 getPlayerPet( const TDataSetRow& petRowId ) const;
|
|
|
|
sint32 getPlayerPet( const TDataSetRow& petRowId ) const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef RYZOM_FORGE_PET_NAME
|
|
|
|
// Set the name of the animal
|
|
|
|
// Set the name of the animal
|
|
|
|
void setAnimalName( uint8 petIndex, ucstring customName );
|
|
|
|
void setAnimalName( uint8 petIndex, ucstring customName );
|
|
|
|
|
|
|
|
|
|
|
|
void sendPetCustomNameToClient(uint8 petIndex);
|
|
|
|
void sendPetCustomNameToClient(uint8 petIndex);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// near character's pets are TP with player (continent tp)
|
|
|
|
// near character's pets are TP with player (continent tp)
|
|
|
|
void allowNearPetTp();
|
|
|
|
void allowNearPetTp();
|
|
|
|