示例#1
0
    public void RspRoomList(GameMsg msg)
    {
        roomListPanel.DestoryAllRoomItem();
        RspRoomList          rspRoomList   = msg.rspRoomList;
        List <RspCreateRoom> ownerDataList = rspRoomList.rspCreateRoomList;

        for (int i = 0; i < ownerDataList.Count; i++)
        {
            roomListPanel.CreateRoomItem(ownerDataList[i]);
        }
    }