mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
13 lines
461 B
C++
13 lines
461 B
C++
#include "object/client/CGGameObject_C.hpp"
|
|
|
|
CGGameObject_C::CGGameObject_C(uint32_t time, CClientObjCreate& objCreate) : CGObject_C(time, objCreate) {
|
|
// TODO
|
|
}
|
|
|
|
void CGGameObject_C::SetStorage(uint32_t* storage, uint32_t* saved) {
|
|
this->CGObject_C::SetStorage(storage, saved);
|
|
|
|
this->m_gameObj = reinterpret_cast<CGGameObjectData*>(&storage[CGGameObject::GetBaseOffset()]);
|
|
this->m_gameObjSaved = &saved[CGGameObject::GetBaseOffsetSaved()];
|
|
}
|