mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-15 08:14:46 +08:00
新增tcp protobuf接口
This commit is contained in:
18
Test/msgpb/test.proto
Normal file
18
Test/msgpb/test.proto
Normal file
@@ -0,0 +1,18 @@
|
||||
syntax = "proto2";
|
||||
|
||||
package msgpb;
|
||||
|
||||
|
||||
/**
|
||||
* @brief base_score_info
|
||||
*/
|
||||
message test{
|
||||
optional int32 win_count = 1; // 玩家胜局局数
|
||||
optional int32 lose_count = 2; // 玩家负局局数
|
||||
optional int32 exception_count = 3; // 玩家异常局局数
|
||||
optional int32 kill_count = 4; // 总人头数
|
||||
optional int32 death_count = 5; // 总死亡数
|
||||
optional int32 assist_count = 6; // 总总助攻数
|
||||
optional int64 rating = 7; // 评价积分
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user