diff --git a/protos/ChatProto.proto b/protos/ChatProto.proto index c328f17..588c74c 100644 --- a/protos/ChatProto.proto +++ b/protos/ChatProto.proto @@ -11,7 +11,7 @@ message ChatInfo{ optional uint64 times = 6;//接受到的时间戳 optional string msg = 7;//消息内容,消息体 optional string head = 8; // 头像 - optional string frame = 9; // 头像框 + optional int32 frame = 9; // 头像框 optional int32 soulVal = 10; // 战斗力 optional uint64 messageId = 11; // 消息号 //跑马灯用 diff --git a/protos/CommonProto.proto b/protos/CommonProto.proto index 5dfa24a..81a488a 100644 --- a/protos/CommonProto.proto +++ b/protos/CommonProto.proto @@ -284,6 +284,7 @@ option optimize_for = SPEED; optional int32 head =5; optional int32 rank =6; //排名 optional int32 totalForce =7; + optional int32 headFrame = 8; } @@ -379,7 +380,7 @@ option optimize_for = SPEED; optional int32 isGive = 6; // 是否赠送过体力 0: 否 ,1:是 optional string head = 12; // 新头像 - optional string frame = 13; // 头像框 + optional int32 frame = 13; // 头像框 optional int32 soulVal = 14; // 战斗力 } @@ -421,6 +422,7 @@ option optimize_for = SPEED; optional int32 head = 3; optional string userName = 4; optional TowerRankInfo towerRankInfo = 5; + optional int32 headFrame = 6;//头像框 }