pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -0,0 +1,18 @@
|
||||
-- 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
|
||||
Reference in new issue
Block a user