1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- /********************************************************************************
- ** Company: YC
- ** auth: CaoTing
- ** date: 2021\5
- ** desc: 获取设置回调
- *******************************************************************************/
- namespace Studio.Scripts.HttpMessage
- {
- [System.Serializable]
- public class GetSettingsCallBackMessage : BaseHttpCallBackMessage
- {
- public GetSettingsCallBackData data;
- public GetSettingsCallBackMessage()
- {
- messageModuleType = MessageModuleType.Set;
- _messageType = MessageType.GetMySetType;
- }
- }
- [System.Serializable]
- public struct GetSettingsCallBackData : ICallData
- {
- /// <summary>
- /// 摄像头开关
- /// </summary>
- public bool camera;
- /// <summary>
- /// 麦克风开关
- /// </summary>
- public bool mic;
- /// <summary>
- /// 分辨率: 1.高分辨率1280*960 2.中分辨率640*480 3.低分辨率320*240
- /// </summary>
- public int ratio;
- /// <summary>
- /// 帧率: 1.15FPS 2.30FPS 3.60FPS
- /// </summary>
- public int fps;
- /// <summary>
- /// 激活类型 1:激活 0:未激活 默认 未激活
- /// </summary>
- public int isActivate;
- /// <summary>
- /// 管理设置开关 1:开 2:关
- /// </summary>
- public int fmss;
- }
- }
|