Files
GaCy-GO/tools/peak_named_methods_probe.lua
T

12 lines
674 B
Lua
Raw Normal View History

do
local s=_G.__gacPeakNamedMethods1 or {index=0};_G.__gacPeakNamedMethods1=s
if not s.done then
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_NAMED_METHODS] '..tostring(v))end
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
if not s.methods then s.methods=CS.RPG.Client.GlobalVars.s_ModuleManager.ChallengePeakModule:GetType():GetMethods(flags)end
for i=s.index,math.min(s.index+31,s.methods.Length-1)do
local m=s.methods[i];if m.Name:find('Target')or m.Name:find('Peak')or m.Name:find('Cycle')then log(tostring(m))end
end
s.index=s.index+32;if s.index>=s.methods.Length then s.done=true;log('END')end
end
end