更新proto和c#
							parent
							
								
									82a635ffa2
								
							
						
					
					
						commit
						e4d89d821a
					
				|  | @ -70,7 +70,7 @@ namespace DofLibrary | ||||||
| 
 | 
 | ||||||
|         private void ProcessMessage(ServerMessage serverMessage) |         private void ProcessMessage(ServerMessage serverMessage) | ||||||
|         { |         { | ||||||
|             Debug.Log("[ProcessMessage]"); |             //Debug.Log("[ProcessMessage]"); | ||||||
|             if (serverMessage.PlayerEntered != null) |             if (serverMessage.PlayerEntered != null) | ||||||
|             { |             { | ||||||
|                 //Debug.Log("[ProcessMessage]PlayerEntered"); |                 //Debug.Log("[ProcessMessage]PlayerEntered"); | ||||||
|  |  | ||||||
|  | @ -328,6 +328,12 @@ namespace Dof | ||||||
|         [global::ProtoBuf.ProtoMember(2, Name = @"score")] |         [global::ProtoBuf.ProtoMember(2, Name = @"score")] | ||||||
|         public int Score { get; set; } |         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()] |     [global::ProtoBuf.ProtoContract()] | ||||||
|  |  | ||||||
|  | @ -85,6 +85,8 @@ message AllLevelEnd { | ||||||
| message GameScore { | message GameScore { | ||||||
|   string uid = 1; |   string uid = 1; | ||||||
|   int32 score = 2; |   int32 score = 2; | ||||||
|  |   int32 rank = 3; | ||||||
|  |   int32 award = 4; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| message GameFinish { | message GameFinish { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue