15 lines
888 B
Lua
15 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
|