whoa/src/object/client/CGContainer_C.cpp

13 lines
444 B
C++

#include "object/client/CGContainer_C.hpp"
CGContainer_C::CGContainer_C(uint32_t time, CClientObjCreate& objCreate) : CGItem_C(time, objCreate) {
// TODO
}
void CGContainer_C::SetStorage(uint32_t* storage, uint32_t* saved) {
this->CGItem_C::SetStorage(storage, saved);
this->m_cont = reinterpret_cast<CGContainerData*>(&storage[CGContainer::GetBaseOffset()]);
this->m_contSaved = &saved[CGContainer::GetBaseOffsetSaved()];
}