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,18 @@
|
||||
-- Named flat configuration tables only; no scene/graph loading.
|
||||
do local function capture()
|
||||
local s=_G.__gacComicFlatMeta1 or {target=1,index=0};_G.__gacComicFlatMeta1=s
|
||||
local names={'RPG.GameCore.ComicDessertCycleExcelTable','RPG.GameCore.ComicDessertLevelExcelTable'}
|
||||
if s.target>#names then return end
|
||||
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||||
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_COMIC_FLAT_META] '..tostring(v))end
|
||||
if not s.t then
|
||||
s.t=typeof(CS.RPG.GameCore.AvatarExcelTable).Assembly:GetType(names[s.target])
|
||||
if not s.t then log('MISSING '..names[s.target]);s.target=s.target+1;return end
|
||||
log('TYPE '..s.t.FullName);s.members=s.t:GetMethods(flags);s.index=0
|
||||
end
|
||||
for n=1,8 do
|
||||
if s.index>=s.members.Length then s.t=nil;s.members=nil;s.target=s.target+1;return end
|
||||
local m=s.members[s.index];s.index=s.index+1
|
||||
if m.DeclaringType==s.t then log('METHOD '..tostring(m)..' HANDLE '..tostring(m.MethodHandle.Value))end
|
||||
end
|
||||
end local ok,e=pcall(capture);if not ok then _G.__gacComicFlatMeta1={target=99};CS.UnityEngine.Debug.Log('[GAC_COMIC_FLAT_META] ERROR '..tostring(e))end end
|
||||
Reference in new issue
Block a user