Back to Home

ESO Lua File v101041

internalingame/chapterupgrade/chapterupgradeutils.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
-- InternalIngame
function ZO_ShowChapterUpgradePlatformScreen(marketOpenSource, chapterUpgradeId)
    chapterUpgradeId = chapterUpgradeId or GetCurrentChapterUpgradeId()
    if IsInGamepadPreferredMode() then
        RequestShowGamepadChapterUpgrade(chapterUpgradeId)
    else
        SYSTEMS:GetObject(ZO_MARKET_NAME):RequestShowMarket(marketOpenSource, OPEN_MARKET_BEHAVIOR_SHOW_CHAPTER_UPGRADE, chapterUpgradeId)
    end
end