From 71b7b159dec5a829be1d7cbab1186da0eb5d4dc7 Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 2 Feb 2026 16:45:58 -0600 Subject: [PATCH] feat(ui): add CGPetInfo --- src/ui/Game.hpp | 1 + src/ui/game/CGPetInfo.cpp | 6 ++++++ src/ui/game/CGPetInfo.hpp | 13 +++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 src/ui/game/CGPetInfo.cpp create mode 100644 src/ui/game/CGPetInfo.hpp diff --git a/src/ui/Game.hpp b/src/ui/Game.hpp index 6f5e712..e4431b0 100644 --- a/src/ui/Game.hpp +++ b/src/ui/Game.hpp @@ -2,5 +2,6 @@ #define UI_GAME_HPP #include "ui/game/CGGameUI.hpp" +#include "ui/game/CGPetInfo.hpp" #endif diff --git a/src/ui/game/CGPetInfo.cpp b/src/ui/game/CGPetInfo.cpp new file mode 100644 index 0000000..90c337d --- /dev/null +++ b/src/ui/game/CGPetInfo.cpp @@ -0,0 +1,6 @@ +#include "ui/game/CGPetInfo.hpp" + +WOWGUID CGPetInfo::GetPet(uint32_t index) { + // TODO + return 0; +} diff --git a/src/ui/game/CGPetInfo.hpp b/src/ui/game/CGPetInfo.hpp new file mode 100644 index 0000000..036ca81 --- /dev/null +++ b/src/ui/game/CGPetInfo.hpp @@ -0,0 +1,13 @@ +#ifndef UI_GAME_C_G_PET_INFO_HPP +#define UI_GAME_C_G_PET_INFO_HPP + +#include "util/GUID.hpp" +#include + +class CGPetInfo { + public: + // Static functions + static WOWGUID GetPet(uint32_t index); +}; + +#endif