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 { /// /// 摄像头开关 /// public bool camera; /// /// 麦克风开关 /// public bool mic; /// /// 分辨率: 1.高分辨率1280*960 2.中分辨率640*480 3.低分辨率320*240 /// public int ratio; /// /// 帧率: 1.15FPS 2.30FPS 3.60FPS /// public int fps; /// /// 激活类型 1:激活 0:未激活 默认 未激活 /// public int isActivate; /// /// 管理设置开关 1:开 2:关 /// public int fmss; } }