GE Lua Documentation

Press F to search!

getAllManagers

Definition


-- @/lua/ge/extensions/core/flowgraphManager.lua:65

local function getAllManagers()
  return managers
end

Callers

@/lua/ge/extensions/freeroam/freeroam.lua
  if core_recoveryPrompt.isActive() then return end
  for _, mgr in ipairs(core_flowgraphManager.getAllManagers()) do
    if mgr:blocksOnResetGameplay() then return end
@/lua/ge/extensions/gameplay/rally.lua
-- extensions.hook("onRecoveryPromptButtonPressed", 'flipMission')
-- extensions.hook("onMissionScreenButtonClicked", { mgrId = core_flowgraphManager.getAllManagers()[0].id, funId = 1 })
-- gameplay_rally.setDebugLogging(true)
@/lua/ge/extensions/tech/techCore.lua
local function getRunningFlowgraphManager()
  local mgrs = extensions.core_flowgraphManager.getAllManagers()
  for i = 1, #mgrs do
local function getCurrentMissionMainButton()
  local mgrs = extensions.core_flowgraphManager.getAllManagers()
  local button = nil
@/lua/ge/extensions/editor/flowgraphEditor.lua
  fgMgr.removeManager(mgr)
  M.setManager(fgMgr.getAllManagers()[1] or nil)
end
    --print("previous mgr is " .. M.previousMgrName)
    for _, m in ipairs(fgMgr.getAllManagers())  do
      if not done and m.name == M.previousMgrName then

    M.setManager(mgr or fgMgr.getAllManagers()[1])
  local index = 0
  for i, m in ipairs(fgMgr.getAllManagers()) do
    if m == mgr then
  ui_flowgraph_editor.SetCurrentEditor(M.ectx)
  for _, m in ipairs(fgMgr.getAllManagers()) do
    m:updateNodePositions()
@/lua/ge/extensions/editor/flowgraph/execution.lua
  if editor.uiIconImageButton(editor.icons.play_arrow, im.ImVec2(20, 20)) then
    for _, m in ipairs(self.fgMgr.getAllManagers()) do
      missionVarHelper.applyMissionVariablesToManager(m, "execution")
  if editor.uiIconImageButton(editor.icons.stop, im.ImVec2(20, 20)) then
    for _, m in ipairs(self.fgMgr.getAllManagers()) do
      m:setRunning(false)
  --if editor.uiIconImageButton(editor.icons.replay, im.ImVec2(25, 25)) then
 --   for _, m in ipairs(self.fgMgr.getAllManagers()) do
  --    m:queueForRestart()
  im.Separator()
  for _, mgr in ipairs(self.fgMgr.getAllManagers()) do
    if (not mgr.hidden and not mgr.transient) or editor.getPreference("flowgraph.debug.editorDebug") then
@/lua/ge/extensions/career/modules/linearTutorial.lua
  -- if career is being stopped
  for _, mgr in ipairs(core_flowgraphManager.getAllManagers()) do
    if mgr._isCareerFlowgraph then