Files
GaCy-GO/tools/cw_bootstrap_status.lua
T

15 lines
648 B
Lua
Raw Normal View History

-- Read the initialized CW entry state once, without requesting or changing it.
do
if not _G.__gacCwBootstrapStatus1 then
_G.__gacCwBootstrapStatus1=true
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_BOOTSTRAP] '..tostring(v))end
local ok,err=pcall(function()
local module=CS.RPG.Client.GlobalVars.s_ModuleManager.GridFightModule
log('SEASON '..module.SeasonID..' SUBSEASON '..module.SubSeasonID)
log('DIVISION '..module.DivisionInfo.CurDivisionID)
log('CUR_GAME '..tostring(module.CurGameSession))
log('EXP_LINE '..tostring(module.ExpLineRewardData))
end)
if not ok then log('ERROR '..tostring(err))end
end
end