Files

19 lines
762 B
Lua
Raw Permalink Normal View History

2026-10-28 18:54:43 +07:00
-- Exact page callback trace; does not change tab data or invoke UI lifecycle.
do
if not _G.__gacWarpCreateTrace1 then
local c=require('Ui.Gacha.GachaMainPage')
local original=c._create_pools_panel
if type(original)=='function' then
_G.__gacWarpCreateTrace1={original=original,class=c}
c._create_pools_panel=function(self,...)
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_WARP_CREATE] '..tostring(v))end
_G.__gacWarpCreateTrace1.page=self
local m=CS.RPG.Client.GlobalVars.s_ModuleManager.GachaModule
log('BEGIN groups='..tostring(m:GetSortedGachaGroupDatas().Count))
local result=original(self,...)
log('END panels='..tostring(self._gacha_tab_items and #self._gacha_tab_items))
return result
end
end
end
end