-- Inspect native validity methods of the installed clone; read-only. do local function capture() if _G.__gacGroupValidity1 then return end local m=CS.RPG.Client.GlobalVars.s_ModuleManager.GachaModule if not m then return end local groups=m:GetSortedGachaGroupDatas() if groups.Count<1 then return end _G.__gacGroupValidity1=true local log=function(v)CS.UnityEngine.Debug.Log('[GAC_GROUP_VALIDITY] '..tostring(v))end local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60) local g=groups[groups.Count-1] log('TYPE '..g:GetType().FullName) for _,name in ipairs({'IsValid','IsFeatureClosed'})do local f=g:GetType():GetMethod(name,flags) log('METHOD '..name..' HANDLE '..tostring(f and f.MethodHandle.Value)) end local fields=g:GetType():GetFields(flags) for i=0,math.min(fields.Length-1,15)do local f=fields[i];if not f.IsStatic then log('FIELD '..f.Name..' TYPE '..f.FieldType.FullName..' HANDLE '..tostring(f.FieldHandle.Value))end end end local ok,e=pcall(capture);if not ok then CS.UnityEngine.Debug.Log('[GAC_GROUP_VALIDITY] ERROR '..tostring(e))end end