16 lines
1.0 KiB
Lua
16 lines
1.0 KiB
Lua
-- Exact protobuf parameter types obtained from the current consumer metadata.
|
|||
|
|
do local function capture()
|
||
|
|
if _G.__gacCwOrbFields1 then return end;_G.__gacCwOrbFields1=true
|
||
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
||
|
|
local log=function(x)CS.UnityEngine.Debug.Log('[GAC_CW_ORB_FIELDS] '..tostring(x))end
|
||
|
|
local t=typeof(CS.RPG.Client.GridFightOrbServerData)
|
||
|
|
local ms=t:GetMethods(flags)
|
||
|
|
for i=0,math.min(ms.Length-1,95)do local m=ms[i]
|
||
|
|
if m.Name=='Sync'and m:GetParameters().Length==1 then
|
||
|
|
local p=m:GetParameters()[0].ParameterType
|
||
|
|
log('TYPE '..p.FullName..' ASSEMBLY '..p.Assembly.FullName)
|
||
|
|
if p.Name=='MMEDLCAENAL'then local methods=p:GetMethods(flags);for j=0,math.min(methods.Length-1,95)do local g=methods[j];if g.DeclaringType==p and g.Name:find('get_')then log('METHOD '..g.Name..' HANDLE '..tostring(g.MethodHandle.Value))end end end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
log('END')
|
||
|
|
end;local ok,e=pcall(capture);if not ok then CS.UnityEngine.Debug.Log('[GAC_CW_ORB_FIELDS] ERROR '..tostring(e))end end
|