feat(object): stub CGObject_C::SetDisablePending

This commit is contained in:
fallenoak committed 2026-01-13 17:45:37 -06:00
1 parent 4f9cceda79
commit f722040986
2 files changed
+5

No files matched your search

+4
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()];
+1
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);
};