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,21 @@
|
||||
-- Named module fields only; no mission updates or scene calls.
|
||||
do
|
||||
local function capture()
|
||||
local s=_G.__gacMissionConfigAccess1 or {offset=0}
|
||||
_G.__gacMissionConfigAccess1=s
|
||||
if s.done then return end
|
||||
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_MISSION_CONFIG_ACCESS] '..tostring(v))end
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
if not s.members then
|
||||
s.t=typeof(CS.RPG.Client.GridFightModule).Assembly:GetType('RPG.Client.MissionModule')
|
||||
s.members=s.t:GetFields(flags)
|
||||
end
|
||||
for n=1,16 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 f.DeclaringType==s.t then log('FIELD '..f.Name..' '..f.FieldType.FullName..' STATIC '..tostring(f.IsStatic))end
|
||||
end
|
||||
end
|
||||
local ok,e=pcall(capture)
|
||||
if not ok then _G.__gacMissionConfigAccess1={done=true};CS.UnityEngine.Debug.Log('[GAC_MISSION_CONFIG_ACCESS] ERROR '..tostring(e))end
|
||||
end
|
||||
Reference in new issue
Block a user