Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -0,0 +1,25 @@
|
||||
-- Read-only closure metadata for the loaded preparation page's button handlers.
|
||||
do local function capture()
|
||||
if _G.__gacCwPreparationCallbacks1 then return end
|
||||
local page=CS.RPG.Client.GlobalVars.s_UIManager:GetPageByName('GridFightPreparationPage')
|
||||
local obj=page and page.LuaTable;if type(obj)~='table'then return end
|
||||
_G.__gacCwPreparationCallbacks1=true
|
||||
local log=function(x)CS.UnityEngine.Debug.Log('[GAC_CW_PREP_CALLBACK] '..tostring(x))end
|
||||
for _,key in ipairs({'_on_start_battle_click','_enter_battle','_check_enter_battle_by_reason'})do
|
||||
local f=obj[key];if type(f)=='function'then
|
||||
for i=1,16 do local name,value=debug.getupvalue(f,i);if not name then break end
|
||||
local shown=type(value)=='number'and tostring(value)or(type(value)=='string'and value:sub(1,160)or type(value))
|
||||
log(key..' UPVALUE '..name..' '..shown)
|
||||
end
|
||||
end
|
||||
end
|
||||
local visited={}
|
||||
local function walk(t,depth)
|
||||
if type(t)~='table'or visited[t]or depth>4 then return end;visited[t]=true
|
||||
local count=0;for k,v in pairs(t)do
|
||||
count=count+1;if count>256 then break end
|
||||
if tostring(k):lower():find('bonfire')or tostring(k):lower():find('tea')then log('KEY '..tostring(k)..' '..type(v))end
|
||||
if k=='__index'or k=='class'or k=='super'then walk(v,depth+1)end
|
||||
end;walk(getmetatable(t),depth+1)
|
||||
end;walk(obj,0)
|
||||
end;local ok,e=pcall(capture);if not ok then CS.UnityEngine.Debug.Log('[GAC_CW_PREP_CALLBACK] ERROR '..tostring(e))end end
|
||||
Reference in new issue
Block a user