JoinedRoomCallBackMessage.cs 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. namespace Studio.Scripts.HttpMessage
  5. {
  6. [System.Serializable]
  7. public class JoinedRoomCallBackMessage : BaseHttpCallBackMessage
  8. {
  9. public JoinedRoomCallBackData data;
  10. public JoinedRoomCallBackMessage()
  11. {
  12. messageModuleType = MessageModuleType.Room;
  13. }
  14. }
  15. [System.Serializable]
  16. public struct JoinedRoomCallBackData : ICallData
  17. {
  18. /// <summary>
  19. /// 房间ID
  20. /// </summary>
  21. public int roomID;
  22. /// <summary>
  23. /// 房间类型
  24. /// </summary>
  25. public int type;
  26. /// <summary>
  27. /// 房间名称
  28. /// </summary>
  29. public string roomName;
  30. /// <summary>
  31. /// 房间信息说明
  32. /// </summary>
  33. public string roomExplain;
  34. /// <summary>
  35. /// 房间密码
  36. /// </summary>
  37. public string roomPassword;
  38. /// <summary>
  39. /// 人数上限
  40. /// </summary>
  41. public int maxMember;
  42. /// <summary>
  43. /// 公开房间类型
  44. /// </summary>
  45. public int roomType;
  46. public List<ScenesData> Scenes;
  47. }
  48. }