GE Lua Documentation

Press F to search!

setVisibleIds

Definition


-- @/lua/ge/extensions/freeroam/vueBigMap.lua:712

local function setVisibleIds()
  local visibleIds = {}
  for _, groupSection in ipairs(groupStructureCache) do
    for _, group in ipairs(groupSection.groups) do
      if filterVisibilityState[group.key] then
        for _, poiId in ipairs(group.elements) do
          visibleIds[poiId] = true
        end
      end
    end
  end
  if freeroam_bigMapMode then
    freeroam_bigMapMode.setOnlyIdsVisible(tableKeys(visibleIds))
  end
end

Callers

@/lua/ge/extensions/freeroam/vueBigMap.lua
  end
  M.setVisibleIds()
end
  end
  M.setVisibleIds()
end

  M.setVisibleIds()