pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -0,0 +1,16 @@
|
||||
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
|
||||
Reference in new issue
Block a user