getBoundaryById
Definition
-- @/lua/ge/extensions/gameplay/crawl/saveSystem.lua:566
M.getBoundaryById = function(boundaryId)
if not boundaryId then
log('E', logTag, 'No boundary ID provided')
return nil
end
return loadFromFile(boundaryId, "boundary")
end
Callers
@/lua/ge/extensions/gameplay/crawl/crawlFlowgraphBridge.lua
local boundary = gameplay_crawl_saveSystem.getBoundaryById(trail.boundaryId)
local path = gameplay_crawl_saveSystem.getPathById(trail.pathId)
@/lua/ge/extensions/gameplay/crawl/general.lua
local boundary = gameplay_crawl_saveSystem.getBoundaryById(trail.boundaryId)
local path = gameplay_crawl_saveSystem.getPathById(trail.pathId)
@/lua/ge/extensions/editor/crawlEditor.lua
if FS:fileExists(boundaryFile) then
local boundary = gameplay_crawl_saveSystem.getBoundaryById(boundaryFile)
if boundary then
for _, filePath in ipairs(boundaryFiles) do
local boundary = gameplay_crawl_saveSystem.getBoundaryById(filePath)
if boundary then
if trail.boundaryId then
local boundary = gameplay_crawl_saveSystem.getBoundaryById(trail.boundaryId)
if boundary then
@/lua/ge/extensions/gameplay/crawl/saveSystem.lua
for _, filePath in ipairs(boundaryFiles) do
local boundary = M.getBoundaryById(filePath)
if boundary then