pre cw with probe and a bunch script to read game behavior

This commit is contained in:
CAtlas0784 committed 2026-10-21 20:40:13 +07:00
1 parent 5120219ae2
commit da8a32f60d
310 files changed
+219693 -872

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
-- Exact table names inferred from captured *ConfigRow names and the existing
-- GameCore *ExcelTable naming convention. At most one named type per heartbeat.
do
local names={'GridFightSeasonModuleConfigExcelTable','GridFightRoleConfigExcelTable','GridFightStageRouteConfigExcelTable','GridFightPlayerLevelConfigExcelTable'}
_G.__gacCwConfigTables2=_G.__gacCwConfigTables2 or 1
local index=_G.__gacCwConfigTables2
if index<=#names then
_G.__gacCwConfigTables2=index+1
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_CONFIG_TABLE] '..tostring(v))end
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local assembly=typeof(CS.RPG.GameCore.GridFightRoleConfigRow).Assembly
if index==1 then log('ROW_ASSEMBLY '..tostring(assembly));log('MODULE_ASSEMBLY '..tostring(typeof(CS.RPG.Client.GridFightModule).Assembly))end
local t=assembly:GetType('RPG.GameCore.'..names[index])
log('TYPE '..names[index]..' '..tostring(t))
if t then
local methods=t:GetMethods(flags)
for i=0,math.min(methods.Length-1,31)do
if methods[i].DeclaringType==t then log('METHOD '..tostring(methods[i]))end
end
local fields=t:GetFields(flags)
for i=0,math.min(fields.Length-1,31)do log('FIELD '..tostring(fields[i]))end
end
end
end