19 proto external
bool Insert(notnull IEntity entity,
float lifetime = -1,
bool ignoreBlacklist =
false);
24 proto external
bool IsInserted(notnull IEntity entity);
29 proto external
bool Withdraw(notnull IEntity entity);
35 proto external
bool Bump(notnull IEntity entity,
float additionalLifetime);
40 proto external
float GetLifetime(notnull IEntity entity);
47 proto external
float GetRemainingLifetime(notnull IEntity entity);
51 proto external
void Flush(
float minTrackedSeconds = 60);
58 proto external
bool UpdateBlacklist(notnull IEntity entity,
bool blacklisted);
82 event protected float OnInsertRequested(IEntity entity,
float lifetime) {
return lifetime;};
88 event protected bool OnBeforeDelete(IEntity entity) {
return true;};