Files
GaCy-GO/tools/cw_wave_ref_schema.lua
T
2026-10-28 18:54:43 +07:00

14 lines
972 B
Lua

-- Named config-reference type from the existing Client stack; metadata only.
do local function capture()
if _G.__gacCwWaveRef1 then return end;_G.__gacCwWaveRef1=true
local log=function(x)CS.UnityEngine.Debug.Log('[GAC_CW_WAVE_REF] '..tostring(x))end
local ok,err=pcall(function()
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local p=typeof(CS.RPG.GameCore.BattleInstance):GetMethod('GetCurWaveParam',flags).ReturnType
local t=p.Assembly:GetType('NMBMHCNGCFG');if not t then log('MISSING');return end;log('TYPE '..t.FullName..' BASE '..tostring(t.BaseType))
local fs=t:GetFields(flags);for i=0,math.min(fs.Length-1,31)do log('FIELD '..tostring(fs[i]))end
local ms=t:GetMethods(flags);for i=0,math.min(ms.Length-1,31)do local m=ms[i];if m.DeclaringType==t then log('METHOD '..tostring(m)..' HANDLE '..tostring(m.MethodHandle.Value))end end
end)
if not ok then log('ERROR '..tostring(err))end;log('END')
end;capture()end