[Pets] Add Pet Constants and Methods (#4987)

* [Pets] Add Pet Constants and Methods

* Remove GetID

* GetPetTypeName()

* Cleanup
This commit is contained in:
Alex King
2025-08-17 01:00:31 -04:00
committed by GitHub
parent 207ee2daa0
commit a4e47d9180
28 changed files with 1209 additions and 742 deletions
+5 -2
View File
@@ -280,8 +280,8 @@ public:
bool IsAIControlled();
float GetAggroRange();
float GetAssistRange();
void SetPetOrder(int order);
int GetPetOrder();
void SetPetOrder(uint8 pet_order);
uint8 GetPetOrder();
bool IsRoamer();
bool IsRooted();
bool IsEngaged();
@@ -614,6 +614,9 @@ public:
void BuffFadeSongs();
luabind::object GetPausedTimers(lua_State* L);
luabind::object GetTimers(lua_State* L);
uint8 GetPetType();
std::string GetPetTypeName();
void SetPetType(uint8 pet_type);
};
#endif