diff --git a/modules/robot/modulerobot_wtask.go b/modules/robot/modulerobot_wtask.go index a7e658f84..79dccc257 100644 --- a/modules/robot/modulerobot_wtask.go +++ b/modules/robot/modulerobot_wtask.go @@ -34,11 +34,11 @@ func (this *ModuleRobot_WTask) Receive(robot IRobot, stype string, message proto case "info": resp := message.(*pb.WTaskInfoResp) this.info = resp.Info - this.progress = resp.Accepts + // this.progress = resp.Accepts break case "accept": resp := message.(*pb.WTaskAcceptResp) - this.progress = resp.Accepts + // this.progress = resp.Accepts if this.info != nil { this.info.Activations = resp.Activations this.info.Accepts = make([]int32, 0) @@ -80,17 +80,17 @@ func (this *ModuleRobot_WTask) Receive(robot IRobot, stype string, message proto this.info.Activations = resp.Activations } break - case "acceptchange": - resp := message.(*pb.WTaskAcceptChangePush) - // log.Debug("[机器人 WTask-AcceptChange]", log.Field{Key: "Account", Value: robot.Account()}, log.Field{Key: "Resp", Value: resp.String()}) - this.progress = resp.Accepts - if this.info != nil { - this.info.Accepts = make([]int32, 0) - for _, v := range this.progress { - this.info.Accepts = append(this.info.Accepts, v.Tid) - } - } - break + // case "acceptchange": + // resp := message.(*pb.WTaskAcceptChangePush) + // // log.Debug("[机器人 WTask-AcceptChange]", log.Field{Key: "Account", Value: robot.Account()}, log.Field{Key: "Resp", Value: resp.String()}) + // this.progress = resp.Accepts + // if this.info != nil { + // this.info.Accepts = make([]int32, 0) + // for _, v := range this.progress { + // this.info.Accepts = append(this.info.Accepts, v.Tid) + // } + // } + // break case "boxchange": resp := message.(*pb.WTaskBoxChangePush) this.info.Boxs = resp.Boxs diff --git a/modules/wtask/api_accept.go b/modules/wtask/api_accept.go index aa6d03905..102273470 100644 --- a/modules/wtask/api_accept.go +++ b/modules/wtask/api_accept.go @@ -16,13 +16,13 @@ func (this *apiComp) AcceptCheck(session comm.IUserSession, req *pb.WTaskAcceptR // /获取系统公告 func (this *apiComp) Accept(session comm.IUserSession, req *pb.WTaskAcceptReq) (errdata *pb.ErrorData) { var ( - wtask *pb.DBWTask - conf *cfg.GameWorldTaskData - progress []*pb.DBWTaskItem - update map[string]interface{} = make(map[string]interface{}) - boxs map[int32]int32 - ok bool - err error + wtask *pb.DBWTask + conf *cfg.GameWorldTaskData + // progress []*pb.DBWTaskItem + update map[string]interface{} = make(map[string]interface{}) + boxs map[int32]int32 + ok bool + err error ) if errdata = this.AcceptCheck(session, req); errdata != nil { return @@ -96,11 +96,9 @@ func (this *apiComp) Accept(session comm.IUserSession, req *pb.WTaskAcceptReq) ( } } - if progress, errdata = this.module.pushtaskprogress(session, wtask, false); errdata != nil { - return - } - session.SendMsg(string(this.module.GetType()), "accept", &pb.WTaskAcceptResp{Tid: req.Tid, Activations: wtask.Activations, Accepts: progress}) - + // if progress, errdata = this.module.pushtaskprogress(session, wtask, false); errdata != nil { + // return + // } if err = this.module.modelwtask.Change(session.GetUserId(), update); err != nil { errdata = &pb.ErrorData{ Code: pb.ErrorCode_DBError, @@ -109,7 +107,7 @@ func (this *apiComp) Accept(session comm.IUserSession, req *pb.WTaskAcceptReq) ( } return } - + session.SendMsg(string(this.module.GetType()), "accept", &pb.WTaskAcceptResp{Tid: req.Tid, Activations: wtask.Activations}) go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { this.module.WriteUserLog(session.GetUserId(), req, comm.GMResAddType, "WTaskAcceptReq", conf.GetItem) }) diff --git a/modules/wtask/api_info.go b/modules/wtask/api_info.go index a65c02a67..c8e09dcdd 100644 --- a/modules/wtask/api_info.go +++ b/modules/wtask/api_info.go @@ -14,9 +14,9 @@ func (this *apiComp) InfoCheck(session comm.IUserSession, req *pb.WTaskInfoReq) // /获取系统公告 func (this *apiComp) Info(session comm.IUserSession, req *pb.WTaskInfoReq) (errdata *pb.ErrorData) { var ( - wtask *pb.DBWTask - progress []*pb.DBWTaskItem - err error + wtask *pb.DBWTask + // progress []*pb.DBWTaskItem + err error ) if errdata = this.InfoCheck(session, req); errdata != nil { return @@ -33,10 +33,10 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.WTaskInfoReq) (errd if _, errdata = this.module.fishtask(session, wtask, false); errdata != nil { return } - if progress, errdata = this.module.pushtaskprogress(session, wtask, false); errdata != nil { - return - } - session.SendMsg(string(this.module.GetType()), "info", &pb.WTaskInfoResp{Info: wtask, Accepts: progress}) + // if progress, errdata = this.module.pushtaskprogress(session, wtask, false); errdata != nil { + // return + // } + session.SendMsg(string(this.module.GetType()), "info", &pb.WTaskInfoResp{Info: wtask}) if err = this.module.modelwtask.updateUserWTasks(session.GetUserId(), wtask); err != nil { errdata = &pb.ErrorData{ Code: pb.ErrorCode_DBError, diff --git a/modules/wtask/module.go b/modules/wtask/module.go index 91e6875a1..cca4d3d17 100644 --- a/modules/wtask/module.go +++ b/modules/wtask/module.go @@ -73,84 +73,84 @@ func (this *WTask) OnInstallComp() { // 埋点通知 func (this *WTask) BuriedsNotify(session comm.IUserSession, condis []*pb.ConIProgress) { - var ( - condisMap map[int32]*pb.ConIProgress = make(map[int32]*pb.ConIProgress) - utask *pb.DBWTask - accepttaskMap map[int32]struct{} = make(map[int32]struct{}) - condlTask map[int32][]*cfg.GameWorldTaskData - temptasks []*cfg.GameWorldTaskData - changetasks map[int32]*cfg.GameWorldTaskData = make(map[int32]*cfg.GameWorldTaskData) - checkcondlsMap map[int32]struct{} = make(map[int32]struct{}) - checkcondls []int32 = make([]int32, 0) - detailstasks []*pb.DBWTaskItem = make([]*pb.DBWTaskItem, 0) - ok bool - needcheck bool //是否需要校验 + // var ( + // condisMap map[int32]*pb.ConIProgress = make(map[int32]*pb.ConIProgress) + // utask *pb.DBWTask + // accepttaskMap map[int32]struct{} = make(map[int32]struct{}) + // condlTask map[int32][]*cfg.GameWorldTaskData + // temptasks []*cfg.GameWorldTaskData + // changetasks map[int32]*cfg.GameWorldTaskData = make(map[int32]*cfg.GameWorldTaskData) + // checkcondlsMap map[int32]struct{} = make(map[int32]struct{}) + // checkcondls []int32 = make([]int32, 0) + // detailstasks []*pb.DBWTaskItem = make([]*pb.DBWTaskItem, 0) + // ok bool + // needcheck bool //是否需要校验 - err error - ) - this.Debug("收到子任务进度变化推送", log.Field{Key: "uid", Value: session.GetUserId()}, log.Field{Key: "condis", Value: condis}) - if utask, err = this.modelwtask.getUserWTasks(session.GetUserId()); err != nil { - this.Error("读取玩家世界任务数据 失败", log.Field{Key: "err", Value: err.Error()}) - return - } - condlTask = this.configure.getcondlTask() + // err error + // ) + // this.Debug("收到子任务进度变化推送", log.Field{Key: "uid", Value: session.GetUserId()}, log.Field{Key: "condis", Value: condis}) + // if utask, err = this.modelwtask.getUserWTasks(session.GetUserId()); err != nil { + // this.Error("读取玩家世界任务数据 失败", log.Field{Key: "err", Value: err.Error()}) + // return + // } + // condlTask = this.configure.getcondlTask() - for _, v := range condis { - condisMap[v.Conid] = v - } + // for _, v := range condis { + // condisMap[v.Conid] = v + // } - for _, v := range utask.Accepts { - accepttaskMap[v] = struct{}{} - } + // for _, v := range utask.Accepts { + // accepttaskMap[v] = struct{}{} + // } - for _, v := range condis { - if temptasks, ok = condlTask[v.Conid]; ok { - for _, task := range temptasks { - if _, ok = accepttaskMap[task.Key]; ok { //任务列表进度有变化 - if _, ok = changetasks[task.Key]; !ok { - changetasks[task.Key] = task - for _, cid := range task.Completetask { - if _, ok = checkcondlsMap[cid]; !ok { - checkcondlsMap[cid] = struct{}{} - checkcondls = append(checkcondls, cid) - } - } - } - } - } - } - } - if len(changetasks) == 0 { //没有任务变化 - return - } - for k, _ := range checkcondlsMap { - if _, ok = condisMap[k]; !ok { - needcheck = true - } - } - if needcheck { //校验有变化的任务 的完成条件 - if condis, err = this.ModuleBuried.CheckCondition(session, checkcondls...); err != nil { - this.Error("校验玩家子任务进度数据 失败", log.Field{Key: "err", Value: err.Error()}) - return - } - for _, v := range condis { - condisMap[v.Conid] = v - } - } + // for _, v := range condis { + // if temptasks, ok = condlTask[v.Conid]; ok { + // for _, task := range temptasks { + // if _, ok = accepttaskMap[task.Key]; ok { //任务列表进度有变化 + // if _, ok = changetasks[task.Key]; !ok { + // changetasks[task.Key] = task + // for _, cid := range task.Completetask { + // if _, ok = checkcondlsMap[cid]; !ok { + // checkcondlsMap[cid] = struct{}{} + // checkcondls = append(checkcondls, cid) + // } + // } + // } + // } + // } + // } + // } + // if len(changetasks) == 0 { //没有任务变化 + // return + // } + // for k, _ := range checkcondlsMap { + // if _, ok = condisMap[k]; !ok { + // needcheck = true + // } + // } + // if needcheck { //校验有变化的任务 的完成条件 + // if condis, err = this.ModuleBuried.CheckCondition(session, checkcondls...); err != nil { + // this.Error("校验玩家子任务进度数据 失败", log.Field{Key: "err", Value: err.Error()}) + // return + // } + // for _, v := range condis { + // condisMap[v.Conid] = v + // } + // } - //推送进度变化消息 - for k, v := range changetasks { - task := &pb.DBWTaskItem{ - Tid: k, - Conlds: make([]*pb.ConIProgress, len(v.Completetask)), - } - for i, v := range v.Completetask { - task.Conlds[i] = condisMap[v] - } - detailstasks = append(detailstasks, task) - } - //发送进度变化消息 - session.SendMsg(string(this.GetType()), "acceptchange", &pb.WTaskAcceptChangePush{Accepts: detailstasks}) + // //推送进度变化消息 + // for k, v := range changetasks { + // task := &pb.DBWTaskItem{ + // Tid: k, + // Conlds: make([]*pb.ConIProgress, len(v.Completetask)), + // } + // for i, v := range v.Completetask { + // task.Conlds[i] = condisMap[v] + // } + // detailstasks = append(detailstasks, task) + // } + // //发送进度变化消息 + // session.SendMsg(string(this.GetType()), "acceptchange", &pb.WTaskAcceptChangePush{Accepts: detailstasks}) } // 功能开启 @@ -475,7 +475,7 @@ func (this *WTask) ClearCaravanTask(session comm.IUserSession, task int32) { } if change { - this.pushtaskprogress(session, wtask, true) + // this.pushtaskprogress(session, wtask, true) if err = this.modelwtask.updateUserWTasks(session.GetUserId(), wtask); err != nil { this.Errorln(err) return @@ -577,77 +577,77 @@ func (this *WTask) BingoJumpTask(session comm.IUserSession, taskId int32) (errda } // 校验任务进度 -func (this *WTask) pushtaskprogress(session comm.IUserSession, wtask *pb.DBWTask, ispush bool) (progress []*pb.DBWTaskItem, errdata *pb.ErrorData) { - var ( - checkcondlsMap map[int32]struct{} = make(map[int32]struct{}) - checkcondls []int32 = make([]int32, 0) - conf *cfg.GameWorldTaskData - condis []*pb.ConIProgress = make([]*pb.ConIProgress, 0) - condisMap map[int32]*pb.ConIProgress = make(map[int32]*pb.ConIProgress) - err error - ok bool - ) - progress = make([]*pb.DBWTaskItem, 0) - if len(wtask.Accepts) == 0 { - return - } +// func (this *WTask) pushtaskprogress(session comm.IUserSession, wtask *pb.DBWTask, ispush bool) (progress []*pb.DBWTaskItem, errdata *pb.ErrorData) { +// var ( +// checkcondlsMap map[int32]struct{} = make(map[int32]struct{}) +// checkcondls []int32 = make([]int32, 0) +// conf *cfg.GameWorldTaskData +// condis []*pb.ConIProgress = make([]*pb.ConIProgress, 0) +// condisMap map[int32]*pb.ConIProgress = make(map[int32]*pb.ConIProgress) +// err error +// ok bool +// ) +// progress = make([]*pb.DBWTaskItem, 0) +// if len(wtask.Accepts) == 0 { +// return +// } - for _, v := range wtask.Accepts { - if conf, err = this.configure.gettaskconfconfigure(v); err != nil { - this.Errorln(err) - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_ConfigNoFound, - Title: pb.ErrorCode_ConfigNoFound.ToString(), - Message: err.Error(), - } - return - } - for _, v := range conf.Completetask { - if _, ok = checkcondlsMap[v]; !ok { - checkcondlsMap[v] = struct{}{} - checkcondls = append(checkcondls, v) - } - } - } - if len(checkcondls) > 0 { - if condis, err = this.ModuleBuried.CheckCondition(session, checkcondls...); err != nil { - this.Error("校验玩家子任务进度数据 失败", log.Field{Key: "err", Value: err.Error()}) - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_ExternalModule, - Title: pb.ErrorCode_ExternalModule.ToString(), - Message: fmt.Sprintf("ModuleBuried.CheckCondition Error:%s", err.Error()), - } - return - } - for _, v := range condis { - condisMap[v.Conid] = v - } - } +// for _, v := range wtask.Accepts { +// if conf, err = this.configure.gettaskconfconfigure(v); err != nil { +// this.Errorln(err) +// errdata = &pb.ErrorData{ +// Code: pb.ErrorCode_ConfigNoFound, +// Title: pb.ErrorCode_ConfigNoFound.ToString(), +// Message: err.Error(), +// } +// return +// } +// for _, v := range conf.Completetask { +// if _, ok = checkcondlsMap[v]; !ok { +// checkcondlsMap[v] = struct{}{} +// checkcondls = append(checkcondls, v) +// } +// } +// } +// if len(checkcondls) > 0 { +// if condis, err = this.ModuleBuried.CheckCondition(session, checkcondls...); err != nil { +// this.Error("校验玩家子任务进度数据 失败", log.Field{Key: "err", Value: err.Error()}) +// errdata = &pb.ErrorData{ +// Code: pb.ErrorCode_ExternalModule, +// Title: pb.ErrorCode_ExternalModule.ToString(), +// Message: fmt.Sprintf("ModuleBuried.CheckCondition Error:%s", err.Error()), +// } +// return +// } +// for _, v := range condis { +// condisMap[v.Conid] = v +// } +// } - for _, v := range wtask.Accepts { - if conf, err = this.configure.gettaskconfconfigure(v); err != nil { - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_ConfigNoFound, - Title: pb.ErrorCode_ConfigNoFound.ToString(), - Message: err.Error(), - } - return - } - task := &pb.DBWTaskItem{ - Tid: v, - Conlds: make([]*pb.ConIProgress, len(conf.Completetask)), - } - ok = true - for i, v := range conf.Completetask { - task.Conlds[i] = condisMap[v] - } - progress = append(progress, task) - } - if ispush { - session.SendMsg(string(this.GetType()), "acceptchange", &pb.WTaskAcceptChangePush{Accepts: progress}) - } - return -} +// for _, v := range wtask.Accepts { +// if conf, err = this.configure.gettaskconfconfigure(v); err != nil { +// errdata = &pb.ErrorData{ +// Code: pb.ErrorCode_ConfigNoFound, +// Title: pb.ErrorCode_ConfigNoFound.ToString(), +// Message: err.Error(), +// } +// return +// } +// task := &pb.DBWTaskItem{ +// Tid: v, +// Conlds: make([]*pb.ConIProgress, len(conf.Completetask)), +// } +// ok = true +// for i, v := range conf.Completetask { +// task.Conlds[i] = condisMap[v] +// } +// progress = append(progress, task) +// } +// if ispush { +// session.SendMsg(string(this.GetType()), "acceptchange", &pb.WTaskAcceptChangePush{Accepts: progress}) +// } +// return +// } // 完成任务 func (this *WTask) fishtask(session comm.IUserSession, wtask *pb.DBWTask, ispush bool) (progress []*pb.DBWTaskItem, errdata *pb.ErrorData) { @@ -772,7 +772,7 @@ func (this *WTask) inquireActivations(session comm.IUserSession, wtask *pb.DBWTa if errdata = this.ModuleBuried.ActiveCondition(session, condiIds...); err != nil { return } - progress, errdata = this.pushtaskprogress(session, wtask, ispush) + // progress, errdata = this.pushtaskprogress(session, wtask, ispush) } return } diff --git a/pb/wtask_msg.pb.go b/pb/wtask_msg.pb.go index edea93f87..6cf21c0e1 100644 --- a/pb/wtask_msg.pb.go +++ b/pb/wtask_msg.pb.go @@ -65,8 +65,7 @@ type WTaskInfoResp struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Info *DBWTask `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //可接取任务列表 - Accepts []*DBWTaskItem `protobuf:"bytes,2,rep,name=accepts,proto3" json:"accepts"` //已接取任务列表 + Info *DBWTask `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //可接取任务列表 } func (x *WTaskInfoResp) Reset() { @@ -108,13 +107,6 @@ func (x *WTaskInfoResp) GetInfo() *DBWTask { return nil } -func (x *WTaskInfoResp) GetAccepts() []*DBWTaskItem { - if x != nil { - return x.Accepts - } - return nil -} - // 接取任务 请求 type WTaskAcceptReq struct { state protoimpl.MessageState @@ -169,9 +161,8 @@ type WTaskAcceptResp struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"` - Activations []int32 `protobuf:"varint,2,rep,packed,name=activations,proto3" json:"activations"` //可接取任务列表 - Accepts []*DBWTaskItem `protobuf:"bytes,3,rep,name=accepts,proto3" json:"accepts"` //已接取任务列表 + Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"` + Activations []int32 `protobuf:"varint,2,rep,packed,name=activations,proto3" json:"activations"` //可接取任务列表 } func (x *WTaskAcceptResp) Reset() { @@ -220,13 +211,6 @@ func (x *WTaskAcceptResp) GetActivations() []int32 { return nil } -func (x *WTaskAcceptResp) GetAccepts() []*DBWTaskItem { - if x != nil { - return x.Accepts - } - return nil -} - //完成子任务条件 type WTaskCompleteCondiReq struct { state protoimpl.MessageState @@ -619,54 +603,6 @@ func (x *WTaskActivationsChangePush) GetActivations() []int32 { return nil } -//已接取任务 进度变化推送 -type WTaskAcceptChangePush struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Accepts []*DBWTaskItem `protobuf:"bytes,1,rep,name=accepts,proto3" json:"accepts"` //已接取任务列表 -} - -func (x *WTaskAcceptChangePush) Reset() { - *x = WTaskAcceptChangePush{} - if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *WTaskAcceptChangePush) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*WTaskAcceptChangePush) ProtoMessage() {} - -func (x *WTaskAcceptChangePush) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[11] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use WTaskAcceptChangePush.ProtoReflect.Descriptor instead. -func (*WTaskAcceptChangePush) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{11} -} - -func (x *WTaskAcceptChangePush) GetAccepts() []*DBWTaskItem { - if x != nil { - return x.Accepts - } - return nil -} - //战斗 请求 type WTaskBattleStartReq struct { state protoimpl.MessageState @@ -680,7 +616,7 @@ type WTaskBattleStartReq struct { func (x *WTaskBattleStartReq) Reset() { *x = WTaskBattleStartReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[12] + mi := &file_wtask_wtask_msg_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -693,7 +629,7 @@ func (x *WTaskBattleStartReq) String() string { func (*WTaskBattleStartReq) ProtoMessage() {} func (x *WTaskBattleStartReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[12] + mi := &file_wtask_wtask_msg_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -706,7 +642,7 @@ func (x *WTaskBattleStartReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBattleStartReq.ProtoReflect.Descriptor instead. func (*WTaskBattleStartReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{12} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{11} } func (x *WTaskBattleStartReq) GetBattleConfId() int32 { @@ -736,7 +672,7 @@ type WTaskBattleStartResp struct { func (x *WTaskBattleStartResp) Reset() { *x = WTaskBattleStartResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[13] + mi := &file_wtask_wtask_msg_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -749,7 +685,7 @@ func (x *WTaskBattleStartResp) String() string { func (*WTaskBattleStartResp) ProtoMessage() {} func (x *WTaskBattleStartResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[13] + mi := &file_wtask_wtask_msg_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -762,7 +698,7 @@ func (x *WTaskBattleStartResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBattleStartResp.ProtoReflect.Descriptor instead. func (*WTaskBattleStartResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{13} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{12} } func (x *WTaskBattleStartResp) GetBattleConfId() int32 { @@ -792,7 +728,7 @@ type WTaskBattleFinishReq struct { func (x *WTaskBattleFinishReq) Reset() { *x = WTaskBattleFinishReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[14] + mi := &file_wtask_wtask_msg_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -805,7 +741,7 @@ func (x *WTaskBattleFinishReq) String() string { func (*WTaskBattleFinishReq) ProtoMessage() {} func (x *WTaskBattleFinishReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[14] + mi := &file_wtask_wtask_msg_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -818,7 +754,7 @@ func (x *WTaskBattleFinishReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBattleFinishReq.ProtoReflect.Descriptor instead. func (*WTaskBattleFinishReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{14} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{13} } func (x *WTaskBattleFinishReq) GetBattleConfId() int32 { @@ -849,7 +785,7 @@ type WTaskBattleFinishResp struct { func (x *WTaskBattleFinishResp) Reset() { *x = WTaskBattleFinishResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[15] + mi := &file_wtask_wtask_msg_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -862,7 +798,7 @@ func (x *WTaskBattleFinishResp) String() string { func (*WTaskBattleFinishResp) ProtoMessage() {} func (x *WTaskBattleFinishResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[15] + mi := &file_wtask_wtask_msg_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -875,7 +811,7 @@ func (x *WTaskBattleFinishResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBattleFinishResp.ProtoReflect.Descriptor instead. func (*WTaskBattleFinishResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{15} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{14} } func (x *WTaskBattleFinishResp) GetBattleConfId() int32 { @@ -911,7 +847,7 @@ type WTaskBoxChangePush struct { func (x *WTaskBoxChangePush) Reset() { *x = WTaskBoxChangePush{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[16] + mi := &file_wtask_wtask_msg_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -924,7 +860,7 @@ func (x *WTaskBoxChangePush) String() string { func (*WTaskBoxChangePush) ProtoMessage() {} func (x *WTaskBoxChangePush) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[16] + mi := &file_wtask_wtask_msg_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -937,7 +873,7 @@ func (x *WTaskBoxChangePush) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBoxChangePush.ProtoReflect.Descriptor instead. func (*WTaskBoxChangePush) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{16} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{15} } func (x *WTaskBoxChangePush) GetBoxs() map[int32]*DBWTaskBox { @@ -960,7 +896,7 @@ type WTaskBoxReceiveReq struct { func (x *WTaskBoxReceiveReq) Reset() { *x = WTaskBoxReceiveReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[17] + mi := &file_wtask_wtask_msg_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -973,7 +909,7 @@ func (x *WTaskBoxReceiveReq) String() string { func (*WTaskBoxReceiveReq) ProtoMessage() {} func (x *WTaskBoxReceiveReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[17] + mi := &file_wtask_wtask_msg_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -986,7 +922,7 @@ func (x *WTaskBoxReceiveReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBoxReceiveReq.ProtoReflect.Descriptor instead. func (*WTaskBoxReceiveReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{17} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{16} } func (x *WTaskBoxReceiveReq) GetTid() int32 { @@ -1017,7 +953,7 @@ type WTaskBoxReceiveResp struct { func (x *WTaskBoxReceiveResp) Reset() { *x = WTaskBoxReceiveResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[18] + mi := &file_wtask_wtask_msg_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1030,7 +966,7 @@ func (x *WTaskBoxReceiveResp) String() string { func (*WTaskBoxReceiveResp) ProtoMessage() {} func (x *WTaskBoxReceiveResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[18] + mi := &file_wtask_wtask_msg_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1043,7 +979,7 @@ func (x *WTaskBoxReceiveResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBoxReceiveResp.ProtoReflect.Descriptor instead. func (*WTaskBoxReceiveResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{18} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{17} } func (x *WTaskBoxReceiveResp) GetTid() int32 { @@ -1079,7 +1015,7 @@ type WTaskExchangeReq struct { func (x *WTaskExchangeReq) Reset() { *x = WTaskExchangeReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[19] + mi := &file_wtask_wtask_msg_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1092,7 +1028,7 @@ func (x *WTaskExchangeReq) String() string { func (*WTaskExchangeReq) ProtoMessage() {} func (x *WTaskExchangeReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[19] + mi := &file_wtask_wtask_msg_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1105,7 +1041,7 @@ func (x *WTaskExchangeReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskExchangeReq.ProtoReflect.Descriptor instead. func (*WTaskExchangeReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{19} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{18} } func (x *WTaskExchangeReq) GetEid() []int32 { @@ -1128,7 +1064,7 @@ type WTaskExchangeResp struct { func (x *WTaskExchangeResp) Reset() { *x = WTaskExchangeResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[20] + mi := &file_wtask_wtask_msg_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1141,7 +1077,7 @@ func (x *WTaskExchangeResp) String() string { func (*WTaskExchangeResp) ProtoMessage() {} func (x *WTaskExchangeResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[20] + mi := &file_wtask_wtask_msg_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1154,7 +1090,7 @@ func (x *WTaskExchangeResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskExchangeResp.ProtoReflect.Descriptor instead. func (*WTaskExchangeResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{20} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{19} } func (x *WTaskExchangeResp) GetEid() []int32 { @@ -1183,7 +1119,7 @@ type WTaskEventTargetReq struct { func (x *WTaskEventTargetReq) Reset() { *x = WTaskEventTargetReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[21] + mi := &file_wtask_wtask_msg_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1196,7 +1132,7 @@ func (x *WTaskEventTargetReq) String() string { func (*WTaskEventTargetReq) ProtoMessage() {} func (x *WTaskEventTargetReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[21] + mi := &file_wtask_wtask_msg_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1209,7 +1145,7 @@ func (x *WTaskEventTargetReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskEventTargetReq.ProtoReflect.Descriptor instead. func (*WTaskEventTargetReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{21} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{20} } func (x *WTaskEventTargetReq) GetGroup() int32 { @@ -1232,7 +1168,7 @@ type WTaskEventTargetResp struct { func (x *WTaskEventTargetResp) Reset() { *x = WTaskEventTargetResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[22] + mi := &file_wtask_wtask_msg_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1245,7 +1181,7 @@ func (x *WTaskEventTargetResp) String() string { func (*WTaskEventTargetResp) ProtoMessage() {} func (x *WTaskEventTargetResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[22] + mi := &file_wtask_wtask_msg_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1258,7 +1194,7 @@ func (x *WTaskEventTargetResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskEventTargetResp.ProtoReflect.Descriptor instead. func (*WTaskEventTargetResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{22} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{21} } func (x *WTaskEventTargetResp) GetGroup() int32 { @@ -1289,7 +1225,7 @@ type WTaskBattleEventReq struct { func (x *WTaskBattleEventReq) Reset() { *x = WTaskBattleEventReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[23] + mi := &file_wtask_wtask_msg_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1302,7 +1238,7 @@ func (x *WTaskBattleEventReq) String() string { func (*WTaskBattleEventReq) ProtoMessage() {} func (x *WTaskBattleEventReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[23] + mi := &file_wtask_wtask_msg_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1315,7 +1251,7 @@ func (x *WTaskBattleEventReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBattleEventReq.ProtoReflect.Descriptor instead. func (*WTaskBattleEventReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{23} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{22} } func (x *WTaskBattleEventReq) GetGroup() int32 { @@ -1353,7 +1289,7 @@ type WTaskBattleEventResp struct { func (x *WTaskBattleEventResp) Reset() { *x = WTaskBattleEventResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[24] + mi := &file_wtask_wtask_msg_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1366,7 +1302,7 @@ func (x *WTaskBattleEventResp) String() string { func (*WTaskBattleEventResp) ProtoMessage() {} func (x *WTaskBattleEventResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[24] + mi := &file_wtask_wtask_msg_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1379,7 +1315,7 @@ func (x *WTaskBattleEventResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskBattleEventResp.ProtoReflect.Descriptor instead. func (*WTaskBattleEventResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{24} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{23} } func (x *WTaskBattleEventResp) GetGroup() int32 { @@ -1417,7 +1353,7 @@ type WTaskEventCompleteReq struct { func (x *WTaskEventCompleteReq) Reset() { *x = WTaskEventCompleteReq{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[25] + mi := &file_wtask_wtask_msg_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1430,7 +1366,7 @@ func (x *WTaskEventCompleteReq) String() string { func (*WTaskEventCompleteReq) ProtoMessage() {} func (x *WTaskEventCompleteReq) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[25] + mi := &file_wtask_wtask_msg_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1443,7 +1379,7 @@ func (x *WTaskEventCompleteReq) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskEventCompleteReq.ProtoReflect.Descriptor instead. func (*WTaskEventCompleteReq) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{25} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{24} } func (x *WTaskEventCompleteReq) GetGroup() int32 { @@ -1482,7 +1418,7 @@ type WTaskEventCompleteResp struct { func (x *WTaskEventCompleteResp) Reset() { *x = WTaskEventCompleteResp{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[26] + mi := &file_wtask_wtask_msg_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1495,7 +1431,7 @@ func (x *WTaskEventCompleteResp) String() string { func (*WTaskEventCompleteResp) ProtoMessage() {} func (x *WTaskEventCompleteResp) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[26] + mi := &file_wtask_wtask_msg_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1508,7 +1444,7 @@ func (x *WTaskEventCompleteResp) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskEventCompleteResp.ProtoReflect.Descriptor instead. func (*WTaskEventCompleteResp) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{26} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{25} } func (x *WTaskEventCompleteResp) GetGroup() int32 { @@ -1552,7 +1488,7 @@ type WTaskDailytaskChangePush struct { func (x *WTaskDailytaskChangePush) Reset() { *x = WTaskDailytaskChangePush{} if protoimpl.UnsafeEnabled { - mi := &file_wtask_wtask_msg_proto_msgTypes[27] + mi := &file_wtask_wtask_msg_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1565,7 +1501,7 @@ func (x *WTaskDailytaskChangePush) String() string { func (*WTaskDailytaskChangePush) ProtoMessage() {} func (x *WTaskDailytaskChangePush) ProtoReflect() protoreflect.Message { - mi := &file_wtask_wtask_msg_proto_msgTypes[27] + mi := &file_wtask_wtask_msg_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1578,7 +1514,7 @@ func (x *WTaskDailytaskChangePush) ProtoReflect() protoreflect.Message { // Deprecated: Use WTaskDailytaskChangePush.ProtoReflect.Descriptor instead. func (*WTaskDailytaskChangePush) Descriptor() ([]byte, []int) { - return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{27} + return file_wtask_wtask_msg_proto_rawDescGZIP(), []int{26} } func (x *WTaskDailytaskChangePush) GetDailytaskgroup() int32 { @@ -1604,21 +1540,16 @@ var file_wtask_wtask_msg_proto_rawDesc = []byte{ 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x0e, 0x0a, 0x0c, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, - 0x65, 0x71, 0x22, 0x55, 0x0a, 0x0d, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x22, 0x2d, 0x0a, 0x0d, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1c, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, - 0x52, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x22, 0x0a, 0x0e, 0x57, 0x54, 0x61, - 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x74, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x22, 0x6d, 0x0a, - 0x0f, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, - 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, - 0x74, 0x65, 0x6d, 0x52, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x49, 0x0a, 0x15, + 0x6f, 0x22, 0x22, 0x0a, 0x0e, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, + 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x03, 0x74, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x0f, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x41, 0x63, + 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, + 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, + 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x49, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x18, 0x0a, @@ -1658,117 +1589,113 @@ var file_wtask_wtask_msg_proto_rawDesc = []byte{ 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, 0x61, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x3f, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, - 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, - 0x12, 0x26, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x74, 0x65, 0x6d, 0x52, - 0x07, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x73, 0x22, 0x63, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, - 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, - 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, - 0x66, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x5b, 0x0a, - 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, - 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, - 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, - 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, - 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x61, 0x0a, 0x14, 0x57, 0x54, - 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, - 0x65, 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, - 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, - 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xd7, 0x01, - 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, - 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, - 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, - 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x0a, 0x07, - 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, - 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, - 0x68, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, - 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, - 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8d, 0x01, 0x0a, 0x12, 0x57, 0x54, 0x61, 0x73, - 0x6b, 0x42, 0x6f, 0x78, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x31, - 0x0a, 0x04, 0x62, 0x6f, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x57, - 0x54, 0x61, 0x73, 0x6b, 0x42, 0x6f, 0x78, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, - 0x68, 0x2e, 0x42, 0x6f, 0x78, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x78, - 0x73, 0x1a, 0x44, 0x0a, 0x09, 0x42, 0x6f, 0x78, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, - 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x0b, 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x6f, 0x78, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3c, 0x0a, 0x12, 0x57, 0x54, 0x61, 0x73, 0x6b, - 0x42, 0x6f, 0x78, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, - 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, - 0x14, 0x0a, 0x05, 0x62, 0x6f, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x62, 0x6f, 0x78, 0x69, 0x64, 0x22, 0x5e, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x6f, - 0x78, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, - 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x62, 0x6f, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, - 0x6f, 0x78, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, - 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x24, 0x0a, 0x10, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, - 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x03, 0x65, 0x69, 0x64, 0x22, 0x46, 0x0a, 0x11, 0x57, - 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x10, 0x0a, 0x03, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x03, 0x65, - 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, - 0x61, 0x72, 0x64, 0x22, 0x2b, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x22, 0x42, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x61, - 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, - 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, - 0x76, 0x65, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, - 0x74, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, - 0x65, 0x22, 0x63, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, - 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, - 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x6a, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, - 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, - 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x06, 0x72, - 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, - 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, - 0x72, 0x74, 0x22, 0xe1, 0x01, 0x0a, 0x16, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, - 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, - 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, - 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, - 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3e, 0x0a, 0x07, 0x68, 0x65, - 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x57, 0x54, - 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, + 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x63, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, + 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x52, 0x65, 0x71, 0x12, 0x22, + 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, + 0x49, 0x64, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x22, 0x5b, 0x0a, 0x14, + 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, + 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x61, 0x0a, 0x14, 0x57, 0x54, 0x61, + 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, + 0x71, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, + 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xd7, 0x01, 0x0a, + 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, + 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x22, 0x0a, 0x0c, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x62, 0x61, + 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, + 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, + 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3d, 0x0a, 0x07, 0x68, + 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x57, + 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x64, 0x0a, 0x18, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, - 0x61, 0x69, 0x6c, 0x79, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, - 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x74, 0x61, 0x73, 0x6b, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x64, 0x61, 0x69, 0x6c, - 0x79, 0x74, 0x61, 0x73, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, - 0x0b, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x5a, 0x04, - 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x8d, 0x01, 0x0a, 0x12, 0x57, 0x54, 0x61, 0x73, 0x6b, + 0x42, 0x6f, 0x78, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x31, 0x0a, + 0x04, 0x62, 0x6f, 0x78, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x57, 0x54, + 0x61, 0x73, 0x6b, 0x42, 0x6f, 0x78, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, + 0x2e, 0x42, 0x6f, 0x78, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x78, 0x73, + 0x1a, 0x44, 0x0a, 0x09, 0x42, 0x6f, 0x78, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, + 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, + 0x2e, 0x44, 0x42, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x6f, 0x78, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3c, 0x0a, 0x12, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, + 0x6f, 0x78, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, + 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x62, 0x6f, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, + 0x6f, 0x78, 0x69, 0x64, 0x22, 0x5e, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x6f, 0x78, + 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x74, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x14, 0x0a, + 0x05, 0x62, 0x6f, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x6f, + 0x78, 0x69, 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, + 0x77, 0x61, 0x72, 0x64, 0x22, 0x24, 0x0a, 0x10, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x78, 0x63, + 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x03, 0x65, 0x69, 0x64, 0x22, 0x46, 0x0a, 0x11, 0x57, 0x54, + 0x61, 0x73, 0x6b, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x10, 0x0a, 0x03, 0x65, 0x69, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x03, 0x65, 0x69, + 0x64, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, + 0x72, 0x64, 0x22, 0x2b, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x22, + 0x42, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, + 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, 0x76, + 0x65, 0x6e, 0x74, 0x22, 0x6b, 0x0a, 0x13, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, + 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, + 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, + 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, + 0x22, 0x63, 0x0a, 0x14, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x6a, 0x0a, 0x15, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, + 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, + 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, + 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x22, 0xe1, 0x01, 0x0a, 0x16, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, + 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, + 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, + 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, + 0x6e, 0x6f, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x3e, 0x0a, 0x07, 0x68, 0x65, 0x72, + 0x6f, 0x65, 0x78, 0x70, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x57, 0x54, 0x61, + 0x73, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x2e, 0x48, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x65, 0x78, 0x70, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x72, + 0x6f, 0x65, 0x78, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x64, 0x0a, 0x18, 0x57, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x61, + 0x69, 0x6c, 0x79, 0x74, 0x61, 0x73, 0x6b, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, + 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x64, 0x61, 0x69, 0x6c, 0x79, 0x74, 0x61, 0x73, 0x6b, 0x67, 0x72, + 0x6f, 0x75, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x64, 0x61, 0x69, 0x6c, 0x79, + 0x74, 0x61, 0x73, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0b, + 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, + 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1783,7 +1710,7 @@ func file_wtask_wtask_msg_proto_rawDescGZIP() []byte { return file_wtask_wtask_msg_proto_rawDescData } -var file_wtask_wtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 32) +var file_wtask_wtask_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 31) var file_wtask_wtask_msg_proto_goTypes = []interface{}{ (*WTaskInfoReq)(nil), // 0: WTaskInfoReq (*WTaskInfoResp)(nil), // 1: WTaskInfoResp @@ -1796,63 +1723,59 @@ var file_wtask_wtask_msg_proto_goTypes = []interface{}{ (*WTaskChapterRewardReq)(nil), // 8: WTaskChapterRewardReq (*WTaskChapterRewardResp)(nil), // 9: WTaskChapterRewardResp (*WTaskActivationsChangePush)(nil), // 10: WTaskActivationsChangePush - (*WTaskAcceptChangePush)(nil), // 11: WTaskAcceptChangePush - (*WTaskBattleStartReq)(nil), // 12: WTaskBattleStartReq - (*WTaskBattleStartResp)(nil), // 13: WTaskBattleStartResp - (*WTaskBattleFinishReq)(nil), // 14: WTaskBattleFinishReq - (*WTaskBattleFinishResp)(nil), // 15: WTaskBattleFinishResp - (*WTaskBoxChangePush)(nil), // 16: WTaskBoxChangePush - (*WTaskBoxReceiveReq)(nil), // 17: WTaskBoxReceiveReq - (*WTaskBoxReceiveResp)(nil), // 18: WTaskBoxReceiveResp - (*WTaskExchangeReq)(nil), // 19: WTaskExchangeReq - (*WTaskExchangeResp)(nil), // 20: WTaskExchangeResp - (*WTaskEventTargetReq)(nil), // 21: WTaskEventTargetReq - (*WTaskEventTargetResp)(nil), // 22: WTaskEventTargetResp - (*WTaskBattleEventReq)(nil), // 23: WTaskBattleEventReq - (*WTaskBattleEventResp)(nil), // 24: WTaskBattleEventResp - (*WTaskEventCompleteReq)(nil), // 25: WTaskEventCompleteReq - (*WTaskEventCompleteResp)(nil), // 26: WTaskEventCompleteResp - (*WTaskDailytaskChangePush)(nil), // 27: WTaskDailytaskChangePush - nil, // 28: WTaskFinishResp.GroupsEntry - nil, // 29: WTaskBattleFinishResp.HeroexpEntry - nil, // 30: WTaskBoxChangePush.BoxsEntry - nil, // 31: WTaskEventCompleteResp.HeroexpEntry - (*DBWTask)(nil), // 32: DBWTask - (*DBWTaskItem)(nil), // 33: DBWTaskItem - (*UserAtno)(nil), // 34: UserAtno - (*BattleFormation)(nil), // 35: BattleFormation - (*BattleInfo)(nil), // 36: BattleInfo - (*BattleReport)(nil), // 37: BattleReport - (*DBWTaskBox)(nil), // 38: DBWTaskBox + (*WTaskBattleStartReq)(nil), // 11: WTaskBattleStartReq + (*WTaskBattleStartResp)(nil), // 12: WTaskBattleStartResp + (*WTaskBattleFinishReq)(nil), // 13: WTaskBattleFinishReq + (*WTaskBattleFinishResp)(nil), // 14: WTaskBattleFinishResp + (*WTaskBoxChangePush)(nil), // 15: WTaskBoxChangePush + (*WTaskBoxReceiveReq)(nil), // 16: WTaskBoxReceiveReq + (*WTaskBoxReceiveResp)(nil), // 17: WTaskBoxReceiveResp + (*WTaskExchangeReq)(nil), // 18: WTaskExchangeReq + (*WTaskExchangeResp)(nil), // 19: WTaskExchangeResp + (*WTaskEventTargetReq)(nil), // 20: WTaskEventTargetReq + (*WTaskEventTargetResp)(nil), // 21: WTaskEventTargetResp + (*WTaskBattleEventReq)(nil), // 22: WTaskBattleEventReq + (*WTaskBattleEventResp)(nil), // 23: WTaskBattleEventResp + (*WTaskEventCompleteReq)(nil), // 24: WTaskEventCompleteReq + (*WTaskEventCompleteResp)(nil), // 25: WTaskEventCompleteResp + (*WTaskDailytaskChangePush)(nil), // 26: WTaskDailytaskChangePush + nil, // 27: WTaskFinishResp.GroupsEntry + nil, // 28: WTaskBattleFinishResp.HeroexpEntry + nil, // 29: WTaskBoxChangePush.BoxsEntry + nil, // 30: WTaskEventCompleteResp.HeroexpEntry + (*DBWTask)(nil), // 31: DBWTask + (*DBWTaskItem)(nil), // 32: DBWTaskItem + (*UserAtno)(nil), // 33: UserAtno + (*BattleFormation)(nil), // 34: BattleFormation + (*BattleInfo)(nil), // 35: BattleInfo + (*BattleReport)(nil), // 36: BattleReport + (*DBWTaskBox)(nil), // 37: DBWTaskBox } var file_wtask_wtask_msg_proto_depIdxs = []int32{ - 32, // 0: WTaskInfoResp.info:type_name -> DBWTask - 33, // 1: WTaskInfoResp.accepts:type_name -> DBWTaskItem - 33, // 2: WTaskAcceptResp.accepts:type_name -> DBWTaskItem - 33, // 3: WTaskCompleteCondiResp.progress:type_name -> DBWTaskItem - 34, // 4: WTaskFinishResp.award:type_name -> UserAtno - 28, // 5: WTaskFinishResp.groups:type_name -> WTaskFinishResp.GroupsEntry - 34, // 6: WTaskChapterRewardResp.award:type_name -> UserAtno - 33, // 7: WTaskAcceptChangePush.accepts:type_name -> DBWTaskItem - 35, // 8: WTaskBattleStartReq.battle:type_name -> BattleFormation - 36, // 9: WTaskBattleStartResp.info:type_name -> BattleInfo - 37, // 10: WTaskBattleFinishReq.report:type_name -> BattleReport - 34, // 11: WTaskBattleFinishResp.award:type_name -> UserAtno - 29, // 12: WTaskBattleFinishResp.heroexp:type_name -> WTaskBattleFinishResp.HeroexpEntry - 30, // 13: WTaskBoxChangePush.boxs:type_name -> WTaskBoxChangePush.BoxsEntry - 34, // 14: WTaskBoxReceiveResp.award:type_name -> UserAtno - 34, // 15: WTaskExchangeResp.award:type_name -> UserAtno - 35, // 16: WTaskBattleEventReq.battle:type_name -> BattleFormation - 36, // 17: WTaskBattleEventResp.info:type_name -> BattleInfo - 37, // 18: WTaskEventCompleteReq.report:type_name -> BattleReport - 34, // 19: WTaskEventCompleteResp.award:type_name -> UserAtno - 31, // 20: WTaskEventCompleteResp.heroexp:type_name -> WTaskEventCompleteResp.HeroexpEntry - 38, // 21: WTaskBoxChangePush.BoxsEntry.value:type_name -> DBWTaskBox - 22, // [22:22] is the sub-list for method output_type - 22, // [22:22] is the sub-list for method input_type - 22, // [22:22] is the sub-list for extension type_name - 22, // [22:22] is the sub-list for extension extendee - 0, // [0:22] is the sub-list for field type_name + 31, // 0: WTaskInfoResp.info:type_name -> DBWTask + 32, // 1: WTaskCompleteCondiResp.progress:type_name -> DBWTaskItem + 33, // 2: WTaskFinishResp.award:type_name -> UserAtno + 27, // 3: WTaskFinishResp.groups:type_name -> WTaskFinishResp.GroupsEntry + 33, // 4: WTaskChapterRewardResp.award:type_name -> UserAtno + 34, // 5: WTaskBattleStartReq.battle:type_name -> BattleFormation + 35, // 6: WTaskBattleStartResp.info:type_name -> BattleInfo + 36, // 7: WTaskBattleFinishReq.report:type_name -> BattleReport + 33, // 8: WTaskBattleFinishResp.award:type_name -> UserAtno + 28, // 9: WTaskBattleFinishResp.heroexp:type_name -> WTaskBattleFinishResp.HeroexpEntry + 29, // 10: WTaskBoxChangePush.boxs:type_name -> WTaskBoxChangePush.BoxsEntry + 33, // 11: WTaskBoxReceiveResp.award:type_name -> UserAtno + 33, // 12: WTaskExchangeResp.award:type_name -> UserAtno + 34, // 13: WTaskBattleEventReq.battle:type_name -> BattleFormation + 35, // 14: WTaskBattleEventResp.info:type_name -> BattleInfo + 36, // 15: WTaskEventCompleteReq.report:type_name -> BattleReport + 33, // 16: WTaskEventCompleteResp.award:type_name -> UserAtno + 30, // 17: WTaskEventCompleteResp.heroexp:type_name -> WTaskEventCompleteResp.HeroexpEntry + 37, // 18: WTaskBoxChangePush.BoxsEntry.value:type_name -> DBWTaskBox + 19, // [19:19] is the sub-list for method output_type + 19, // [19:19] is the sub-list for method input_type + 19, // [19:19] is the sub-list for extension type_name + 19, // [19:19] is the sub-list for extension extendee + 0, // [0:19] is the sub-list for field type_name } func init() { file_wtask_wtask_msg_proto_init() } @@ -1997,18 +1920,6 @@ func file_wtask_wtask_msg_proto_init() { } } file_wtask_wtask_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*WTaskAcceptChangePush); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_wtask_wtask_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBattleStartReq); i { case 0: return &v.state @@ -2020,7 +1931,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBattleStartResp); i { case 0: return &v.state @@ -2032,7 +1943,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBattleFinishReq); i { case 0: return &v.state @@ -2044,7 +1955,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBattleFinishResp); i { case 0: return &v.state @@ -2056,7 +1967,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBoxChangePush); i { case 0: return &v.state @@ -2068,7 +1979,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBoxReceiveReq); i { case 0: return &v.state @@ -2080,7 +1991,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBoxReceiveResp); i { case 0: return &v.state @@ -2092,7 +2003,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskExchangeReq); i { case 0: return &v.state @@ -2104,7 +2015,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskExchangeResp); i { case 0: return &v.state @@ -2116,7 +2027,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskEventTargetReq); i { case 0: return &v.state @@ -2128,7 +2039,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskEventTargetResp); i { case 0: return &v.state @@ -2140,7 +2051,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBattleEventReq); i { case 0: return &v.state @@ -2152,7 +2063,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskBattleEventResp); i { case 0: return &v.state @@ -2164,7 +2075,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskEventCompleteReq); i { case 0: return &v.state @@ -2176,7 +2087,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskEventCompleteResp); i { case 0: return &v.state @@ -2188,7 +2099,7 @@ func file_wtask_wtask_msg_proto_init() { return nil } } - file_wtask_wtask_msg_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + file_wtask_wtask_msg_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*WTaskDailytaskChangePush); i { case 0: return &v.state @@ -2207,7 +2118,7 @@ func file_wtask_wtask_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_wtask_wtask_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 32, + NumMessages: 31, NumExtensions: 0, NumServices: 0, },