GetSettingsCallBackMessage.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. /********************************************************************************
  5. ** Company: YC
  6. ** auth: CaoTing
  7. ** date: 2021\5
  8. ** desc: 获取设置回调
  9. *******************************************************************************/
  10. namespace Studio.Scripts.HttpMessage
  11. {
  12. [System.Serializable]
  13. public class GetSettingsCallBackMessage : BaseHttpCallBackMessage
  14. {
  15. public GetSettingsCallBackData data;
  16. public GetSettingsCallBackMessage()
  17. {
  18. messageModuleType = MessageModuleType.Set;
  19. _messageType = MessageType.GetMySetType;
  20. }
  21. }
  22. [System.Serializable]
  23. public struct GetSettingsCallBackData : ICallData
  24. {
  25. /// <summary>
  26. /// 摄像头开关
  27. /// </summary>
  28. public bool camera;
  29. /// <summary>
  30. /// 麦克风开关
  31. /// </summary>
  32. public bool mic;
  33. /// <summary>
  34. /// 分辨率: 1.高分辨率1280*960 2.中分辨率640*480 3.低分辨率320*240
  35. /// </summary>
  36. public int ratio;
  37. /// <summary>
  38. /// 帧率: 1.15FPS 2.30FPS 3.60FPS
  39. /// </summary>
  40. public int fps;
  41. /// <summary>
  42. /// 激活类型 1:激活 0:未激活 默认 未激活
  43. /// </summary>
  44. public int isActivate;
  45. /// <summary>
  46. /// 管理设置开关 1:开 2:关
  47. /// </summary>
  48. public int fmss;
  49. }
  50. }