|
@@ -307,13 +307,44 @@ namespace ET
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
[ProtoMember(4)]
|
|
|
- public Player Player { get; set; }
|
|
|
+ public PlayerInfo Player { get; set; }
|
|
|
|
|
|
[ProtoMember(5)]
|
|
|
public bool IsInRoom { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
+ [ResponseType(nameof(G2C_CreatRoom))]
|
|
|
+ [Message(OuterMessage.C2G_CreatRoom)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class C2G_CreatRoom: ProtoObject, IRequest
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public int RpcId { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ [Message(OuterMessage.G2C_CreatRoom)]
|
|
|
+ [ProtoContract]
|
|
|
+ public partial class G2C_CreatRoom: ProtoObject, IResponse
|
|
|
+ {
|
|
|
+ [ProtoMember(1)]
|
|
|
+ public int RpcId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(2)]
|
|
|
+ public int Error { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(3)]
|
|
|
+ public string Message { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(4)]
|
|
|
+ public long OwnerId { get; set; }
|
|
|
+
|
|
|
+ [ProtoMember(5)]
|
|
|
+ public List<PlayerInfo> PlayerList { get; set; }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
[Message(OuterMessage.G2C_TestHotfixMessage)]
|
|
|
[ProtoContract]
|
|
|
public partial class G2C_TestHotfixMessage: ProtoObject, IMessage
|
|
@@ -397,10 +428,12 @@ namespace ET
|
|
|
public const ushort R2C_Login = 30021;
|
|
|
public const ushort C2G_LoginGame = 30022;
|
|
|
public const ushort G2C_LoginGame = 30023;
|
|
|
- public const ushort G2C_TestHotfixMessage = 30024;
|
|
|
- public const ushort C2M_TransferMap = 30025;
|
|
|
- public const ushort M2C_TransferMap = 30026;
|
|
|
- public const ushort C2G_Benchmark = 30027;
|
|
|
- public const ushort G2C_Benchmark = 30028;
|
|
|
+ public const ushort C2G_CreatRoom = 30024;
|
|
|
+ public const ushort G2C_CreatRoom = 30025;
|
|
|
+ public const ushort G2C_TestHotfixMessage = 30026;
|
|
|
+ public const ushort C2M_TransferMap = 30027;
|
|
|
+ public const ushort M2C_TransferMap = 30028;
|
|
|
+ public const ushort C2G_Benchmark = 30029;
|
|
|
+ public const ushort G2C_Benchmark = 30030;
|
|
|
}
|
|
|
}
|