-- Read only: bounded loaded-Lua inventory and exact bonfire enum metadata. do local function capture() if _G.__gacBonfirePhaseContract1 then return end _G.__gacBonfirePhaseContract1=true local log=function(v) CS.UnityEngine.Debug.Log('[GAC_BONFIRE_PHASE] '..tostring(v)) end local n=0 for k,v in pairs(package.loaded) do n=n+1;if n>8192 then break end if type(k)=='string' and (k:find('Bonfire',1,true) or k:find('TeaBreak',1,true)) then log('MODULE '..k..' '..type(v)) if type(v)=='table' then local count=0 for name,fn in pairs(v) do count=count+1;if count>128 then break end if type(fn)=='function' then log('METHOD '..k..' '..tostring(name)) if tostring(name):lower():find('phase',1,true) or tostring(name):lower():find('refresh',1,true) then for i=1,16 do local key,value=debug.getupvalue(fn,i);if not key then break end log('UPVALUE '..tostring(name)..' '..key..' '..type(value)) if type(value)=='table' and key:lower():find('phase',1,true) then for ek,ev in pairs(value) do if type(ev)=='number' or type(ev)=='string' then log('ENUM '..tostring(ek)..' '..tostring(ev))end end end end end end end end end end log('END') end local ok,e=pcall(capture);if not ok then CS.UnityEngine.Debug.Log('[GAC_BONFIRE_PHASE] ERROR '..tostring(e))end end