Files

18 lines
1.0 KiB
Lua
Raw Permalink Normal View History

-- Named flat-table metadata only. No scene/template loaders or actions.
do
local names={'StageExcelTable','StageConfigExcelTable','GridFightFormationWaveExcelTable','GridFightFormationWaveConfigExcelTable','GridFightEliteGroupExcelTable','GridFightEliteGroupConfigExcelTable'}
local index=_G.__gacCwWaveTables1 or 1
if index>#names then return end
_G.__gacCwWaveTables1=index+1
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_CW_WAVE_TABLE] '..tostring(v))end
local ok,err=pcall(function()
local assembly=typeof(CS.RPG.GameCore.GridFightRoleConfigRow).Assembly
local t=assembly:GetType('RPG.GameCore.'..names[index]);log('TYPE '..names[index]..' '..tostring(t))
if not t then return end
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local methods=t:GetMethods(flags)
for i=0,math.min(methods.Length-1,47)do if methods[i].DeclaringType==t then log('METHOD '..tostring(methods[i]))end end
end)
if not ok then log('ERROR '..tostring(err))end
if index==#names then log('END')end
end