Files
GaCy-GO/tools/peak_result_method_probe.lua

17 lines
786 B
Lua

do
local s=_G.__gacPeakResultMethods1 or {index=0};_G.__gacPeakResultMethods1=s
if not s.done then
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_RESULT_METHOD] '..tostring(v))end
local ok,err=pcall(function()
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
if not s.methods then s.methods=typeof(CS.RPG.Client.BattleGamePhase):GetMethods(flags)end
for i=s.index,math.min(s.index+23,s.methods.Length-1)do
local m=s.methods[i];local str=tostring(m)
if str:find('Result')or str:find('Statistic')or str:find('Report')then log(str..' '..m.MetadataToken)end
end
s.index=s.index+24;if s.index>=s.methods.Length then s.done=true;log('END')end
end)
if not ok then s.done=true;log('ERROR '..tostring(err))end
end
end