123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- 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_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_PLAYER_TRANSFOMR_2S = 21,
- TCP_GET_FUNCTION_STATE_2C = 22,
- TCP_FUNCTION_STATE_2S = 23,
- TCP_TEXT = 24,
- TCP_STATE_CODE = 25,
- 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
- }
- }
|