package logic //type PlayerTaskActive struct { // Id uint32 `bson:"id" key:"1"` // Status uint32 `bson:"status"` //} // //func (this *PlayerTaskActive) BuildActiveReward() *proto.ActiveReward { // return &proto.ActiveReward{Id: this.Id, Status: this.Status} //} // //func (this *Player) BuildMsgActiveInfoAck() *proto.MsgActiveInfoAck { // var statusList []*proto.ActiveReward // for _, avtive := range this.TaskActive { // statusList = append(statusList, avtive.BuildActiveReward()) // } // return &proto.MsgActiveInfoAck{Value: this.GetMoney(proto.MoneyTypeActivation).Value, StatusList: statusList} //}