Procházet zdrojové kódy

【优化】C2G_TriggrBattleFunction协议

johnclot69 před 1 rokem
rodič
revize
51d43fac4a

+ 2 - 2
Config/Proto/OuterMessage_C_10001.proto

@@ -272,7 +272,7 @@ message G2C_RemoveUnit // IActorLocationResponse
 }
 
 //ResponseType G2C_TriggrBattleFunction
-message C2G_TriggrBattleFunction // IActorLocationRequest
+message C2G_TriggrBattleFunction // IRequest
 {
 	int32 RpcId = 1;
 	int32 EffectID = 2;	// 效果id
@@ -280,7 +280,7 @@ message C2G_TriggrBattleFunction // IActorLocationRequest
 	int32 Time = 4;	// 持续时间(秒)
 }
 
-message G2C_TriggrBattleFunction // IActorLocationResponse
+message G2C_TriggrBattleFunction // IResponse
 {
 	int32 RpcId = 1;
 	int32 Error = 2;

+ 2 - 2
DotNet/Model/Generate/Message/OuterMessage_C_10001.cs

@@ -562,7 +562,7 @@ namespace ET
 	[ResponseType(nameof(G2C_TriggrBattleFunction))]
 	[Message(OuterMessage.C2G_TriggrBattleFunction)]
 	[ProtoContract]
-	public partial class C2G_TriggrBattleFunction: ProtoObject, IActorLocationRequest
+	public partial class C2G_TriggrBattleFunction: ProtoObject, IRequest
 	{
 		[ProtoMember(1)]
 		public int RpcId { get; set; }
@@ -580,7 +580,7 @@ namespace ET
 
 	[Message(OuterMessage.G2C_TriggrBattleFunction)]
 	[ProtoContract]
-	public partial class G2C_TriggrBattleFunction: ProtoObject, IActorLocationResponse
+	public partial class G2C_TriggrBattleFunction: ProtoObject, IResponse
 	{
 		[ProtoMember(1)]
 		public int RpcId { get; set; }

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

@@ -562,7 +562,7 @@ namespace ET
 	[ResponseType(nameof(G2C_TriggrBattleFunction))]
 	[Message(OuterMessage.C2G_TriggrBattleFunction)]
 	[ProtoContract]
-	public partial class C2G_TriggrBattleFunction: ProtoObject, IActorLocationRequest
+	public partial class C2G_TriggrBattleFunction: ProtoObject, IRequest
 	{
 		[ProtoMember(1)]
 		public int RpcId { get; set; }
@@ -580,7 +580,7 @@ namespace ET
 
 	[Message(OuterMessage.G2C_TriggrBattleFunction)]
 	[ProtoContract]
-	public partial class G2C_TriggrBattleFunction: ProtoObject, IActorLocationResponse
+	public partial class G2C_TriggrBattleFunction: ProtoObject, IResponse
 	{
 		[ProtoMember(1)]
 		public int RpcId { get; set; }