feat(object): add CGObject::GetGUID

This commit is contained in:
fallenoak committed 2026-02-01 13:03:52 -06:00
1 parent 0cf12c9c90
commit e7abae1102
2 files changed
+7

No files matched your search

+4
View File
@@ -23,3 +23,7 @@ uint32_t CGObject::TotalFields() {
uint32_t CGObject::TotalFieldsSaved() {
return CGObject::GetBaseOffsetSaved() + 3;
}
WOWGUID CGObject::GetGUID() const {
return this->m_obj->m_guid;
}
+3
View File
@@ -29,6 +29,9 @@ class CGObject {
uint32_t* m_objSaved;
uint32_t m_memHandle;
OBJECT_TYPE_ID m_typeID;
// Public member functions
WOWGUID GetGUID() const;
};
#endif