diff options
| author | theo3 <arisstephenson2@gmail.com> | 2021-06-28 10:05:07 -0700 |
|---|---|---|
| committer | theo3 <arisstephenson2@gmail.com> | 2021-07-01 21:02:46 -0700 |
| commit | 4cba2eb093fbc452db88e33643b3ca293ff02213 (patch) | |
| tree | 581b36877d8b17b986c12a20a351b229dfd56bdf /src/KingSystem/ActorSystem/actBaseProc.h | |
| parent | 112c1f987d3831df97f46c0f9e4ae977fba59484 (diff) | |
ksys::map placement classes
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProc.h')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProc.h b/src/KingSystem/ActorSystem/actBaseProc.h index 6a55c2fb..761acd4b 100644 --- a/src/KingSystem/ActorSystem/actBaseProc.h +++ b/src/KingSystem/ActorSystem/actBaseProc.h @@ -102,6 +102,7 @@ public: bool isDeletedOrDeleting() const { return mState == State::Delete || mStateFlags.isOn(StateFlags::RequestDelete); } + bool isDeleteOrInvalid() const { return mState >= act::BaseProc::State::Delete; } /// For BaseProcLink or ActorLinkConstDataAccess. bool acquire(ActorLinkConstDataAccess& accessor); |
