19 lines
850 B
Lua
19 lines
850 B
Lua
-- Inspect the single observed EndProcess result builder; do not invoke it.
|
|
do
|
|
if not _G.__gacPeakBuilderMetadata1 then
|
|
_G.__gacPeakBuilderMetadata1=true
|
|
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_BUILDER] '..tostring(v))end
|
|
local ok,err=pcall(function()
|
|
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
|
|
local m=typeof(CS.IBOLNDGHCBB):GetMethod('BNIBHPOLPAK',flags)
|
|
log('METHOD '..tostring(m))
|
|
local good,ptr=pcall(function()return m.MethodHandle:GetFunctionPointer():ToInt64()end)
|
|
log('POINTER '..tostring(good)..' '..tostring(ptr))
|
|
local t=m.ReturnType;log('RETURN '..tostring(t))
|
|
local fs=t:GetFields(flags)
|
|
for i=0,math.min(fs.Length-1,23)do log('FIELD '..fs[i].Name..' '..tostring(fs[i].FieldType))end
|
|
end)
|
|
if not ok then log('ERROR '..tostring(err))end
|
|
end
|
|
end
|