GE Lua Documentation

Press F to search!

getAvailableContexts

Definition


-- @/lua/ge/extensions/ui/gameplayAppContainers.lua:129

local function getAvailableApps(containerId)
  if not appContainersById[containerId] then
    log('E', logTag, 'container not found: ' .. containerId)
    return {}
  end
  local apps = {}
  for appId, app in pairs(appContainersById[containerId].apps) do
    apps[appId] = app
  end
  return apps
end

Callers