Back to Home

ESO Lua File v101037

common/zo_gamemenu/gamemenumanager.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
------------------------
-- GameMenuManager
--
-- Collects and manages data to be used in game menues
------------------------
local subcategoryEntries = {}
    local settingsSubcategoryEntries = {}
    for i, entry in ipairs(subcategoryEntries) do
        local visible = entry.visible == nil or entry.visible
        if type(visible) == "function" then
            visible = visible()
        end
        if visible and entry.categoryName == GetString(SI_GAME_MENU_SETTINGS) then
            table.insert(settingsSubcategoryEntries, entry)
        end
    end
    return settingsSubcategoryEntries
end
    return subcategoryEntries
end
    data.categoryName = GetString(SI_GAME_MENU_SETTINGS)
    table.insert(subcategoryEntries, data)
end
    data.categoryName = GetString(SI_GAME_MENU_CONTROLS)
    table.insert(subcategoryEntries, data)
end