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

+23
View File
@@ -0,0 +1,23 @@
do
if not _G.__gacPeakTargetsExport1 then
_G.__gacPeakTargetsExport1=true
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_TARGETS] '..tostring(v))end
local ok,err=pcall(function()
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local obj=CS.RPG.Client.GlobalVars.s_ModuleManager.ChallengePeakModule:GetChallengePeakBoss(__PEAK_ID__)
for _,name in ipairs({'_Meta','_BossMeta'})do
local f=obj:GetType():GetField(name,flags);if f then log('META '..name..' '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(f:GetValue(obj)))end
end
local targets=obj:GetType():GetField('_Targets',flags):GetValue(obj)
log('COUNT '..targets.Count)
for i=0,math.min(targets.Count-1,15)do
local target=targets[i];local fields=target:GetType():GetFields(flags)
for j=0,fields.Length-1 do
local f=fields[j];log('FIELD '..f.Name..' '..tostring(f.FieldType))
if f.Name:find('Meta')then log('ROW '..CS.Newtonsoft.Json.JsonConvert.SerializeObject(f:GetValue(target)))end
end
end
end)
if not ok then log('ERROR '..tostring(err))end
end
end