-- Read existing page/module tables only; never require or open a page. do if not _G.__gacGachaLuaMeta1 then _G.__gacGachaLuaMeta1=true local log=function(x)CS.UnityEngine.Debug.Log('[GAC_GACHA_LUA_META] '..tostring(x))end local function fields(label,t) log(label..' '..type(t)..' '..tostring(t));if type(t)~='table'then return end local n=0;for k,v in pairs(t)do log('FIELD '..tostring(k)..' '..type(v)..' '..tostring(v));n=n+1;if n>=48 then break end end end for _,name in ipairs({'Ui.Gacha.GachaMainPage','Ui/Gacha/GachaMainPage','GachaMainPage','BakedLua/Ui/Gacha/GachaMainPage'})do fields(name,package.loaded[name])end local p=CS.RPG.Client.GlobalVars.s_UIManager:GetPageByName('GachaMainPage');if p then fields('PAGE',p.LuaTable)end log('END') end end