feat(object): stub CGObject_C::SetDisablePending

This commit is contained in:
fallenoak 2026-01-13 17:45:37 -06:00
parent 4f9cceda79
commit f722040986
No known key found for this signature in database
GPG Key ID: 7628F8E61AEA070D
2 changed files with 5 additions and 0 deletions

View File

@ -18,6 +18,10 @@ void CGObject_C::SetBlock(uint32_t block, uint32_t value) {
storage[block] = value;
}
void CGObject_C::SetDisablePending(int32_t pending) {
// TODO
}
void CGObject_C::SetStorage(uint32_t* storage, uint32_t* saved) {
this->m_obj = reinterpret_cast<CGObjectData*>(&storage[CGObject::GetBaseOffset()]);
this->m_objSaved = &saved[CGObject::GetBaseOffsetSaved()];

View File

@ -14,6 +14,7 @@ class CGObject_C : public CGObject, public TSHashObject<CGObject_C, CHashKeyGUID
CGObject_C(uint32_t time, CClientObjCreate& objCreate);
void AddWorldObject();
void SetBlock(uint32_t block, uint32_t value);
void SetDisablePending(int32_t pending);
void SetStorage(uint32_t* storage, uint32_t* saved);
void SetTypeID(OBJECT_TYPE_ID typeID);
};