This commit is contained in:
aozhiwei 2024-10-12 15:01:09 +08:00
parent 7bc0fb7164
commit bc43c9e28f

View File

@ -246,6 +246,13 @@ func (this *player) FillMFTeamMember(member_pb *cs.MFTeamMember) {
member_pb.VipLv = proto.Int32(this.vipLv)
member_pb.VipExp = proto.Int64(this.vipExp)
member_pb.HasVipLucky = proto.Int32(this.hasVipLucky)
q5.NewSlice(&member_pb.BattleItems, 0, 0)
for _, p := range(this.battleItems) {
item_pb := new(cs.MFBattleItem)
item_pb.ItemId = proto.Int32(p.itemId)
item_pb.ItemNum = proto.Int32(p.itemNum)
q5.AppendSlice(&member_pb.BattleItems, item_pb)
}
}
func (this *player) CMLeaveTeam(hdr *f5.MsgHdr, msg *cs.CMLeaveTeam) {