Browse Source

删除无用的协议

大爷 1 year ago
parent
commit
2ed244ab20

+ 0 - 91
Config/Proto/OuterMessage_C_10001.proto

@@ -29,20 +29,6 @@ message M2C_TestResponse // IActorLocationResponse
 	string response = 4;
 }
 
-//ResponseType Actor_TransferResponse
-message Actor_TransferRequest // IActorLocationRequest
-{
-	int32 RpcId = 1;
-	int32 MapIndex = 2;
-}
-
-message Actor_TransferResponse // IActorLocationResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-}
-
 //ResponseType G2C_EnterMap
 message C2G_EnterMap // IRequest
 {
@@ -58,84 +44,12 @@ message G2C_EnterMap // IResponse
 	int64 MapInstanceId = 4;
 }
 
-//ResponseType G2C_EnterSceneReady
-message C2G_EnterSceneReady // IRequest
-{
-	int32 RpcId = 1;
-}
-
-message G2C_EnterSceneReady // IResponse
-{
-	int32 RpcId = 1;
-	int32 Error = 2;
-	string Message = 3;
-}
-
-message MoveInfo
-{
-	repeated Unity.Mathematics.float3 Points = 1;
-	Unity.Mathematics.quaternion Rotation = 2;
-	int32 TurnSpeed = 3;
-}
-
-message UnitInfo
-{
-	int64 UnitId = 1;
-	int32 ConfigId = 2;
-	int32 Type = 3;
-	Unity.Mathematics.float3 Position = 4;
-	Unity.Mathematics.float3 Forward = 5;
-	map<int32, int64> KV = 6;
-	MoveInfo MoveInfo = 7;
-}
-
-message M2C_CreateUnits // IActorMessage
-{
-	repeated UnitInfo Units = 1;
-}
-
-message M2C_CreateMyUnit // IActorMessage
-{
-	UnitInfo Unit = 1;
-}
-
 message M2C_StartSceneChange // IActorMessage
 {
 	int64 SceneInstanceId = 1;
 	string SceneName = 2;
 }
 
-message M2C_RemoveUnits // IActorMessage
-{
-	repeated int64 Units = 2;
-}
-
-message C2M_PathfindingResult // IActorLocationMessage
-{
-	int32 RpcId = 1;
-	Unity.Mathematics.float3 Position = 2;
-}
-
-message M2C_PathfindingResult // IActorMessage
-{
-	int64 Id = 1;
-	Unity.Mathematics.float3 Position = 2;
-	repeated Unity.Mathematics.float3 Points = 3;
-}
-
-message C2M_Stop // IActorLocationMessage
-{
-	int32 RpcId = 1;
-}
-
-message M2C_Stop // IActorMessage
-{
-	int32 Error = 1;
-	int64 Id = 2;
-	Unity.Mathematics.float3 Position = 3;
-	Unity.Mathematics.quaternion Rotation = 4;
-}
-
 //ResponseType G2C_Ping
 message C2G_Ping // IRequest
 {
@@ -150,11 +64,6 @@ message G2C_Ping // IResponse
 	int64 Time = 4;
 }
 
-
-message G2C_Test // IMessage
-{
-}
-
 //ResponseType M2C_Reload
 message C2M_Reload // IRequest
 {

+ 3 - 0
DotNet/Hotfix/DotNet.Hotfix.csproj

@@ -27,6 +27,9 @@
         </Compile>
 
     </ItemGroup>
+    <ItemGroup>
+      <Compile Remove="Scenes\Game\Handler\C2G_EnterSceneReady.cs" />
+    </ItemGroup>
     <ItemGroup>
       <PackageReference Include="SuperSocket.ClientEngine" Version="0.10.0" />
       <PackageReference Include="SuperSocket.ProtoBase" Version="1.7.0.17" />

+ 0 - 28
DotNet/Hotfix/Scenes/Game/Handler/C2G_EnterSceneReady.cs

@@ -1,28 +0,0 @@
-using System;
-using ET;
-
-namespace ET.Server
-{
-    [MessageHandler(SceneType.Game)]
-    public class C2G_EnterSceneReadyHandler : AMRpcHandler<C2G_EnterSceneReady, G2C_EnterSceneReady>
-    {
-        protected override async ETTask Run(Session session, C2G_EnterSceneReady request, G2C_EnterSceneReady response, Action reply)
-        {
-            Scene scene = session.DomainScene();
-            scene.GetComponent<ObjectWait>().Notify(new Wait_PlayerReady());
-
-            WNPlayer player = session.GetComponent<SessionPlayerComponent>().GetMyPlayer();
-            if (player != null)
-            {
-                player.OnReady();
-            }
-            if (player.Map != null)
-            {
-                player.Map.PlayerReady(player);
-            }
-
-            reply();
-            await ETTask.CompletedTask;
-        }
-    }
-}

+ 35 - 231
DotNet/Model/Generate/Message/OuterMessage_C_10001.cs

@@ -58,34 +58,6 @@ namespace ET
 
 	}
 
-	[ResponseType(nameof(Actor_TransferResponse))]
-	[Message(OuterMessage.Actor_TransferRequest)]
-	[ProtoContract]
-	public partial class Actor_TransferRequest: ProtoObject, IActorLocationRequest
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public int MapIndex { get; set; }
-
-	}
-
-	[Message(OuterMessage.Actor_TransferResponse)]
-	[ProtoContract]
-	public partial class Actor_TransferResponse: ProtoObject, IActorLocationResponse
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public int Error { get; set; }
-
-		[ProtoMember(3)]
-		public string Message { get; set; }
-
-	}
-
 	[ResponseType(nameof(G2C_EnterMap))]
 	[Message(OuterMessage.C2G_EnterMap)]
 	[ProtoContract]
@@ -117,91 +89,6 @@ namespace ET
 
 	}
 
-	[ResponseType(nameof(G2C_EnterSceneReady))]
-	[Message(OuterMessage.C2G_EnterSceneReady)]
-	[ProtoContract]
-	public partial class C2G_EnterSceneReady: ProtoObject, IRequest
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-	}
-
-	[Message(OuterMessage.G2C_EnterSceneReady)]
-	[ProtoContract]
-	public partial class G2C_EnterSceneReady: ProtoObject, IResponse
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public int Error { get; set; }
-
-		[ProtoMember(3)]
-		public string Message { get; set; }
-
-	}
-
-	[Message(OuterMessage.MoveInfo)]
-	[ProtoContract]
-	public partial class MoveInfo: ProtoObject
-	{
-		[ProtoMember(1)]
-		public List<Unity.Mathematics.float3> Points { get; set; }
-
-		[ProtoMember(2)]
-		public Unity.Mathematics.quaternion Rotation { get; set; }
-
-		[ProtoMember(3)]
-		public int TurnSpeed { get; set; }
-
-	}
-
-	[Message(OuterMessage.UnitInfo)]
-	[ProtoContract]
-	public partial class UnitInfo: ProtoObject
-	{
-		[ProtoMember(1)]
-		public long UnitId { get; set; }
-
-		[ProtoMember(2)]
-		public int ConfigId { get; set; }
-
-		[ProtoMember(3)]
-		public int Type { get; set; }
-
-		[ProtoMember(4)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-		[ProtoMember(5)]
-		public Unity.Mathematics.float3 Forward { get; set; }
-
-		[MongoDB.Bson.Serialization.Attributes.BsonDictionaryOptions(MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)]
-		[ProtoMember(6)]
-		public Dictionary<int, long> KV { get; set; }
-		[ProtoMember(7)]
-		public MoveInfo MoveInfo { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_CreateUnits)]
-	[ProtoContract]
-	public partial class M2C_CreateUnits: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public List<UnitInfo> Units { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_CreateMyUnit)]
-	[ProtoContract]
-	public partial class M2C_CreateMyUnit: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public UnitInfo Unit { get; set; }
-
-	}
-
 	[Message(OuterMessage.M2C_StartSceneChange)]
 	[ProtoContract]
 	public partial class M2C_StartSceneChange: ProtoObject, IActorMessage
@@ -214,69 +101,6 @@ namespace ET
 
 	}
 
-	[Message(OuterMessage.M2C_RemoveUnits)]
-	[ProtoContract]
-	public partial class M2C_RemoveUnits: ProtoObject, IActorMessage
-	{
-		[ProtoMember(2)]
-		public List<long> Units { get; set; }
-
-	}
-
-	[Message(OuterMessage.C2M_PathfindingResult)]
-	[ProtoContract]
-	public partial class C2M_PathfindingResult: ProtoObject, IActorLocationMessage
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_PathfindingResult)]
-	[ProtoContract]
-	public partial class M2C_PathfindingResult: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public long Id { get; set; }
-
-		[ProtoMember(2)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-		[ProtoMember(3)]
-		public List<Unity.Mathematics.float3> Points { get; set; }
-
-	}
-
-	[Message(OuterMessage.C2M_Stop)]
-	[ProtoContract]
-	public partial class C2M_Stop: ProtoObject, IActorLocationMessage
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_Stop)]
-	[ProtoContract]
-	public partial class M2C_Stop: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public int Error { get; set; }
-
-		[ProtoMember(2)]
-		public long Id { get; set; }
-
-		[ProtoMember(3)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-		[ProtoMember(4)]
-		public Unity.Mathematics.quaternion Rotation { get; set; }
-
-	}
-
 	[ResponseType(nameof(G2C_Ping))]
 	[Message(OuterMessage.C2G_Ping)]
 	[ProtoContract]
@@ -305,12 +129,6 @@ namespace ET
 
 	}
 
-	[Message(OuterMessage.G2C_Test)]
-	[ProtoContract]
-	public partial class G2C_Test: ProtoObject, IMessage
-	{
-	}
-
 	[ResponseType(nameof(M2C_Reload))]
 	[Message(OuterMessage.C2M_Reload)]
 	[ProtoContract]
@@ -794,54 +612,40 @@ namespace ET
 		 public const ushort RouterSync = 10003;
 		 public const ushort C2M_TestRequest = 10004;
 		 public const ushort M2C_TestResponse = 10005;
-		 public const ushort Actor_TransferRequest = 10006;
-		 public const ushort Actor_TransferResponse = 10007;
-		 public const ushort C2G_EnterMap = 10008;
-		 public const ushort G2C_EnterMap = 10009;
-		 public const ushort C2G_EnterSceneReady = 10010;
-		 public const ushort G2C_EnterSceneReady = 10011;
-		 public const ushort MoveInfo = 10012;
-		 public const ushort UnitInfo = 10013;
-		 public const ushort M2C_CreateUnits = 10014;
-		 public const ushort M2C_CreateMyUnit = 10015;
-		 public const ushort M2C_StartSceneChange = 10016;
-		 public const ushort M2C_RemoveUnits = 10017;
-		 public const ushort C2M_PathfindingResult = 10018;
-		 public const ushort M2C_PathfindingResult = 10019;
-		 public const ushort C2M_Stop = 10020;
-		 public const ushort M2C_Stop = 10021;
-		 public const ushort C2G_Ping = 10022;
-		 public const ushort G2C_Ping = 10023;
-		 public const ushort G2C_Test = 10024;
-		 public const ushort C2M_Reload = 10025;
-		 public const ushort M2C_Reload = 10026;
-		 public const ushort C2R_Login = 10027;
-		 public const ushort R2C_Login = 10028;
-		 public const ushort C2G_LoginGame = 10029;
-		 public const ushort G2C_LoginGame = 10030;
-		 public const ushort C2G_CreatePlayer = 10031;
-		 public const ushort G2C_CreatePlayer = 10032;
-		 public const ushort C2G_BindPlayer = 10033;
-		 public const ushort G2C_BindPlayer = 10034;
-		 public const ushort C2G_AddUnitsToMap = 10035;
-		 public const ushort G2C_AddUnitsToMap = 10036;
-		 public const ushort C2G_RemoveUnit = 10037;
-		 public const ushort G2C_RemoveUnit = 10038;
-		 public const ushort C2G_TriggrBattleFunction = 10039;
-		 public const ushort G2C_TriggrBattleFunction = 10040;
-		 public const ushort RankInfo = 10041;
-		 public const ushort G2C_RankNotify = 10042;
-		 public const ushort G2C_TestHotfixMessage = 10043;
-		 public const ushort C2M_TestRobotCase = 10044;
-		 public const ushort M2C_TestRobotCase = 10045;
-		 public const ushort C2G_Benchmark = 10046;
-		 public const ushort G2C_Benchmark = 10047;
-		 public const ushort R2C_Disconnect = 10048;
-		 public const ushort HttpDouyinApiCallbackResponse = 10049;
-		 public const ushort HttpGetVersionResponse = 10050;
-		 public const ushort C2G_BattleNotify = 10051;
-		 public const ushort G2C_BattleNotify = 10052;
-		 public const ushort G2C_LikeInfoPush = 10053;
-		 public const ushort G2C_GiftInfoPush = 10054;
+		 public const ushort C2G_EnterMap = 10006;
+		 public const ushort G2C_EnterMap = 10007;
+		 public const ushort M2C_StartSceneChange = 10008;
+		 public const ushort C2G_Ping = 10009;
+		 public const ushort G2C_Ping = 10010;
+		 public const ushort C2M_Reload = 10011;
+		 public const ushort M2C_Reload = 10012;
+		 public const ushort C2R_Login = 10013;
+		 public const ushort R2C_Login = 10014;
+		 public const ushort C2G_LoginGame = 10015;
+		 public const ushort G2C_LoginGame = 10016;
+		 public const ushort C2G_CreatePlayer = 10017;
+		 public const ushort G2C_CreatePlayer = 10018;
+		 public const ushort C2G_BindPlayer = 10019;
+		 public const ushort G2C_BindPlayer = 10020;
+		 public const ushort C2G_AddUnitsToMap = 10021;
+		 public const ushort G2C_AddUnitsToMap = 10022;
+		 public const ushort C2G_RemoveUnit = 10023;
+		 public const ushort G2C_RemoveUnit = 10024;
+		 public const ushort C2G_TriggrBattleFunction = 10025;
+		 public const ushort G2C_TriggrBattleFunction = 10026;
+		 public const ushort RankInfo = 10027;
+		 public const ushort G2C_RankNotify = 10028;
+		 public const ushort G2C_TestHotfixMessage = 10029;
+		 public const ushort C2M_TestRobotCase = 10030;
+		 public const ushort M2C_TestRobotCase = 10031;
+		 public const ushort C2G_Benchmark = 10032;
+		 public const ushort G2C_Benchmark = 10033;
+		 public const ushort R2C_Disconnect = 10034;
+		 public const ushort HttpDouyinApiCallbackResponse = 10035;
+		 public const ushort HttpGetVersionResponse = 10036;
+		 public const ushort C2G_BattleNotify = 10037;
+		 public const ushort G2C_BattleNotify = 10038;
+		 public const ushort G2C_LikeInfoPush = 10039;
+		 public const ushort G2C_GiftInfoPush = 10040;
 	}
 }

+ 1 - 1
Unity/Assets/Resources/GlobalConfig.asset

@@ -13,6 +13,6 @@ MonoBehaviour:
   m_Name: GlobalConfig
   m_EditorClassIdentifier: 
   CodeMode: 1
-  PlayMode: 0
+  PlayMode: 2
   Version: v0.0.1
   HotfixResUrl: https://star-escort.oss-cn-hangzhou.aliyuncs.com

+ 35 - 231
Unity/Assets/Scripts/Codes/Model/Client/Generate/Message/OuterMessage_C_10001.cs

@@ -58,34 +58,6 @@ namespace ET
 
 	}
 
-	[ResponseType(nameof(Actor_TransferResponse))]
-	[Message(OuterMessage.Actor_TransferRequest)]
-	[ProtoContract]
-	public partial class Actor_TransferRequest: ProtoObject, IActorLocationRequest
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public int MapIndex { get; set; }
-
-	}
-
-	[Message(OuterMessage.Actor_TransferResponse)]
-	[ProtoContract]
-	public partial class Actor_TransferResponse: ProtoObject, IActorLocationResponse
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public int Error { get; set; }
-
-		[ProtoMember(3)]
-		public string Message { get; set; }
-
-	}
-
 	[ResponseType(nameof(G2C_EnterMap))]
 	[Message(OuterMessage.C2G_EnterMap)]
 	[ProtoContract]
@@ -117,91 +89,6 @@ namespace ET
 
 	}
 
-	[ResponseType(nameof(G2C_EnterSceneReady))]
-	[Message(OuterMessage.C2G_EnterSceneReady)]
-	[ProtoContract]
-	public partial class C2G_EnterSceneReady: ProtoObject, IRequest
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-	}
-
-	[Message(OuterMessage.G2C_EnterSceneReady)]
-	[ProtoContract]
-	public partial class G2C_EnterSceneReady: ProtoObject, IResponse
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public int Error { get; set; }
-
-		[ProtoMember(3)]
-		public string Message { get; set; }
-
-	}
-
-	[Message(OuterMessage.MoveInfo)]
-	[ProtoContract]
-	public partial class MoveInfo: ProtoObject
-	{
-		[ProtoMember(1)]
-		public List<Unity.Mathematics.float3> Points { get; set; }
-
-		[ProtoMember(2)]
-		public Unity.Mathematics.quaternion Rotation { get; set; }
-
-		[ProtoMember(3)]
-		public int TurnSpeed { get; set; }
-
-	}
-
-	[Message(OuterMessage.UnitInfo)]
-	[ProtoContract]
-	public partial class UnitInfo: ProtoObject
-	{
-		[ProtoMember(1)]
-		public long UnitId { get; set; }
-
-		[ProtoMember(2)]
-		public int ConfigId { get; set; }
-
-		[ProtoMember(3)]
-		public int Type { get; set; }
-
-		[ProtoMember(4)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-		[ProtoMember(5)]
-		public Unity.Mathematics.float3 Forward { get; set; }
-
-		[MongoDB.Bson.Serialization.Attributes.BsonDictionaryOptions(MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)]
-		[ProtoMember(6)]
-		public Dictionary<int, long> KV { get; set; }
-		[ProtoMember(7)]
-		public MoveInfo MoveInfo { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_CreateUnits)]
-	[ProtoContract]
-	public partial class M2C_CreateUnits: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public List<UnitInfo> Units { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_CreateMyUnit)]
-	[ProtoContract]
-	public partial class M2C_CreateMyUnit: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public UnitInfo Unit { get; set; }
-
-	}
-
 	[Message(OuterMessage.M2C_StartSceneChange)]
 	[ProtoContract]
 	public partial class M2C_StartSceneChange: ProtoObject, IActorMessage
@@ -214,69 +101,6 @@ namespace ET
 
 	}
 
-	[Message(OuterMessage.M2C_RemoveUnits)]
-	[ProtoContract]
-	public partial class M2C_RemoveUnits: ProtoObject, IActorMessage
-	{
-		[ProtoMember(2)]
-		public List<long> Units { get; set; }
-
-	}
-
-	[Message(OuterMessage.C2M_PathfindingResult)]
-	[ProtoContract]
-	public partial class C2M_PathfindingResult: ProtoObject, IActorLocationMessage
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-		[ProtoMember(2)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_PathfindingResult)]
-	[ProtoContract]
-	public partial class M2C_PathfindingResult: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public long Id { get; set; }
-
-		[ProtoMember(2)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-		[ProtoMember(3)]
-		public List<Unity.Mathematics.float3> Points { get; set; }
-
-	}
-
-	[Message(OuterMessage.C2M_Stop)]
-	[ProtoContract]
-	public partial class C2M_Stop: ProtoObject, IActorLocationMessage
-	{
-		[ProtoMember(1)]
-		public int RpcId { get; set; }
-
-	}
-
-	[Message(OuterMessage.M2C_Stop)]
-	[ProtoContract]
-	public partial class M2C_Stop: ProtoObject, IActorMessage
-	{
-		[ProtoMember(1)]
-		public int Error { get; set; }
-
-		[ProtoMember(2)]
-		public long Id { get; set; }
-
-		[ProtoMember(3)]
-		public Unity.Mathematics.float3 Position { get; set; }
-
-		[ProtoMember(4)]
-		public Unity.Mathematics.quaternion Rotation { get; set; }
-
-	}
-
 	[ResponseType(nameof(G2C_Ping))]
 	[Message(OuterMessage.C2G_Ping)]
 	[ProtoContract]
@@ -305,12 +129,6 @@ namespace ET
 
 	}
 
-	[Message(OuterMessage.G2C_Test)]
-	[ProtoContract]
-	public partial class G2C_Test: ProtoObject, IMessage
-	{
-	}
-
 	[ResponseType(nameof(M2C_Reload))]
 	[Message(OuterMessage.C2M_Reload)]
 	[ProtoContract]
@@ -794,54 +612,40 @@ namespace ET
 		 public const ushort RouterSync = 10003;
 		 public const ushort C2M_TestRequest = 10004;
 		 public const ushort M2C_TestResponse = 10005;
-		 public const ushort Actor_TransferRequest = 10006;
-		 public const ushort Actor_TransferResponse = 10007;
-		 public const ushort C2G_EnterMap = 10008;
-		 public const ushort G2C_EnterMap = 10009;
-		 public const ushort C2G_EnterSceneReady = 10010;
-		 public const ushort G2C_EnterSceneReady = 10011;
-		 public const ushort MoveInfo = 10012;
-		 public const ushort UnitInfo = 10013;
-		 public const ushort M2C_CreateUnits = 10014;
-		 public const ushort M2C_CreateMyUnit = 10015;
-		 public const ushort M2C_StartSceneChange = 10016;
-		 public const ushort M2C_RemoveUnits = 10017;
-		 public const ushort C2M_PathfindingResult = 10018;
-		 public const ushort M2C_PathfindingResult = 10019;
-		 public const ushort C2M_Stop = 10020;
-		 public const ushort M2C_Stop = 10021;
-		 public const ushort C2G_Ping = 10022;
-		 public const ushort G2C_Ping = 10023;
-		 public const ushort G2C_Test = 10024;
-		 public const ushort C2M_Reload = 10025;
-		 public const ushort M2C_Reload = 10026;
-		 public const ushort C2R_Login = 10027;
-		 public const ushort R2C_Login = 10028;
-		 public const ushort C2G_LoginGame = 10029;
-		 public const ushort G2C_LoginGame = 10030;
-		 public const ushort C2G_CreatePlayer = 10031;
-		 public const ushort G2C_CreatePlayer = 10032;
-		 public const ushort C2G_BindPlayer = 10033;
-		 public const ushort G2C_BindPlayer = 10034;
-		 public const ushort C2G_AddUnitsToMap = 10035;
-		 public const ushort G2C_AddUnitsToMap = 10036;
-		 public const ushort C2G_RemoveUnit = 10037;
-		 public const ushort G2C_RemoveUnit = 10038;
-		 public const ushort C2G_TriggrBattleFunction = 10039;
-		 public const ushort G2C_TriggrBattleFunction = 10040;
-		 public const ushort RankInfo = 10041;
-		 public const ushort G2C_RankNotify = 10042;
-		 public const ushort G2C_TestHotfixMessage = 10043;
-		 public const ushort C2M_TestRobotCase = 10044;
-		 public const ushort M2C_TestRobotCase = 10045;
-		 public const ushort C2G_Benchmark = 10046;
-		 public const ushort G2C_Benchmark = 10047;
-		 public const ushort R2C_Disconnect = 10048;
-		 public const ushort HttpDouyinApiCallbackResponse = 10049;
-		 public const ushort HttpGetVersionResponse = 10050;
-		 public const ushort C2G_BattleNotify = 10051;
-		 public const ushort G2C_BattleNotify = 10052;
-		 public const ushort G2C_LikeInfoPush = 10053;
-		 public const ushort G2C_GiftInfoPush = 10054;
+		 public const ushort C2G_EnterMap = 10006;
+		 public const ushort G2C_EnterMap = 10007;
+		 public const ushort M2C_StartSceneChange = 10008;
+		 public const ushort C2G_Ping = 10009;
+		 public const ushort G2C_Ping = 10010;
+		 public const ushort C2M_Reload = 10011;
+		 public const ushort M2C_Reload = 10012;
+		 public const ushort C2R_Login = 10013;
+		 public const ushort R2C_Login = 10014;
+		 public const ushort C2G_LoginGame = 10015;
+		 public const ushort G2C_LoginGame = 10016;
+		 public const ushort C2G_CreatePlayer = 10017;
+		 public const ushort G2C_CreatePlayer = 10018;
+		 public const ushort C2G_BindPlayer = 10019;
+		 public const ushort G2C_BindPlayer = 10020;
+		 public const ushort C2G_AddUnitsToMap = 10021;
+		 public const ushort G2C_AddUnitsToMap = 10022;
+		 public const ushort C2G_RemoveUnit = 10023;
+		 public const ushort G2C_RemoveUnit = 10024;
+		 public const ushort C2G_TriggrBattleFunction = 10025;
+		 public const ushort G2C_TriggrBattleFunction = 10026;
+		 public const ushort RankInfo = 10027;
+		 public const ushort G2C_RankNotify = 10028;
+		 public const ushort G2C_TestHotfixMessage = 10029;
+		 public const ushort C2M_TestRobotCase = 10030;
+		 public const ushort M2C_TestRobotCase = 10031;
+		 public const ushort C2G_Benchmark = 10032;
+		 public const ushort G2C_Benchmark = 10033;
+		 public const ushort R2C_Disconnect = 10034;
+		 public const ushort HttpDouyinApiCallbackResponse = 10035;
+		 public const ushort HttpGetVersionResponse = 10036;
+		 public const ushort C2G_BattleNotify = 10037;
+		 public const ushort G2C_BattleNotify = 10038;
+		 public const ushort G2C_LikeInfoPush = 10039;
+		 public const ushort G2C_GiftInfoPush = 10040;
 	}
 }