Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -0,0 +1,26 @@
|
||||
-- Inspect only the named CW wave/elite configuration tables and their lookup methods.
|
||||
do
|
||||
local state=_G.__gacCwActiveWaveTableMethods1 or {done=false};_G.__gacCwActiveWaveTableMethods1=state
|
||||
if not state.done then
|
||||
local lines={}
|
||||
local ok,err=pcall(function()
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local assembly=typeof(CS.RPG.GameCore.GridFightRoleConfigRow).Assembly
|
||||
local names={'StageConfigExcelTable','GridFightFormationWaveExcelTable','GridFightFormationWaveConfigExcelTable','GridFightEliteGroupExcelTable','GridFightEliteGroupConfigExcelTable'}
|
||||
for _,name in ipairs(names)do
|
||||
local t=assembly:GetType('RPG.GameCore.'..name)
|
||||
lines[#lines+1]='TYPE '..name..' '..tostring(t)
|
||||
if t then
|
||||
local methods=t:GetMethods(flags)
|
||||
for i=0,math.min(methods.Length-1,95)do
|
||||
local m=methods[i]
|
||||
if m.DeclaringType==t and (m.Name=='GetData'or m.Name=='GetAllData'or m.Name=='GetDataRow'or m.Name=='GetAllRows')then lines[#lines+1]='METHOD '..name..' '..tostring(m)end
|
||||
end
|
||||
end
|
||||
end
|
||||
end)
|
||||
if not ok then lines[#lines+1]='ERROR '..tostring(err)end
|
||||
CS.UnityEngine.Debug.Log('[GAC_CW_WAVE_SCHEMA]\n'..table.concat(lines,'\n'))
|
||||
state.done=true
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user