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

+13
View File
@@ -0,0 +1,13 @@
do
if not _G.__gacPeakStatOffsets1 then
_G.__gacPeakStatOffsets1=true
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_STAT_OFFSET] '..tostring(v))end
local ok,err=pcall(function()
for _,name in ipairs({'totalBattleRounds','challengeTurnCount','challengeTurnLeft','totalBattleTurns'})do
local good,v=pcall(function()return CS.System.Runtime.InteropServices.Marshal.OffsetOf(typeof(CS.RPG.GameCore.PVEGameStatistics),name):ToInt64()end)
log(name..' '..tostring(good)..' '..tostring(v))
end
end)
if not ok then log('ERROR '..tostring(err))end
end
end