18 lines
712 B
Lua
18 lines
712 B
Lua
-- Read the exact page instance observed in its creation callback.
|
|
do
|
|
if not _G.__gacActiveTabMeta1 then
|
|
local trace=_G.__gacWarpCreateTrace1
|
|
local page=trace and trace.page
|
|
if page then
|
|
_G.__gacActiveTabMeta1=true
|
|
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_ACTIVE_TAB] '..tostring(v))end
|
|
log('PAGE_BINDER_NAME '..type(page._binder and page._binder.txt_pool_name))
|
|
local count=0
|
|
for k,tab in pairs(page._gacha_tab_items or {})do
|
|
count=count+1;if count>8 then break end
|
|
log('TAB '..tostring(k)..' TYPE '..type(tab)..' POOL '..tostring(tab._gacha_pool_data and tab._gacha_pool_data.GachaID)..' CONTENT '..type(tab._binder and tab._binder.node_content))
|
|
end
|
|
end
|
|
end
|
|
end
|