diff options
| author | Léo Lam <leo@leolam.fr> | 2021-03-07 15:43:59 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-03-11 21:59:56 +0100 |
| commit | 69c78356b3f193b39e86f2a5aaf31ce82cc2e768 (patch) | |
| tree | bf3848b4928cb1c5f3dd8dbe873a2bc0debba579 /src/KingSystem/ActorSystem/actBaseProcJob.cpp | |
| parent | b15b12e7c4eb23ec07a7cd437b8a144d8fba362c (diff) | |
ksys/act: Add BaseProcJob and BaseProcJobQue
Diffstat (limited to 'src/KingSystem/ActorSystem/actBaseProcJob.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actBaseProcJob.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actBaseProcJob.cpp b/src/KingSystem/ActorSystem/actBaseProcJob.cpp index 6e23eec2..1c64e5ee 100644 --- a/src/KingSystem/ActorSystem/actBaseProcJob.cpp +++ b/src/KingSystem/ActorSystem/actBaseProcJob.cpp @@ -1,4 +1,5 @@ #include "KingSystem/ActorSystem/actBaseProcJob.h" +#include "KingSystem/ActorSystem/actBaseProcMgr.h" #include "KingSystem/Utils/InitTimeInfo.h" namespace ksys::act { @@ -74,4 +75,8 @@ sead::TListNode<BaseProc*>* BaseProcJobLists::getNextJob(BaseProcJobLink* link) return mLists[link->getPriority()].next(link); } +void BaseProcJob::invoke() { + BaseProcMgr::instance()->jobInvoked(mJobLink, mRequiredCalcRounds); +} + } // namespace ksys::act |
