1
This commit is contained in:
parent
7bc0fb7164
commit
bc43c9e28f
@ -246,6 +246,13 @@ func (this *player) FillMFTeamMember(member_pb *cs.MFTeamMember) {
|
|||||||
member_pb.VipLv = proto.Int32(this.vipLv)
|
member_pb.VipLv = proto.Int32(this.vipLv)
|
||||||
member_pb.VipExp = proto.Int64(this.vipExp)
|
member_pb.VipExp = proto.Int64(this.vipExp)
|
||||||
member_pb.HasVipLucky = proto.Int32(this.hasVipLucky)
|
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) {
|
func (this *player) CMLeaveTeam(hdr *f5.MsgHdr, msg *cs.CMLeaveTeam) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user