1
This commit is contained in:
parent
d0c38dcaae
commit
442346967d
@ -63,6 +63,8 @@ class Entity
|
|||||||
EntityWeakPtr& GetEntityWeakPtrRef();
|
EntityWeakPtr& GetEntityWeakPtrRef();
|
||||||
bool IsClientCached(Human* hum);
|
bool IsClientCached(Human* hum);
|
||||||
bool CanClientCache(Human* hum);
|
bool CanClientCache(Human* hum);
|
||||||
|
bool IsDestorying() { return destorying_; };
|
||||||
|
void SetDestorying() { destorying_ = true;};
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void AddClientCache(Human* hum);
|
void AddClientCache(Human* hum);
|
||||||
@ -72,6 +74,7 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int uniid_ = 0;
|
int uniid_ = 0;
|
||||||
|
bool destorying_ = false;
|
||||||
EntityType_e entity_type_ = ET_None;
|
EntityType_e entity_type_ = ET_None;
|
||||||
EntitySubType_e entity_subtype_ = EST_None;
|
EntitySubType_e entity_subtype_ = EST_None;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user