新增tcp protobuf接口

This commit is contained in:
duanhf2012
2020-01-21 10:47:52 +08:00
parent c3cb6ff977
commit 263aeb232c
9 changed files with 402 additions and 51 deletions

18
Test/msgpb/test.proto Normal file
View 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; // 评价积分
}