|
@@ -491,31 +491,62 @@ namespace ET
|
|
|
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.G2C_TestHotfixMessage)]
|
|
|
+ [ResponseType(nameof(G2C_AddUnitsToMap))]
|
|
|
+ [Message(OuterMessage.C2G_AddUnitsToMap)]
|
|
|
[ProtoContract]
|
|
|
- public partial class G2C_TestHotfixMessage: ProtoObject, IMessage
|
|
|
+ public partial class C2G_AddUnitsToMap: ProtoObject, IActorLocationRequest
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
- public string Info { get; set; }
|
|
|
+ public int RpcId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(2)]
|
|
|
+ public int UnitId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(3)]
|
|
|
+ public int Force { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(4)]
|
|
|
+ public string Flag { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(5)]
|
|
|
+ public int X { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(6)]
|
|
|
+ public int Y { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
- [ResponseType(nameof(M2C_TestRobotCase))]
|
|
|
- [Message(OuterMessage.C2M_TestRobotCase)]
|
|
|
+ [Message(OuterMessage.G2C_AddUnitsToMap)]
|
|
|
[ProtoContract]
|
|
|
- public partial class C2M_TestRobotCase: ProtoObject, IActorLocationRequest
|
|
|
+ public partial class G2C_AddUnitsToMap: ProtoObject, IActorLocationResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
|
|
|
|
[ProtoMember(2)]
|
|
|
- public int N { get; set; }
|
|
|
+ public int Error { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(3)]
|
|
|
+ public string Message { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.M2C_TestRobotCase)]
|
|
|
+ [ResponseType(nameof(G2C_RemoveUnit))]
|
|
|
+ [Message(OuterMessage.C2G_RemoveUnit)]
|
|
|
[ProtoContract]
|
|
|
- public partial class M2C_TestRobotCase: ProtoObject, IActorLocationResponse
|
|
|
+ public partial class C2G_RemoveUnit: ProtoObject, IActorLocationRequest
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public int RpcId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(2)]
|
|
|
+ public int UnitId { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ [Message(OuterMessage.G2C_RemoveUnit)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class G2C_RemoveUnit: ProtoObject, IActorLocationResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
@@ -526,24 +557,67 @@ namespace ET
|
|
|
[ProtoMember(3)]
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
+ }
|
|
|
+
|
|
|
+ [ResponseType(nameof(G2C_TriggrBattleFunction))]
|
|
|
+ [Message(OuterMessage.C2G_TriggrBattleFunction)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class C2G_TriggrBattleFunction: ProtoObject, IActorLocationRequest
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public int RpcId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(2)]
|
|
|
+ public int EffectID { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(3)]
|
|
|
+ public int Value { get; set; }
|
|
|
+
|
|
|
[ProtoMember(4)]
|
|
|
- public int N { get; set; }
|
|
|
+ public int Time { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
- [ResponseType(nameof(M2C_TransferMap))]
|
|
|
- [Message(OuterMessage.C2M_TransferMap)]
|
|
|
+ [Message(OuterMessage.G2C_TriggrBattleFunction)]
|
|
|
[ProtoContract]
|
|
|
- public partial class C2M_TransferMap: ProtoObject, IActorLocationRequest
|
|
|
+ public partial class G2C_TriggrBattleFunction: ProtoObject, IActorLocationResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
|
|
|
|
+ [ProtoMember(2)]
|
|
|
+ public int Error { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(3)]
|
|
|
+ public string Message { get; set; }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.M2C_TransferMap)]
|
|
|
+ [Message(OuterMessage.G2C_TestHotfixMessage)]
|
|
|
[ProtoContract]
|
|
|
- public partial class M2C_TransferMap: ProtoObject, IActorLocationResponse
|
|
|
+ public partial class G2C_TestHotfixMessage: ProtoObject, IMessage
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public string Info { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ [ResponseType(nameof(M2C_TestRobotCase))]
|
|
|
+ [Message(OuterMessage.C2M_TestRobotCase)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class C2M_TestRobotCase: ProtoObject, IActorLocationRequest
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public int RpcId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(2)]
|
|
|
+ public int N { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ [Message(OuterMessage.M2C_TestRobotCase)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class M2C_TestRobotCase: ProtoObject, IActorLocationResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
@@ -554,6 +628,9 @@ namespace ET
|
|
|
[ProtoMember(3)]
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
+ [ProtoMember(4)]
|
|
|
+ public int N { get; set; }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
[ResponseType(nameof(G2C_Benchmark))]
|
|
@@ -631,13 +708,17 @@ namespace ET
|
|
|
public const ushort G2C_CreatePlayer = 10032;
|
|
|
public const ushort C2G_BindPlayer = 10033;
|
|
|
public const ushort G2C_BindPlayer = 10034;
|
|
|
- public const ushort G2C_TestHotfixMessage = 10035;
|
|
|
- public const ushort C2M_TestRobotCase = 10036;
|
|
|
- public const ushort M2C_TestRobotCase = 10037;
|
|
|
- public const ushort C2M_TransferMap = 10038;
|
|
|
- public const ushort M2C_TransferMap = 10039;
|
|
|
- public const ushort C2G_Benchmark = 10040;
|
|
|
- public const ushort G2C_Benchmark = 10041;
|
|
|
- public const ushort R2C_Disconnect = 10042;
|
|
|
+ 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 G2C_TestHotfixMessage = 10041;
|
|
|
+ public const ushort C2M_TestRobotCase = 10042;
|
|
|
+ public const ushort M2C_TestRobotCase = 10043;
|
|
|
+ public const ushort C2G_Benchmark = 10044;
|
|
|
+ public const ushort G2C_Benchmark = 10045;
|
|
|
+ public const ushort R2C_Disconnect = 10046;
|
|
|
}
|
|
|
}
|