miduo_protocol/protos/PlayerInfoProto.proto

23 lines
419 B
Protocol Buffer
Raw Normal View History

2018-12-27 17:56:49 +08:00
package com.ljsd.jieling.protocols;
option optimize_for = SPEED;
// request 编号需要小于 response 编号
message PlayerInfo{
message GetPlayerInfoRequest{
optional int32 num = 1;
optional string str = 2;
optional string str1 = 3;
}
message GetPlayerInfoResponse{
optional int32 sex = 1; // 性别
optional string family = 2; // 家族
optional int32 rank = 3; // 上赛季排名
}
}