mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-02 16:52:45 +03:00
feat(object): add CGObject::GetGUID
This commit is contained in:
parent
0cf12c9c90
commit
e7abae1102
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user