Files
GaCy-GO/tools/cw_portal_schema_probe.lua

16 lines
669 B
Lua

-- Bounded metadata for the currently selected CW portal data only.
do
if _G.__gacCwPortalSchema1 then return end
_G.__gacCwPortalSchema1=true
local log=function(s)CS.UnityEngine.Debug.Log('[GAC_CW_PORTAL_SCHEMA] '..tostring(s))end
local ok,err=pcall(function()
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local t=typeof(CS.RPG.Client.GridFightPortalData)
local fs=t:GetFields(flags)
for i=0,math.min(fs.Length-1,31)do log('FIELD '..tostring(fs[i]))end
local ps=t:GetProperties(flags)
for i=0,math.min(ps.Length-1,31)do log('PROPERTY '..tostring(ps[i]))end
end)
if not ok then log('ERROR '..tostring(err))end
end