diff --git a/modules/arena/api_buy.go b/modules/arena/api_buy.go index 80ede904e..743bc1c1b 100644 --- a/modules/arena/api_buy.go +++ b/modules/arena/api_buy.go @@ -100,6 +100,7 @@ func (this *apiComp) Buy(session comm.IUserSession, req *pb.ArenaBuyReq) (errdat go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { this.module.WriteUserLog(session.GetUserId(), comm.GMResAddType, "MoonfantasyBuyReq", []*cfg.Gameatn{{A: ticketitem.A, T: ticketitem.T, N: req.BuyNum}}) + this.module.WriteUserLog(session.GetUserId(), comm.GMResDelType, "MoonfantasyBuyReq", need) // 消耗资源 }) return } diff --git a/modules/arena/api_challenge.go b/modules/arena/api_challenge.go index e2cc2a916..9d1ae1687 100644 --- a/modules/arena/api_challenge.go +++ b/modules/arena/api_challenge.go @@ -54,6 +54,9 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.ArenaChallenge if errdata = this.module.ConsumeRes(session, []*cfg.Gameatn{this.module.ModuleTools.GetGlobalConf().ArenaTicketCos}, true); errdata != nil { return } + go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + this.module.WriteUserLog(session.GetUserId(), comm.GMResDelType, "ArenaChallengeReq", this.module.ModuleTools.GetGlobalConf().ArenaTicketCos) // 消耗资源 + }) if red.Attack != nil { for i, v := range req.Battle.Format { if red.Attack.Formt[i].Id != v { @@ -164,5 +167,6 @@ func (this *apiComp) Challenge(session comm.IUserSession, req *pb.ArenaChallenge Buleflist: record.Buleflist, Tasks: record.Tasks, }}) + return } diff --git a/modules/arena/api_plot.go b/modules/arena/api_plot.go index c3dcde375..188be1519 100644 --- a/modules/arena/api_plot.go +++ b/modules/arena/api_plot.go @@ -44,18 +44,10 @@ func (this *apiComp) Plot(session comm.IUserSession, req *pb.ArenaPlotReq) (errd if errdata = this.module.ConsumeRes(session, []*cfg.Gameatn{this.module.ModuleTools.GetGlobalConf().ArenaTicketCos}, true); errdata != nil { return } + go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + this.module.WriteUserLog(session.GetUserId(), comm.GMResDelType, "ArenaPlotReq", this.module.ModuleTools.GetGlobalConf().ArenaTicketCos) // 消耗资源 + }) - // if info.Npc[req.Pid] != nil { - // ndata := info.Npc[req.Pid] - // if !configure.Now().After(time.Unix(ndata.Cd, 0)) { //已经过了cd时间 - // errdata = &pb.ErrorData{ - // Code: pb.ErrorCode_ArenaTicketNpcInCd, - // Title: pb.ErrorCode_ArenaTicketNpcInCd.ToString(), - // } - // return - // } - // index = ndata.Index - // } if errdata, record = this.module.battle.CreatePveBattle(session, &pb.BattlePVEReq{ Rulesid: npc.BattleReadyID, Ptype: pb.PlayType_arena, diff --git a/modules/caravan/api_gotocity.go b/modules/caravan/api_gotocity.go index 1486b5b87..cc4b4bdf3 100644 --- a/modules/caravan/api_gotocity.go +++ b/modules/caravan/api_gotocity.go @@ -133,6 +133,7 @@ func (this *apiComp) GotoCity(session comm.IUserSession, req *pb.CaravanGotoCity go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { this.module.ModuleBuried.TriggerBuried(session, tasks...) + this.module.WriteUserLog(session.GetUserId(), comm.GMResDelType, "CaravanGotoCityReq", res) // 消耗资源 }) return } diff --git a/modules/caravan/module.go b/modules/caravan/module.go index a82df95f8..828434d7b 100644 --- a/modules/caravan/module.go +++ b/modules/caravan/module.go @@ -337,6 +337,9 @@ func (this *Caravan) CheckCaravanTask(session comm.IUserSession, data *pb.DBCara T: "merchantmoney", N: -list.Unreword[1], // 扣除虚拟币 }) + go this.AsynHandleSession(session.Clone(), func(session comm.IUserSession) { + this.WriteUserLog(session.GetUserId(), comm.GMResDelType, "CheckCaravanTask", resp.Reward) // 消耗资源 + }) } session.SendMsg(string(this.GetType()), "taskcomplete", resp) } diff --git a/modules/chat/api_send.go b/modules/chat/api_send.go index 401e279cc..72f227a2d 100644 --- a/modules/chat/api_send.go +++ b/modules/chat/api_send.go @@ -29,11 +29,28 @@ func (this *apiComp) Send(session comm.IUserSession, req *pb.ChatSendReq) (errda msg *pb.DBChat userexpand *pb.DBUserExpand max_chat int32 + user *pb.DBUser ) if errdata = this.SendCheck(session, req); errdata != nil { return } + // 禁言校验 + if user, err = this.module.ModuleUser.GetUser(session.GetUserId()); err != nil { + errdata = &pb.ErrorData{ + Code: pb.ErrorCode_UserNofound, + Title: pb.ErrorCode_UserNofound.ToString(), + Message: err.Error(), + } + return + } + if user.Prohibition > 0 { // 封号不能发言 + errdata = &pb.ErrorData{ + Code: pb.ErrorCode_UserAccountProhibition, + Title: pb.ErrorCode_UserAccountProhibition.ToString(), + } + return + } msg = &pb.DBChat{ Id: primitive.NewObjectID().Hex(), Channel: req.Channel, diff --git a/modules/entertainment/room.go b/modules/entertainment/room.go index 627fcb776..062136fdc 100644 --- a/modules/entertainment/room.go +++ b/modules/entertainment/room.go @@ -521,6 +521,7 @@ func (this *Room) ReceiveMessage(session comm.IUserSession, stype string, msg pr if this.curPower == this.player2.Userinfo.Uid { this.AiOperator() } + } else { if this.rd1 && this.rd2 { // 两个玩家都准备好了 那么就开始游戏 this.rd1 = false @@ -585,9 +586,8 @@ func (this *Room) GameOver() (errdata *pb.ErrorData) { if errdata, atno = this.module.DispenseAtno(this.szSession[winindex], res, true); errdata != nil { return } - go this.module.AsynHandleSession(this.szSession[winindex], func(session comm.IUserSession) { - this.module.WriteUserLog(session.GetUserId(), comm.GMResAddType, "xxlGame", atno) - }) + go this.module.WriteUserLog(winner.Userinfo.Uid, comm.GMResAddType, "xxlGameReward", atno) + this.szSession[winindex].Push() } } @@ -634,7 +634,6 @@ func (this *Room) GameOver() (errdata *pb.ErrorData) { // 修改房间状态 this.Status = 2 - this.module.Debugf("=====三消 gameover") this.module.SendMsgSyncToSession(string(this.module.GetType()), "gameover", &pb.EntertainGameOverPush{ User1: this.player1, User2: this.player2, @@ -728,3 +727,79 @@ func (this *Room) ModifyUserRoomInfoData() { } return } + +// 自动操作 +func (this *Room) AutoOperator(p *pb.PlayerData) { + var ( + curScore int32 + szMap []*pb.MapData + bAddPs bool + oid1 int32 + oid2 int32 + ) + + // 交换元素 + szMap, oid1, oid2, bAddPs = this.chessboard.AiSwapGirde() + p.Ps-- + if p.Ps <= 0 { // 权限给下一个人 + if p == this.player2 { + this.NexPower = this.player1.Userinfo.Uid + this.player1.Ps = MaxPs + } else { + this.NexPower = this.player2.Userinfo.Uid + this.player2.Ps = MaxPs + } + + this.round++ + } + if bAddPs { + p.Ps++ + if p.Ps > MaxPs { + p.Ps = MaxPs + } + } + // 校验下次是不是消除 + if !this.chessboard.CheckAndRefreshPlat() { + this.chessboard.RedsetPlatData() + szMap = append(szMap, &pb.MapData{ + Data: this.chessboard.GetPalatData(), + ChangeType: 1, + }) + } + for _, v := range szMap { + curScore += v.CurSocre + p.Score += v.CurSocre + v.CurSocre = p.Score + p.Energy += v.CurEnergy + v.CurEnergy = p.Energy + } + + // 广播消息 + if err := this.module.SendMsgSyncToSession(string(this.module.GetType()), "operatorrst", &pb.EntertainOperatorRstPush{ + Mpadata: szMap, + Power: this.NexPower, + Curpower: this.curPower, + Score: curScore, + Round: this.round, + User1: this.player1, + User2: this.player2, + Itype: 0, + Curid: oid1, + Targetid: oid2, + }, this.szSession...); err != nil { + this.module.Errorln(err) + } + + if this.round > this.MaxRound { // 游戏结束 + if this.player1.Score == this.player2.Score { + this.MaxRound += 1 // 增加一回合 + } else { + this.GameOver() + } + return + } + this.curPower = this.NexPower + if this.RoomType == 2 && this.curPower == this.player2.Userinfo.Uid { + this.AutoOperator(this.player2) + } +} diff --git a/modules/hero/api_awaken.go b/modules/hero/api_awaken.go index e353f34ac..02d3166ab 100644 --- a/modules/hero/api_awaken.go +++ b/modules/hero/api_awaken.go @@ -112,7 +112,6 @@ func (this *apiComp) Awaken(session comm.IUserSession, req *pb.HeroAwakenReq) (e tasks = append(tasks, comm.GetBuriedParam(comm.Rtype122, _hero.JuexingLv, _hero.Star)) cfg, err := this.module.configure.GetHeroConfig(_hero.HeroID) if err == nil { - // 校验共鸣满级 var _l int32 talent, err := this.module.modelTalent.GetHerotalent(session.GetUserId()) diff --git a/modules/hero/api_fusion.go b/modules/hero/api_fusion.go deleted file mode 100644 index cdf35020a..000000000 --- a/modules/hero/api_fusion.go +++ /dev/null @@ -1,99 +0,0 @@ -package hero - -// //参数校验 -// func (this *apiComp) FusionCheck(session comm.IUserSession, req *pb.HeroFusionReq) (errdata *pb.ErrorData) { -// if req.HeroId == "" { -// errdata = &pb.ErrorData{ -// Code: pb.ErrorCode_ReqParameterError, -// Title: pb.ErrorCode_ReqParameterError.ToString(), -// } -// } -// return -// } - -// func (this *apiComp) Fusion(session comm.IUserSession, req *pb.HeroFusionReq) (errdata *pb.ErrorData) { -// var ( -// totalCount int32 -// mapHero map[string]int32 -// _costMaphero map[string]*pb.DBHero -// ChangeList []*pb.DBHero // 变化的英雄数据 -// ) -// ChangeList = make([]*pb.DBHero, 0) -// _costMaphero = make(map[string]*pb.DBHero, 0) -// mapHero = make(map[string]int32) -// if errdata = this.FusionCheck(session, req); errdata != nil { -// return -// } -// conf, err := this.module.configure.GetHeroFucionConfig(req.HeroId) -// if err != nil { -// errdata = &pb.ErrorData{ -// Code: pb.ErrorCode_ConfigNoFound, // 配置没找到 -// Title: pb.ErrorCode_ConfigNoFound.ToString(), -// Message: err.Error(), -// } -// return -// } -// for _, v := range req.Heros { -// totalCount += v -// } -// if totalCount != int32(len(conf.Pointhero)) { // 校验数量 -// errdata = &pb.ErrorData{ -// Code: pb.ErrorCode_ReqParameterError, -// Title: pb.ErrorCode_ReqParameterError.ToString(), -// } -// return -// } -// for k, v := range req.Heros { -// // 校验英雄是否存在 -// _obj, c := this.module.GetHeroByObjID(session.GetUserId(), k) -// if c != nil { -// errdata = c -// return -// } -// mapHero[_obj.HeroID] += v -// _costMaphero[k] = _obj -// } -// for _, v := range conf.Pointhero { -// if _, ok := mapHero[v]; ok { -// mapHero[v] -= 1 -// } else { -// errdata = &pb.ErrorData{ -// Code: pb.ErrorCode_ReqParameterError, -// Title: pb.ErrorCode_ReqParameterError.ToString(), -// } -// return -// } -// } -// for _, v := range mapHero { -// if v != 0 { -// errdata = &pb.ErrorData{ -// Code: pb.ErrorCode_ReqParameterError, -// Title: pb.ErrorCode_ReqParameterError.ToString(), -// } -// return -// } -// } -// for k, _ := range req.Heros { -// //mapHero[_costMaphero[k].HeroID] -// if errdata = this.module.DelCard(session.GetUserId(), _costMaphero[k]); errdata != nil { -// return -// } -// ChangeList = append(ChangeList, _costMaphero[k]) -// } - -// // 获得新卡 -// res := &cfg.Gameatn{ -// A: "hero", -// T: conf.Hero, -// N: 1, -// } -// if errdata = this.module.DispenseRes(session, []*cfg.Gameatn{res}, false); errdata != nil { -// this.module.Errorf("err:%v,create hero:%s,uid,%ss", errdata, conf.Hero, session.GetUserId()) -// return -// } -// session.SendMsg(string(this.module.GetType()), HeroFusionResp, &pb.HeroFusionResp{Heroid: conf.Hero}) -// // 通过融合获得指定英雄 -// // this.module.ModuleRtask.SendToRtask(session, comm.Rtype139, utils.ToInt32(conf.Hero)) -// go this.module.ModuleBuried.TriggerBuried(session.Clone(), comm.GetBuriedParam(comm.Rtype139, utils.ToInt32(conf.Hero))) -// return -// } diff --git a/modules/hero/api_lock.go b/modules/hero/api_lock.go index 3d3ab94f7..5b435c571 100644 --- a/modules/hero/api_lock.go +++ b/modules/hero/api_lock.go @@ -13,9 +13,7 @@ func (this *apiComp) LockCheck(session comm.IUserSession, req *pb.HeroLockReq) ( Code: pb.ErrorCode_ReqParameterError, Title: pb.ErrorCode_ReqParameterError.ToString(), } - return } - return } @@ -31,12 +29,10 @@ func (this *apiComp) Lock(session comm.IUserSession, req *pb.HeroLockReq) (errda return } _hero.Block = !_hero.Block // 修改是否锁定状态 - _heroMap := map[string]interface{}{ - "block": _hero.Block, - } // 保存数据 - err := this.module.modelHero.ChangeList(session.GetUserId(), _hero.Id, _heroMap) - if err != nil { + if err := this.module.modelHero.ChangeList(session.GetUserId(), _hero.Id, map[string]interface{}{ + "block": _hero.Block, + }); err != nil { errdata = &pb.ErrorData{ Code: pb.ErrorCode_DBError, Title: pb.ErrorCode_DBError.ToString(), diff --git a/modules/user/module.go b/modules/user/module.go index 4946a2a03..23c0581e0 100644 --- a/modules/user/module.go +++ b/modules/user/module.go @@ -1393,17 +1393,16 @@ func (this *User) AddTitle(session comm.IUserSession, titles map[string]int32, b return } -func (this *User) Rpc_AccountBan(ctx context.Context, req *pb.RPCRTaskReq, reply *pb.UserDataListResp) error { +func (this *User) Rpc_AccountBan(ctx context.Context, req *pb.RPCAccountBan, reply *pb.UserDataListResp) error { var ( err error - // user *pb.User ) if _, err = this.GetUser(req.Uid); err != nil { return err } - if req.TaskType == 0 { // 封号 + if req.Key == 0 { // 封号 bBan := false - if req.Param[0] > 0 { + if req.Value > 0 { bBan = true } update := map[string]interface{}{ @@ -1413,9 +1412,9 @@ func (this *User) Rpc_AccountBan(ctx context.Context, req *pb.RPCRTaskReq, reply if err := this.modelUser.Change(req.Uid, update); err != nil { return err } - } else if req.TaskType == 1 { // 禁言 + } else if req.Key == 1 { // 禁言 update := map[string]interface{}{ - "prohibition": req.Param[0], + "prohibition": req.Value, } if err := this.modelUser.Change(req.Uid, update); err != nil { return err diff --git a/modules/web/api_account_ban.go b/modules/web/api_account_ban.go index a1a355f11..9f262966d 100644 --- a/modules/web/api_account_ban.go +++ b/modules/web/api_account_ban.go @@ -15,7 +15,7 @@ type AccountBanReq struct { iValue int32 // 类型对应的值 } -//创建邮件 +//禁封消息 func (this *Api_Comp) AccountBanNotify(c *engine.Context) { req := &AccountBanReq{} @@ -30,10 +30,10 @@ func (this *Api_Comp) AccountBanNotify(c *engine.Context) { c.JSON(http.StatusOK, &Respond{Code: errdata.Code, Message: errdata.Message, Data: data}) }() - rpcMsg := &pb.RPCRTaskReq{ - Uid: req.Uid, - TaskType: req.iType, - Param: []int32{req.iValue}, + rpcMsg := &pb.RPCAccountBan{ + Uid: req.Uid, + Key: req.iType, + Value: req.iValue, } if _, err = this.module.service.RpcGo( context.Background(), diff --git a/pb/comm.pb.go b/pb/comm.pb.go index 448096fc3..e49341135 100644 --- a/pb/comm.pb.go +++ b/pb/comm.pb.go @@ -2003,6 +2003,70 @@ func (x *RPCGeneralReqA4) GetParam4() string { return "" } +// 封禁RPC消息 +type RPCAccountBan struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` + Key int32 `protobuf:"varint,2,opt,name=key,proto3" json:"key"` + Value int32 `protobuf:"varint,3,opt,name=value,proto3" json:"value"` +} + +func (x *RPCAccountBan) Reset() { + *x = RPCAccountBan{} + if protoimpl.UnsafeEnabled { + mi := &file_comm_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RPCAccountBan) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RPCAccountBan) ProtoMessage() {} + +func (x *RPCAccountBan) ProtoReflect() protoreflect.Message { + mi := &file_comm_proto_msgTypes[30] + 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 RPCAccountBan.ProtoReflect.Descriptor instead. +func (*RPCAccountBan) Descriptor() ([]byte, []int) { + return file_comm_proto_rawDescGZIP(), []int{30} +} + +func (x *RPCAccountBan) GetUid() string { + if x != nil { + return x.Uid + } + return "" +} + +func (x *RPCAccountBan) GetKey() int32 { + if x != nil { + return x.Key + } + return 0 +} + +func (x *RPCAccountBan) GetValue() int32 { + if x != nil { + return x.Value + } + return 0 +} + // rpc 通用请求消息 1 type RPCGeneralReqB1 struct { state protoimpl.MessageState @@ -2016,7 +2080,7 @@ type RPCGeneralReqB1 struct { func (x *RPCGeneralReqB1) Reset() { *x = RPCGeneralReqB1{} if protoimpl.UnsafeEnabled { - mi := &file_comm_proto_msgTypes[30] + mi := &file_comm_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2029,7 +2093,7 @@ func (x *RPCGeneralReqB1) String() string { func (*RPCGeneralReqB1) ProtoMessage() {} func (x *RPCGeneralReqB1) ProtoReflect() protoreflect.Message { - mi := &file_comm_proto_msgTypes[30] + mi := &file_comm_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2042,7 +2106,7 @@ func (x *RPCGeneralReqB1) ProtoReflect() protoreflect.Message { // Deprecated: Use RPCGeneralReqB1.ProtoReflect.Descriptor instead. func (*RPCGeneralReqB1) Descriptor() ([]byte, []int) { - return file_comm_proto_rawDescGZIP(), []int{30} + return file_comm_proto_rawDescGZIP(), []int{31} } func (x *RPCGeneralReqB1) GetParam1() string { @@ -2073,7 +2137,7 @@ type RPCRTaskReq struct { func (x *RPCRTaskReq) Reset() { *x = RPCRTaskReq{} if protoimpl.UnsafeEnabled { - mi := &file_comm_proto_msgTypes[31] + mi := &file_comm_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2086,7 +2150,7 @@ func (x *RPCRTaskReq) String() string { func (*RPCRTaskReq) ProtoMessage() {} func (x *RPCRTaskReq) ProtoReflect() protoreflect.Message { - mi := &file_comm_proto_msgTypes[31] + mi := &file_comm_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2099,7 +2163,7 @@ func (x *RPCRTaskReq) ProtoReflect() protoreflect.Message { // Deprecated: Use RPCRTaskReq.ProtoReflect.Descriptor instead. func (*RPCRTaskReq) Descriptor() ([]byte, []int) { - return file_comm_proto_rawDescGZIP(), []int{31} + return file_comm_proto_rawDescGZIP(), []int{32} } func (x *RPCRTaskReq) GetUid() string { @@ -2147,7 +2211,7 @@ type ServiceDBInfo struct { func (x *ServiceDBInfo) Reset() { *x = ServiceDBInfo{} if protoimpl.UnsafeEnabled { - mi := &file_comm_proto_msgTypes[32] + mi := &file_comm_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2160,7 +2224,7 @@ func (x *ServiceDBInfo) String() string { func (*ServiceDBInfo) ProtoMessage() {} func (x *ServiceDBInfo) ProtoReflect() protoreflect.Message { - mi := &file_comm_proto_msgTypes[32] + mi := &file_comm_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2173,7 +2237,7 @@ func (x *ServiceDBInfo) ProtoReflect() protoreflect.Message { // Deprecated: Use ServiceDBInfo.ProtoReflect.Descriptor instead. func (*ServiceDBInfo) Descriptor() ([]byte, []int) { - return file_comm_proto_rawDescGZIP(), []int{32} + return file_comm_proto_rawDescGZIP(), []int{33} } func (x *ServiceDBInfo) GetServerid() string { @@ -2281,7 +2345,7 @@ type DBVector3 struct { func (x *DBVector3) Reset() { *x = DBVector3{} if protoimpl.UnsafeEnabled { - mi := &file_comm_proto_msgTypes[33] + mi := &file_comm_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2294,7 +2358,7 @@ func (x *DBVector3) String() string { func (*DBVector3) ProtoMessage() {} func (x *DBVector3) ProtoReflect() protoreflect.Message { - mi := &file_comm_proto_msgTypes[33] + mi := &file_comm_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2307,7 +2371,7 @@ func (x *DBVector3) ProtoReflect() protoreflect.Message { // Deprecated: Use DBVector3.ProtoReflect.Descriptor instead. func (*DBVector3) Descriptor() ([]byte, []int) { - return file_comm_proto_rawDescGZIP(), []int{33} + return file_comm_proto_rawDescGZIP(), []int{34} } func (x *DBVector3) GetX() float32 { @@ -2528,52 +2592,56 @@ var file_comm_proto_rawDesc = []byte{ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x33, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x34, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x34, 0x22, 0x41, 0x0a, 0x0f, - 0x52, 0x50, 0x43, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x42, 0x31, 0x12, - 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x22, - 0x51, 0x0a, 0x0b, 0x52, 0x50, 0x43, 0x52, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x10, - 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, - 0x12, 0x1a, 0x0a, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x08, 0x74, 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x72, - 0x61, 0x6d, 0x22, 0xa1, 0x03, 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x42, - 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x69, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x69, 0x64, - 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, - 0x63, 0x72, 0x6f, 0x73, 0x73, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, - 0x72, 0x6f, 0x73, 0x73, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, - 0x6e, 0x67, 0x6c, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, - 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, - 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x49, - 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, - 0x72, 0x65, 0x64, 0x69, 0x73, 0x49, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, - 0x0a, 0x09, 0x72, 0x65, 0x64, 0x69, 0x73, 0x41, 0x64, 0x64, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x72, 0x65, 0x64, 0x69, 0x73, 0x41, 0x64, 0x64, 0x72, 0x12, 0x24, 0x0a, 0x0d, - 0x72, 0x65, 0x64, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, - 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x64, 0x69, 0x73, 0x44, 0x62, 0x18, 0x0b, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x64, 0x69, 0x73, 0x44, 0x62, 0x12, 0x1e, 0x0a, 0x0a, - 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0a, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x0f, - 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, - 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x44, 0x61, - 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x22, 0x35, 0x0a, 0x09, 0x44, 0x42, 0x56, 0x65, 0x63, 0x74, - 0x6f, 0x72, 0x33, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, - 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x79, 0x12, - 0x0c, 0x0a, 0x01, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x7a, 0x2a, 0x43, 0x0a, - 0x12, 0x48, 0x65, 0x72, 0x6f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x54, - 0x79, 0x70, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x48, 0x70, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, - 0x74, 0x6b, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x65, 0x66, 0x10, 0x02, 0x12, 0x09, 0x0a, - 0x05, 0x53, 0x70, 0x65, 0x65, 0x64, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x72, 0x69, 0x74, - 0x10, 0x04, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x33, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x34, 0x22, 0x49, 0x0a, 0x0d, + 0x52, 0x50, 0x43, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6e, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, + 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, + 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x41, 0x0a, 0x0f, 0x52, 0x50, 0x43, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x6c, 0x52, 0x65, 0x71, 0x42, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, + 0x6d, 0x31, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x32, 0x22, 0x51, 0x0a, 0x0b, 0x52, 0x50, + 0x43, 0x52, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x74, + 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x74, + 0x61, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x22, 0xa1, 0x03, + 0x0a, 0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x42, 0x49, 0x6e, 0x66, 0x6f, 0x12, + 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6f, + 0x77, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, + 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x6f, 0x73, 0x73, + 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x6f, 0x73, 0x73, 0x49, + 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x73, + 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x74, 0x69, 0x6d, + 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x65, 0x64, 0x69, 0x73, 0x49, 0x73, 0x43, 0x6c, 0x75, 0x73, + 0x74, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 0x64, 0x69, 0x73, + 0x49, 0x73, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x64, + 0x69, 0x73, 0x41, 0x64, 0x64, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, + 0x64, 0x69, 0x73, 0x41, 0x64, 0x64, 0x72, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x64, 0x69, 0x73, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x72, 0x65, 0x64, 0x69, 0x73, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x18, 0x0a, + 0x07, 0x72, 0x65, 0x64, 0x69, 0x73, 0x44, 0x62, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, + 0x72, 0x65, 0x64, 0x69, 0x73, 0x44, 0x62, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x6f, 0x6e, 0x67, 0x6f, + 0x64, 0x62, 0x55, 0x72, 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x4d, 0x6f, 0x6e, + 0x67, 0x6f, 0x64, 0x62, 0x55, 0x72, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, + 0x64, 0x62, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x64, 0x62, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, + 0x65, 0x22, 0x35, 0x0a, 0x09, 0x44, 0x42, 0x56, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x33, 0x12, 0x0c, + 0x0a, 0x01, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, + 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x79, 0x12, 0x0c, 0x0a, 0x01, 0x7a, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x01, 0x7a, 0x2a, 0x43, 0x0a, 0x12, 0x48, 0x65, 0x72, 0x6f, + 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x06, + 0x0a, 0x02, 0x48, 0x70, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x74, 0x6b, 0x10, 0x01, 0x12, + 0x07, 0x0a, 0x03, 0x44, 0x65, 0x66, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x70, 0x65, 0x65, + 0x64, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x72, 0x69, 0x74, 0x10, 0x04, 0x42, 0x06, 0x5a, + 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -2589,7 +2657,7 @@ func file_comm_proto_rawDescGZIP() []byte { } var file_comm_proto_enumTypes = make([]protoimpl.EnumInfo, 1) -var file_comm_proto_msgTypes = make([]protoimpl.MessageInfo, 34) +var file_comm_proto_msgTypes = make([]protoimpl.MessageInfo, 35) var file_comm_proto_goTypes = []interface{}{ (HeroAttributesType)(0), // 0: HeroAttributesType (*ErrorData)(nil), // 1: ErrorData @@ -2622,25 +2690,26 @@ var file_comm_proto_goTypes = []interface{}{ (*RPCGeneralReqA2)(nil), // 28: RPCGeneralReqA2 (*RPCGeneralReqA3)(nil), // 29: RPCGeneralReqA3 (*RPCGeneralReqA4)(nil), // 30: RPCGeneralReqA4 - (*RPCGeneralReqB1)(nil), // 31: RPCGeneralReqB1 - (*RPCRTaskReq)(nil), // 32: RPCRTaskReq - (*ServiceDBInfo)(nil), // 33: ServiceDBInfo - (*DBVector3)(nil), // 34: DBVector3 - (ErrorCode)(0), // 35: ErrorCode - (*anypb.Any)(nil), // 36: google.protobuf.Any + (*RPCAccountBan)(nil), // 31: RPCAccountBan + (*RPCGeneralReqB1)(nil), // 32: RPCGeneralReqB1 + (*RPCRTaskReq)(nil), // 33: RPCRTaskReq + (*ServiceDBInfo)(nil), // 34: ServiceDBInfo + (*DBVector3)(nil), // 35: DBVector3 + (ErrorCode)(0), // 36: ErrorCode + (*anypb.Any)(nil), // 37: google.protobuf.Any } var file_comm_proto_depIdxs = []int32{ - 35, // 0: ErrorData.code:type_name -> ErrorCode + 36, // 0: ErrorData.code:type_name -> ErrorCode 18, // 1: ErrorData.atn:type_name -> UserAssets 3, // 2: MessagePackage.messages:type_name -> UserMessage - 36, // 3: UserMessage.data:type_name -> google.protobuf.Any - 36, // 4: AgentMessage.Message:type_name -> google.protobuf.Any + 37, // 3: UserMessage.data:type_name -> google.protobuf.Any + 37, // 4: AgentMessage.Message:type_name -> google.protobuf.Any 1, // 5: RPCMessageReply.ErrorData:type_name -> ErrorData 3, // 6: RPCMessageReply.Reply:type_name -> UserMessage 3, // 7: AgentSendMessageReq.Reply:type_name -> UserMessage - 36, // 8: BatchMessageReq.Data:type_name -> google.protobuf.Any - 36, // 9: BatchUsersMessageReq.Data:type_name -> google.protobuf.Any - 36, // 10: BroadCastMessageReq.Data:type_name -> google.protobuf.Any + 37, // 8: BatchMessageReq.Data:type_name -> google.protobuf.Any + 37, // 9: BatchUsersMessageReq.Data:type_name -> google.protobuf.Any + 37, // 10: BroadCastMessageReq.Data:type_name -> google.protobuf.Any 11, // [11:11] is the sub-list for method output_type 11, // [11:11] is the sub-list for method input_type 11, // [11:11] is the sub-list for extension type_name @@ -3016,7 +3085,7 @@ func file_comm_proto_init() { } } file_comm_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RPCGeneralReqB1); i { + switch v := v.(*RPCAccountBan); i { case 0: return &v.state case 1: @@ -3028,7 +3097,7 @@ func file_comm_proto_init() { } } file_comm_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RPCRTaskReq); i { + switch v := v.(*RPCGeneralReqB1); i { case 0: return &v.state case 1: @@ -3040,7 +3109,7 @@ func file_comm_proto_init() { } } file_comm_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ServiceDBInfo); i { + switch v := v.(*RPCRTaskReq); i { case 0: return &v.state case 1: @@ -3052,6 +3121,18 @@ func file_comm_proto_init() { } } file_comm_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ServiceDBInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_comm_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBVector3); i { case 0: return &v.state @@ -3070,7 +3151,7 @@ func file_comm_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_comm_proto_rawDesc, NumEnums: 1, - NumMessages: 34, + NumMessages: 35, NumExtensions: 0, NumServices: 0, },