mirror of
https://github.com/whoahq/whoa.git
synced 2026-02-01 00:02:45 +03:00
feat(object): add CGObject_C::IsInReenable
This commit is contained in:
parent
a43ab56644
commit
ba0baf1688
@ -22,6 +22,10 @@ void CGObject_C::AddWorldObject() {
|
|||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int32_t CGObject_C::IsInReenable() {
|
||||||
|
return this->m_inReenable;
|
||||||
|
}
|
||||||
|
|
||||||
void CGObject_C::Reenable() {
|
void CGObject_C::Reenable() {
|
||||||
this->m_disabled = false;
|
this->m_disabled = false;
|
||||||
this->m_inReenable = true;
|
this->m_inReenable = true;
|
||||||
|
|||||||
@ -24,6 +24,7 @@ class CGObject_C : public CGObject, public TSHashObject<CGObject_C, CHashKeyGUID
|
|||||||
CGObject_C() = default;
|
CGObject_C() = default;
|
||||||
CGObject_C(uint32_t time, CClientObjCreate& objCreate);
|
CGObject_C(uint32_t time, CClientObjCreate& objCreate);
|
||||||
void AddWorldObject();
|
void AddWorldObject();
|
||||||
|
int32_t IsInReenable();
|
||||||
void Reenable();
|
void Reenable();
|
||||||
void SetBlock(uint32_t block, uint32_t value);
|
void SetBlock(uint32_t block, uint32_t value);
|
||||||
void SetDisablePending(int32_t pending);
|
void SetDisablePending(int32_t pending);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user