mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 16:33:39 +03:00
feat(object): add CGObject::GetGUID
This commit is contained in:
2 files changed
+7
No files matched your search
@@ -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;
|
||||
}
|
||||
@@ -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
|
||||
Reference in new issue
Block a user