123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /********************************************************************************
- ** Company: YC
- ** auth: CaoTing
- ** date: 2021\6\7
- ** desc: 房间列表返回协议
- *******************************************************************************/
- namespace Studio.WebSocket.Message
- {
- [System.Serializable]
- public class SelfRoomListResponseMessage:BaseWebSocketMessage
- {
- public List<RoomNetData> data;
- }
- [System.Serializable]
- public class ScenesItem
- {
- /// <summary>
- ///
- /// </summary>
- public int sceneID;
- /// <summary>
- ///
- /// </summary>
- public int roomID;
- /// <summary>
- ///
- /// </summary>
- public string sceneName;
- }
- /// <summary>
- /// 房间
- /// </summary>
- [System.Serializable]
- public class RoomNetData
- {
- /// <summary>
- ///
- /// </summary>
- public int roomID;
- /// <summary>
- ///
- /// </summary>
- public int type;
- /// <summary>
- ///
- /// </summary>
- public string roomName;
- /// <summary>
- ///
- /// </summary>
- public string roomExplain;
- /// <summary>
- ///
- /// </summary>
- public string roomPassword;
- /// <summary>
- ///
- /// </summary>
- public int maxMember;
- /// <summary>
- ///
- /// </summary>
- public int roomType;
- /// <summary>
- ///
- /// </summary>
- public List<ScenesItem> scenes;
- /// <summary>
- ///
- /// </summary>
- public List<RoomGoodNetData> goods;
- /// <summary>
- ///
- /// </summary>
- public int number;
- /// <summary>
- ///
- /// </summary>
- public string nickName;
- }
- /// <summary>
- /// 房间物品
- /// </summary>
- [System.Serializable]
- public struct RoomGoodNetData
- {
- public int rid;
- public string art_id;
- public string goods_name;
- public string goods_extended;
- public int id;
- public string goods_info;
- public int status;
- public int scene_id;
- }
- }
|