|
@@ -251,6 +251,9 @@ namespace ET
|
|
|
[ProtoMember(3)]
|
|
|
public string Password { get; set; }
|
|
|
|
|
|
+ [ProtoMember(4)]
|
|
|
+ public int Channel { get; set; }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
[Message(OuterMessage.R2C_Login)]
|
|
@@ -314,19 +317,19 @@ namespace ET
|
|
|
|
|
|
}
|
|
|
|
|
|
- [ResponseType(nameof(G2C_CreatRoom))]
|
|
|
- [Message(OuterMessage.C2G_CreatRoom)]
|
|
|
+ [ResponseType(nameof(G2C_GetGameplayList))]
|
|
|
+ [Message(OuterMessage.C2G_GetGameplayList)]
|
|
|
[ProtoContract]
|
|
|
- public partial class C2G_CreatRoom: ProtoObject, IRequest
|
|
|
+ public partial class C2G_GetGameplayList: ProtoObject, IRequest
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.G2C_CreatRoom)]
|
|
|
+ [Message(OuterMessage.G2C_GetGameplayList)]
|
|
|
[ProtoContract]
|
|
|
- public partial class G2C_CreatRoom: ProtoObject, IResponse
|
|
|
+ public partial class G2C_GetGameplayList: ProtoObject, IResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
@@ -337,61 +340,25 @@ namespace ET
|
|
|
[ProtoMember(3)]
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
- [ProtoMember(4)]
|
|
|
- public RoomInfo Info { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [ResponseType(nameof(G2C_JoinRoom))]
|
|
|
- [Message(OuterMessage.C2G_JoinRoom)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class C2G_JoinRoom: ProtoObject, IRequest
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public int RpcId { get; set; }
|
|
|
-
|
|
|
- [ProtoMember(2)]
|
|
|
- public int RoomId { get; set; }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.G2C_JoinRoom)]
|
|
|
+// 创建房间
|
|
|
+ [ResponseType(nameof(G2C_CreatRoom))]
|
|
|
+ [Message(OuterMessage.C2G_CreatRoom)]
|
|
|
[ProtoContract]
|
|
|
- public partial class G2C_JoinRoom: ProtoObject, IResponse
|
|
|
+ public partial class C2G_CreatRoom: ProtoObject, IRequest
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
|
|
|
|
[ProtoMember(2)]
|
|
|
- public int Error { get; set; }
|
|
|
-
|
|
|
- [ProtoMember(3)]
|
|
|
- public string Message { get; set; }
|
|
|
+ public int Type { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.G2C_JoinRoomPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_JoinRoomPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public RoomInfo info { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [ResponseType(nameof(G2C_Ready))]
|
|
|
- [Message(OuterMessage.C2G_Ready)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class C2G_Ready: ProtoObject, IRequest
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public int RpcId { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_Ready)]
|
|
|
+ [Message(OuterMessage.G2C_CreatRoom)]
|
|
|
[ProtoContract]
|
|
|
- public partial class G2C_Ready: ProtoObject, IResponse
|
|
|
+ public partial class G2C_CreatRoom: ProtoObject, IResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
@@ -403,23 +370,15 @@ namespace ET
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
[ProtoMember(4)]
|
|
|
- public bool IsReady { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_ReadyPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_ReadyPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public RoomInfo info { get; set; }
|
|
|
+ public RoomInfo Info { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
- [ResponseType(nameof(G2C_Kick))]
|
|
|
- [Message(OuterMessage.C2G_Kick)]
|
|
|
+// 加入房间
|
|
|
+ [ResponseType(nameof(G2C_JoinRoom))]
|
|
|
+ [Message(OuterMessage.C2G_JoinRoom)]
|
|
|
[ProtoContract]
|
|
|
- public partial class C2G_Kick: ProtoObject, IRequest
|
|
|
+ public partial class C2G_JoinRoom: ProtoObject, IRequest
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
@@ -427,118 +386,11 @@ namespace ET
|
|
|
[ProtoMember(2)]
|
|
|
public int RoomId { get; set; }
|
|
|
|
|
|
- [ProtoMember(3)]
|
|
|
- public long PlayerId { get; set; }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.G2C_Kick)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_Kick: 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.G2C_KickPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_KickPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public RoomInfo info { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_ReadyStartPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_ReadyStartPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public long ReadyStartTime { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_StartPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_StartPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public RoomInfo info { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_DrawCardPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_DrawCardPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public RoomInfo info { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [ResponseType(nameof(G2C_DisCard))]
|
|
|
- [Message(OuterMessage.C2G_DisCard)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class C2G_DisCard: ProtoObject, IRequest
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public int RpcId { get; set; }
|
|
|
-
|
|
|
- [ProtoMember(2)]
|
|
|
- public int Card { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_DisCard)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_DisCard: 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.G2C_DisCardPush)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class G2C_DisCardPush: ProtoObject, IActorMessage
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public RoomInfo info { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [ResponseType(nameof(G2C_Operation))]
|
|
|
- [Message(OuterMessage.C2G_Operation)]
|
|
|
- [ProtoContract]
|
|
|
- public partial class C2G_Operation: ProtoObject, IRequest
|
|
|
- {
|
|
|
- [ProtoMember(1)]
|
|
|
- public int RpcId { get; set; }
|
|
|
-
|
|
|
- [ProtoMember(2)]
|
|
|
- public int OpType { get; set; }
|
|
|
-
|
|
|
- [ProtoMember(3)]
|
|
|
- public int Card { get; set; }
|
|
|
-
|
|
|
- }
|
|
|
-
|
|
|
- [Message(OuterMessage.G2C_Operation)]
|
|
|
+ [Message(OuterMessage.G2C_JoinRoom)]
|
|
|
[ProtoContract]
|
|
|
- public partial class G2C_Operation: ProtoObject, IResponse
|
|
|
+ public partial class G2C_JoinRoom: ProtoObject, IResponse
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public int RpcId { get; set; }
|
|
@@ -551,16 +403,13 @@ namespace ET
|
|
|
|
|
|
}
|
|
|
|
|
|
- [Message(OuterMessage.G2C_OperationPush)]
|
|
|
+ [Message(OuterMessage.G2C_JoinRoomPush)]
|
|
|
[ProtoContract]
|
|
|
- public partial class G2C_OperationPush: ProtoObject, IActorMessage
|
|
|
+ public partial class G2C_JoinRoomPush: ProtoObject, IActorMessage
|
|
|
{
|
|
|
[ProtoMember(1)]
|
|
|
public RoomInfo info { get; set; }
|
|
|
|
|
|
- [ProtoMember(2)]
|
|
|
- public int OpType { get; set; }
|
|
|
-
|
|
|
}
|
|
|
|
|
|
[Message(OuterMessage.G2C_TestHotfixMessage)]
|
|
@@ -646,30 +495,17 @@ namespace ET
|
|
|
public const ushort R2C_Login = 30021;
|
|
|
public const ushort C2G_LoginGame = 30022;
|
|
|
public const ushort G2C_LoginGame = 30023;
|
|
|
- public const ushort C2G_CreatRoom = 30024;
|
|
|
- public const ushort G2C_CreatRoom = 30025;
|
|
|
- public const ushort C2G_JoinRoom = 30026;
|
|
|
- public const ushort G2C_JoinRoom = 30027;
|
|
|
- public const ushort G2C_JoinRoomPush = 30028;
|
|
|
- public const ushort C2G_Ready = 30029;
|
|
|
- public const ushort G2C_Ready = 30030;
|
|
|
- public const ushort G2C_ReadyPush = 30031;
|
|
|
- public const ushort C2G_Kick = 30032;
|
|
|
- public const ushort G2C_Kick = 30033;
|
|
|
- public const ushort G2C_KickPush = 30034;
|
|
|
- public const ushort G2C_ReadyStartPush = 30035;
|
|
|
- public const ushort G2C_StartPush = 30036;
|
|
|
- public const ushort G2C_DrawCardPush = 30037;
|
|
|
- public const ushort C2G_DisCard = 30038;
|
|
|
- public const ushort G2C_DisCard = 30039;
|
|
|
- public const ushort G2C_DisCardPush = 30040;
|
|
|
- public const ushort C2G_Operation = 30041;
|
|
|
- public const ushort G2C_Operation = 30042;
|
|
|
- public const ushort G2C_OperationPush = 30043;
|
|
|
- public const ushort G2C_TestHotfixMessage = 30044;
|
|
|
- public const ushort C2M_TransferMap = 30045;
|
|
|
- public const ushort M2C_TransferMap = 30046;
|
|
|
- public const ushort C2G_Benchmark = 30047;
|
|
|
- public const ushort G2C_Benchmark = 30048;
|
|
|
+ public const ushort C2G_GetGameplayList = 30024;
|
|
|
+ public const ushort G2C_GetGameplayList = 30025;
|
|
|
+ public const ushort C2G_CreatRoom = 30026;
|
|
|
+ public const ushort G2C_CreatRoom = 30027;
|
|
|
+ public const ushort C2G_JoinRoom = 30028;
|
|
|
+ public const ushort G2C_JoinRoom = 30029;
|
|
|
+ public const ushort G2C_JoinRoomPush = 30030;
|
|
|
+ public const ushort G2C_TestHotfixMessage = 30031;
|
|
|
+ public const ushort C2M_TransferMap = 30032;
|
|
|
+ public const ushort M2C_TransferMap = 30033;
|
|
|
+ public const ushort C2G_Benchmark = 30034;
|
|
|
+ public const ushort G2C_Benchmark = 30035;
|
|
|
}
|
|
|
}
|