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

16 lines
888 B
Lua

-- One exact known G.TabControl method, read-only metadata.
do local function capture()
if _G.__gacGachaTabControlSource1 then return end
if not G or type(G.TabControl)~='table' then return end
_G.__gacGachaTabControlSource1=true
local inspected=0
for name,value in pairs(package.loaded)do
inspected=inspected+1;if inspected>8192 then break end
if value==G.TabControl then CS.UnityEngine.Debug.Log('[GAC_GACHA_TAB_CONTROL] MODULE '..tostring(name))end
end
for _,name in ipairs({'add_item','remove_item','update_layout'})do
local f=G.TabControl[name]
if type(f)=='function'then local info=debug.getinfo(f,'S');CS.UnityEngine.Debug.Log('[GAC_GACHA_TAB_CONTROL] '..name..' '..tostring(info and info.source))end
end
end local ok,e=pcall(capture);if not ok then _G.__gacGachaTabControlSource1=true;CS.UnityEngine.Debug.Log('[GAC_GACHA_TAB_CONTROL] ERROR '..tostring(e))end end