using System.Collections; using System.Collections.Generic; using UnityEngine; namespace CCS.App { public enum UdpConnectState { None = 0, GotServerIP = 1, StartConnect = 2, Connected = 3, NotConnect = 4, } public enum UdpConnectInfoType { None = 0, Add = 1, Remove = 2, Refresh = 3, } public enum NetType { None =0, Tcp =1, Udp = 2, } public enum MessageTransportType { None = 0, Request = 1, Response = 2, Broadcast = 3, } public enum MessageContentType { None = 0, //udp 0-20 UDP_IP_INFO_BROADCAST_2C = 1, UDP_IP_INFO_STATE_2S = 2, UDP_IP_START_CONNECT_TCP_2C = 3, UDP_IP_INFO_STATE_RESET_2C = 4, //tcp 21-100 TCP_PLAYER_TRANSFOMR_2S = 21,// 位移变换 TCP_GET_FUNCTION_STATE_2C = 22,// TCP_FUNCTION_STATE_2S = 23,// 功能信息更新 TCP_TEXT = 24,// 文本信息 TCP_STATE_CODE = 25,// TCP 状态码 TCP_FUNCTION_CONFIG = 26,// 客户端配置表 TCP_GET_CONFIG_2S = 27,// 获取客户端配置表 TCP_Heartbeat_2S = 50,//心跳 TCP_KeepAlive_2C = 51,//服务器发起的心跳 } public enum NetStateCode { None = 0, Client_Scene_Transition = 1,// 客户端场景转换 Client_Function_Scene_Mismatch = 2,//功能场景不匹配 Clinet_Function_Not_Exist = 3,//客户端功能不存在 Client_Scence_Not_Exist = 4,// 客户端场景不存在 } public enum FunctionState { None = 0, Open = 1, Close = 2, Wait = 3, } public enum FunctionType { None = 0, GotoScence =1,//跳转场景 Switch =2,//功能开关 RangeValue = 3,// 范围值(滑动条) FlowValue = 4,// 流程步骤值(步骤系列) } public enum FunctionButtonType { None = 0, OnlyOpen = 1, OpenAndClose = 2, } public enum ModuleType { Main = 0, ThreeKingdoms = 1,// 三国 Medical = 2,// 医疗 Industrial=3,//工业 Chemistry = 4 ,//化学 Subway=5,//地铁 FutureCity=6,//未来城市 FireSafety = 7,//火灾 Museum =8,//博物馆 Steppermachine=9,//光刻机 Aquarium=10,//水族馆 //添加新场景标签 PartyBuilding=11,//党建 } public enum MainFunctionType { MainScence = 0, // 主场景 } public enum ThreeKingdomsFunctionType { None = 0, Sworn_Brother = 1,//桃园三结义 Yuan_Men_Shoot = 2,// 辕门射戟 Hu_Lao_Pass = 3,// 虎牢关 Chi_Bi_Fire = 4,// 火烧赤壁 Main_Scence =5,//主场景 } public enum MedicalFuntionType { None = 0, Into_Scene = 1,// 进入场景 Human_Body = 2,//人体 Main_Scence = 3,//主场景 } public enum IndustrialFuntionType { None = 0, Into_Scene = 1,// 进入工业场景 Industria_Handle = 2,//工业操作内容 Main_Scence = 3,//主场景 } public enum ChemistryFuntionType { None = 0, Into_Scene = 1,// 进入化学场景 Chemistry_Handle = 2,//化学操作内容 Main_Scence = 3,//主场景 } public enum SubwayMapFuntionType { None = 0, Into_Scene = 1,// 进入地铁场景 Fire_Handle = 2,//地铁操作内容 Main_Scence = 3,//主场景 } public enum FireSafetyFuntionType { None = 0, Into_Scene = 1,// 进入火灾场景 Fire_Handle = 2,//火灾操作内容 Main_Scence = 3,//主场景 } public enum FutureCityFuntionType { None = 0, Into_Scene = 1,// 进入未来城市场景 Fire_Handle = 2,//未来城市操作内容 Main_Scence = 3,//主场景 } public enum MuseumFuntionType { None = 0, Into_Scene = 1,// 进入博物馆场景 Museum_Handle = 2,//博物馆操作内容 Main_Scence = 3,//主场景 } public enum SteppermachineFuntionType { None = 0, Into_Scene = 1,// 进入光刻机场景 Machine_Handle = 2,//光刻机操作内容 Main_Scence = 3,//主场景 } public enum AquariumFuntionType { None = 0, Into_Scene = 1,// 进入工业场景 Aquarium_Handle = 2,//工业操作内容 Main_Scence = 3,//主场景 } public enum PartyBuildingFuntionType { None = 0, Into_Scene = 1,// 进入光刻机场景 PartyBuilding_Handle = 2,//光刻机操作内容 Main_Scence = 3,//主场景 } public enum StartInspect { Undetected,//未检测 。。。。默认 To_be_tested,//待检测 qualified,//合格 Unqualified//不合格 } }