Selaa lähdekoodia

结算协议增加字段

johnclot69 1 kuukausi sitten
vanhempi
commit
819c10844a

+ 2 - 1
Config/Proto/HGHHMessage_C_40001.proto

@@ -106,5 +106,6 @@ message G2C_HGHHOperationPush // IActorMessage
 message G2C_HGHHSettlementPush // IActorMessage
 {
 	int32 CurRound = 1;						// 当前局数
-	repeated PlayerInfo PlayerInfo = 2;		// 输赢玩家数据
+	int32 HuResult = 2;						// 牌局结果:0:平局;1:点炮;2:自摸;3:抢杠
+	repeated PlayerInfo PlayerInfo = 3;		// 输赢玩家数据
 }

+ 3 - 0
DotNet/Model/Generate/Message/HGHHMessage_C_40001.cs

@@ -202,6 +202,9 @@ namespace ET
 		public int CurRound { get; set; }
 
 		[ProtoMember(2)]
+		public int HuResult { get; set; }
+
+		[ProtoMember(3)]
 		public List<PlayerInfo> PlayerInfo { get; set; }
 
 	}

+ 3 - 0
Unity/Assets/Scripts/Codes/Model/Client/Generate/Message/HGHHMessage_C_40001.cs

@@ -202,6 +202,9 @@ namespace ET
 		public int CurRound { get; set; }
 
 		[ProtoMember(2)]
+		public int HuResult { get; set; }
+
+		[ProtoMember(3)]
 		public List<PlayerInfo> PlayerInfo { get; set; }
 
 	}