12 lines
916 B
Lua
12 lines
916 B
Lua
do if not _G.__gacAAPeakCache1 then _G.__gacAAPeakCache1=true
|
|
local ok,e=pcall(function()
|
|
local m=CS.RPG.Client.GlobalVars.s_ModuleManager.ChallengePeakModule
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
|
local t=m:GetType();local fields=t:GetFields(flags)
|
|
for i=0,fields.Length-1 do local f=fields[i];local v=f:GetValue(m);CS.UnityEngine.Debug.Log('[GAC_AA_CACHE] FIELD '..f.Name..' '..tostring(f.FieldType)..' '..tostring(v))end
|
|
local methods=t:GetMethods(flags)
|
|
for i=0,methods.Length-1 do local f=methods[i];if string.find(f.Name,'GetChallengePeakData') or string.find(f.Name,'CurrentPeak') or string.find(f.Name,'Clear') or string.find(f.Name,'Reset') then CS.UnityEngine.Debug.Log('[GAC_AA_CACHE] METHOD '..tostring(f)..' HANDLE '..tostring(f.MethodHandle.Value))end end
|
|
end)
|
|
if not ok then CS.UnityEngine.Debug.Log('[GAC_AA_CACHE] ERROR '..tostring(e))end
|
|
end end
|