Files
GaCy-GO/tools/peak_phase_fields.lua
T

13 lines
627 B
Lua
Raw Normal View History

do
local s=_G.__gacPeakPhaseFields1 or {index=0};_G.__gacPeakPhaseFields1=s
if not s.done then
local function log(v)CS.UnityEngine.Debug.Log('[GAC_PEAK_PHASE_FIELD] '..tostring(v))end
local ok,err=pcall(function()
local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60)
local fs=typeof(CS.RPG.Client.BattleGamePhase):GetFields(flags)
for i=s.index,math.min(s.index+15,fs.Length-1)do log(fs[i].Name..' '..tostring(fs[i].FieldType))end
s.index=s.index+16;if s.index>=fs.Length then s.done=true;log('END')end
end)
if not ok then s.done=true;log('ERROR '..tostring(err))end
end
end