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

+17
View File
@@ -0,0 +1,17 @@
-- Inspect the enum used by a captured CW room condition; no value changes.
do
if not _G.__gacCwSavedCondition1 then
_G.__gacCwSavedCondition1=true
local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_SAVED_CONDITION] '..tostring(v))end
local ok,err=pcall(function()
local r=CS.RPG.GameCore.GameCoreConfigLoader.LoadRtLevelGroupInfo(__GROUP_PATH__)
local condition=r.SavedValueCondition.Conditions[0]
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local t=condition:GetType():GetField('Operation',flags).FieldType
log('TYPE '..tostring(t))
local names=CS.System.Enum.GetNames(t)
for i=0,names.Length-1 do log('ENUM '..names[i]..' '..CS.System.Convert.ToInt32(CS.System.Enum.Parse(t,names[i])))end
end)
if not ok then log('ERROR '..tostring(err))end
end
end