Files
GaCy-GO/tools/cw_gameref_schema_probe.lua
T

16 lines
643 B
Lua
Raw Normal View History

-- Inspect the named CW GameRef configuration API only; never send HTTP calls.
do
if not _G.__gacCwGameRefSchema1 then
_G.__gacCwGameRefSchema1=true
local log=function(v)CS.UnityEngine.Debug.Log('[GAC_CW_GAMEREF_SCHEMA] '..tostring(v))end
local t=typeof(CS.RPG.Client.GridFightGameRef)
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local fs=t:GetFields(flags)
for i=0,math.min(fs.Length-1,47)do log('FIELD '..tostring(fs[i]))end
local ms=t:GetMethods(flags)
for i=0,math.min(ms.Length-1,63)do
if ms[i].DeclaringType==t then log('METHOD '..tostring(ms[i]))end
end
log('END')
end
end