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,23 @@
|
||||
-- Inspect one exact failing module, including its initialized data dependencies.
|
||||
do
|
||||
local function capture()
|
||||
local s=_G.__gacTrainPartyReadyMeta1 or {offset=0}
|
||||
_G.__gacTrainPartyReadyMeta1=s
|
||||
if s.done then return end
|
||||
local value=CS.RPG.Client.GlobalVars.s_ModuleManager.TrainPartyModule
|
||||
if not value then return end
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_TRAINPARTY_READY_META] '..tostring(v))end
|
||||
if not s.members then s.members=value:GetType():GetFields(flags)end
|
||||
for n=1,12 do
|
||||
if s.offset>=s.members.Length then s.done=true;log('END');return end
|
||||
local f=s.members[s.offset];s.offset=s.offset+1
|
||||
if not f.IsStatic then
|
||||
local v=f:GetValue(value)
|
||||
log('FIELD '..f.Name..' '..f.FieldType.FullName..' VALUE '..tostring(v))
|
||||
end
|
||||
end
|
||||
end
|
||||
local ok,e=pcall(capture)
|
||||
if not ok then _G.__gacTrainPartyReadyMeta1={done=true};CS.UnityEngine.Debug.Log('[GAC_TRAINPARTY_READY_META] ERROR '..tostring(e))end
|
||||
end
|
||||
Reference in new issue
Block a user