|
@@ -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;
|
|
|
}
|
|
|
}
|