更新proto和c#

main
xiaohang 2023-11-08 11:19:02 +08:00
parent 82a635ffa2
commit e4d89d821a
3 changed files with 9 additions and 1 deletions

View File

@ -70,7 +70,7 @@ namespace DofLibrary
private void ProcessMessage(ServerMessage serverMessage)
{
Debug.Log("[ProcessMessage]");
//Debug.Log("[ProcessMessage]");
if (serverMessage.PlayerEntered != null)
{
//Debug.Log("[ProcessMessage]PlayerEntered");

View File

@ -328,6 +328,12 @@ namespace Dof
[global::ProtoBuf.ProtoMember(2, Name = @"score")]
public int Score { get; set; }
[global::ProtoBuf.ProtoMember(3, Name = @"rank")]
public int Rank { get; set; }
[global::ProtoBuf.ProtoMember(4, Name = @"award")]
public int Award { get; set; }
}
[global::ProtoBuf.ProtoContract()]

View File

@ -85,6 +85,8 @@ message AllLevelEnd {
message GameScore {
string uid = 1;
int32 score = 2;
int32 rank = 3;
int32 award = 4;
}
message GameFinish {