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

+16
View File
@@ -0,0 +1,16 @@
-- One named enum, bounded plain metadata. No scene/gameplay changes.
do
if not _G.__gacCwNodeEnum1 then
_G.__gacCwNodeEnum1=true
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_CW_NODE_ENUM] '..tostring(v))end
local good,err=pcall(function()
local t=typeof(CS.RPG.GameCore.GridFightNodeType)
local names=CS.System.Enum.GetNames(t)
if names.Length>128 then error('Enum exceeds capture bound')end
log('BEGIN count='..names.Length)
for i=0,names.Length-1 do log('ROW {"name":"'..names[i]..'","value":'..CS.System.Convert.ToInt32(CS.System.Enum.Parse(t,names[i]))..'}')end
log('END')
end)
if not good then log('ERROR '..tostring(err))end
end
end