pb版本是2.6
package protocal;
message IUsrAttri {
required uint64 accountID = 1; //帐号ID
required string nickName = 2; //昵称
}
message SSitePlayer {
required uint32 siteNo = 1; //座位号
required IUsrAttri userAttri =2;
required bool isReady = 3;
required bool isZhuang = 4;
}
message SRoomInfo{
repeated SSitePlayer players = 1;
required uint32 roomId= 2; //房间号
}
用风云的pbc解析SRoomInfo,死活不对.
望各位大神指点一二.