16 lines
968 B
Lua
16 lines
968 B
Lua
-- Exact AA module metadata; eight methods per heartbeat, no refresh calls.
|
|
do local function capture()
|
|
local s=_G.__gacAaRoundMeta1 or {index=0};_G.__gacAaRoundMeta1=s
|
|
if s.done then return end
|
|
local module=CS.RPG.Client.GlobalVars.s_ModuleManager.ChallengePeakModule
|
|
if not module then return end
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
|
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_AA_ROUND_META] '..tostring(v))end
|
|
if not s.t then s.t=module:GetType();s.methods=s.t:GetMethods(flags);log('TYPE '..s.t.FullName)end
|
|
for n=1,8 do
|
|
if s.index>=s.methods.Length then s.done=true;log('END');return end
|
|
local m=s.methods[s.index];s.index=s.index+1
|
|
if m.DeclaringType==s.t then log('METHOD '..tostring(m)..' HANDLE '..tostring(m.MethodHandle.Value))end
|
|
end
|
|
end local ok,e=pcall(capture);if not ok then _G.__gacAaRoundMeta1={done=true};CS.UnityEngine.Debug.Log('[GAC_AA_ROUND_META] ERROR '..tostring(e))end end
|