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 @@
-- Metadata only on the exact provider type declared by the CW module field.
-- No preload, graph, HTTP or gameplay method is invoked.
do
if not _G.__gacCwPreloadMeta2 then
_G.__gacCwPreloadMeta2=true
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_CW_PRELOAD_META] '..tostring(v))end
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local field=typeof(CS.RPG.Client.GridFightModule):GetField('_SessionPreloadProvider',flags)
local module=CS.RPG.Client.GlobalVars.s_ModuleManager.GridFightModule
local object=field:GetValue(module)
if not object then log('OBJECT nil');return end
local t=object:GetType()
log('TYPE '..t.FullName)
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,63)do
if ms[i].DeclaringType==t then log('METHOD '..tostring(ms[i]))end
end
local ps=t:GetProperties(flags)
for i=0,math.min(ps.Length-1,31)do log('PROPERTY '..tostring(ps[i]))end
log('END')
end
end