-- Loaded floor metadata only, 32 group names per heartbeat. do local input=__ENTRANCE_ROW__ local function log(v)CS.UnityEngine.Debug.Log('[GAC_CW_LOBBY_NAMES] '..tostring(v))end _G.__gacCwLobbyNames1=_G.__gacCwLobbyNames1 or {index=0} local state=_G.__gacCwLobbyNames1 if not state.done then local ok,err=pcall(function() if not state.floor then local entry=CS.RPG.GameCore.ConstValueCommonExcelTable.GetData('GridFight_EntranceID').Value.IntValue if entry~=input.ID then error('CW entry mismatch')end state.floor=CS.RPG.GameCore.GameCoreConfigLoader.LoadRtLevelFloorInfo(CS.RPG.Client.MapDef.GetRtFloorInfoPath(input.PlaneID,input.FloorID)) log('BEGIN '..state.floor.GroupInstanceList.Length) end for i=state.index,math.min(state.index+31,state.floor.GroupInstanceList.Length-1)do local g=state.floor.GroupInstanceList[i] log('GROUP '..g.ID..' '..tostring(g.Name)) end state.index=state.index+32 if state.index>=state.floor.GroupInstanceList.Length then state.done=true;log('END')end end) if not ok then state.done=true;log('ERROR '..tostring(err))end end end