mirror of
https://github.com/whoahq/whoa.git
synced 2026-11-10 00:28:23 +03:00
feat(object): add CGObject_C::IsObjectLocked
This commit is contained in:
2 files changed
+5
No files matched your search
@@ -26,6 +26,10 @@ int32_t CGObject_C::IsInReenable() {
|
||||
return this->m_inReenable;
|
||||
}
|
||||
|
||||
int32_t CGObject_C::IsObjectLocked() {
|
||||
return this->m_lockCount != 0;
|
||||
}
|
||||
|
||||
void CGObject_C::Reenable() {
|
||||
this->m_disabled = false;
|
||||
this->m_inReenable = true;
|
||||
|
||||
@@ -25,6 +25,7 @@ class CGObject_C : public CGObject, public TSHashObject<CGObject_C, CHashKeyGUID
|
||||
CGObject_C(uint32_t time, CClientObjCreate& objCreate);
|
||||
void AddWorldObject();
|
||||
int32_t IsInReenable();
|
||||
int32_t IsObjectLocked();
|
||||
void Reenable();
|
||||
void SetBlock(uint32_t block, uint32_t value);
|
||||
void SetDisablePending(int32_t pending);
|
||||
|
||||
Reference in new issue
Block a user