Files
GaCy-GO/tools/cw_bonfire_sync_metadata.lua
2026-10-28 18:54:43 +07:00

13 lines
732 B
Lua

do local function capture()
local s=_G.__gacBonfireSyncMetadata1 or {i=0};_G.__gacBonfireSyncMetadata1=s
if s.done then return end
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local t=typeof(CS.RPG.Client.GridFightBonfirePendingAction)
local ms=t:GetMethods(flags)
for i=s.i,math.min(s.i+7,ms.Length-1,127)do
local m=ms[i]
if m.DeclaringType==t then CS.UnityEngine.Debug.Log('[GAC_BONFIRE_SYNC] '..tostring(m)..' HANDLE '..tostring(m.MethodHandle.Value))end
end
s.i=s.i+8;if s.i>=ms.Length or s.i>=128 then s.done=true end
end local ok,e=pcall(capture);if not ok then _G.__gacBonfireSyncMetadata1={done=true};CS.UnityEngine.Debug.Log('[GAC_BONFIRE_SYNC] ERROR '..tostring(e))end end