Files
GaCy-GO/tools/cw_entry_predicates_probe.lua

14 lines
696 B
Lua

-- Named read-only UI predicates. No Start/Open/Sync/Set method is invoked.
do
if not _G.__gacCwEntryPredicates1 then
_G.__gacCwEntryPredicates1=true
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_ENTRY_PREDICATE] '..tostring(v))end
local module=CS.RPG.Client.GlobalVars.s_ModuleManager.GridFightModule
for _,name in ipairs({'ShouldStartCurrentSeasonTutorial','IsFinishedTutorialThisSeason','ShouldLatestSeasonUIShowTutorialVersion','ShouldShowDivisionInfo'})do
local ok,value=pcall(function()return module[name](module)end)
log(name..' '..tostring(ok)..' '..tostring(value))
end
log('LAST_TUTORIAL_SEASON '..module.PlayerProfile.LastTutorialFinishedSeasonID)
end
end