Update GaCy-GO
This commit is contained in:
1 parent
da8a32f60d
commit
0cbe460e49
345 files changed
+98202
-77559
No files matched your search
@@ -0,0 +1,19 @@
|
||||
-- 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
|
||||
Reference in new issue
Block a user