getLastRecoveryCheckpointIndex
Definition
-- @/lua/ge/extensions/gameplay/crawl/utils.lua:1394
local function getLastRecoveryCheckpointIndex(crawlerId)
if not crawlerId then
return 0
end
local state = crawlStates[crawlerId]
if not state or not state.active then
return 0
end
return state.lastRecoveryCheckpointIndex
end
Callers
@/lua/ge/extensions/gameplay/crawl/flowgraphBridge.lua
return gameplay_crawl_utils.getLastRecoveryCheckpointIndex(activeCrawlerId)
end
@/lua/ge/extensions/gameplay/crawl/crawlFlowgraphBridge.lua
return gameplay_crawl_utils.getLastRecoveryCheckpointIndex(bridgeState.activeCrawlerId)
end