Files
GaCy-GO/tools/gacha_tab_button_metadata.lua
T
2026-10-28 18:54:43 +07:00

20 lines
683 B
Lua

-- Exact owned tab button binder only; no sidebar or selection mutation.
do
if not _G.__gacTabButtonMeta1 then
local p=_G.__gacWarpCreateTrace1 and _G.__gacWarpCreateTrace1.page
local s=_G.__GAC_GACHA_PRESENTATION_STATE
if p and s then
_G.__gacTabButtonMeta1=true
for _,tab in pairs(p._gacha_tab_items or {})do
local pool=tab._gacha_pool_data
if pool and s.installed[pool.GachaID] and s.installed[pool.GachaID].pool==pool then
local button=tab._tab_button_panel
if button and button._binder then
for k,v in pairs(button._binder)do CS.UnityEngine.Debug.Log('[GAC_TAB_BUTTON] '..tostring(k)..' '..type(v))end
end
end
end
end
end
end