diff --git a/modules/stonehenge/api_event.go b/modules/stonehenge/api_event.go index b60e27dfc..f51885a71 100644 --- a/modules/stonehenge/api_event.go +++ b/modules/stonehenge/api_event.go @@ -23,14 +23,13 @@ func (this *apiComp) EventCheck(session comm.IUserSession, req *pb.StonehengeEve func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq) (errdata *pb.ErrorData) { var ( - stone *pb.DBStonehenge - update map[string]interface{} - roomConf *cfg.GameStoneRoomData - err error - newEvent int32 // 是否有新的事件 - eventConf *cfg.GameStoneEventData - newEventConf *cfg.GameStoneEventData //新的事件配置 - reward []*pb.UserAtno + stone *pb.DBStonehenge + update map[string]interface{} + roomConf *cfg.GameStoneRoomData + err error + newEvent int32 // 是否有新的事件 + eventConf *cfg.GameStoneEventData + reward []*pb.UserAtno ) update = make(map[string]interface{}) if errdata = this.EventCheck(session, req); errdata != nil { @@ -240,61 +239,38 @@ func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq } } update["hero"] = stone.Hero - case EventType11: // 剧情事件 - var ( - num1 int - num2 int - err error - conf *cfg.GameStoneStoryData - ) - num1, err = strconv.Atoi(req.Param1) - if err != nil { - return - } - num2, err = strconv.Atoi(req.Param1) - if err != nil { - return - } - if conf, err = this.module.configure.GetStoneStoryConf(int32(num1), int32(num2)); err != nil { - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_ConfigNoFound, - Title: pb.ErrorCode_ConfigNoFound.ToString(), - Message: err.Error(), - } - return - } - this.module.Debugf("%v", conf) + } stone.Rooms.Eventid[req.Eventid] = true // // 校验事件有后续事件 if eventConf.Probability >= comm.GetRandNum(0, 1000) { // 命中 newEvent = eventConf.PostEvent + this.module.modelStonehenge.AddNewEvent([]int32{eventConf.PostEvent}, stone) + // stone.Rooms.Eventid[newEvent] = false // + // if newEventConf, err = this.module.configure.GetStoneEventDataById(newEvent); err != nil { + // errdata = &pb.ErrorData{ + // Code: pb.ErrorCode_ConfigNoFound, + // Title: pb.ErrorCode_ConfigNoFound.ToString(), + // Message: err.Error(), + // } + // return + // } - stone.Rooms.Eventid[newEvent] = false // - if newEventConf, err = this.module.configure.GetStoneEventDataById(newEvent); err != nil { - errdata = &pb.ErrorData{ - Code: pb.ErrorCode_ConfigNoFound, - Title: pb.ErrorCode_ConfigNoFound.ToString(), - Message: err.Error(), - } - return - } - - switch newEventConf.EventType { - case EventType25: // buff是3选1 - for _, v := range stone.Addweight { - ownerbuff := make(map[int32]struct{}, 0) - for k := range stone.Userbuff { - ownerbuff[k] = struct{}{} - } - stone.Rooms.Selectbuff = this.module.configure.GetBuffGroupDataByLottery(newEventConf.Value1, v, ownerbuff) - } - case EventType10: // 宝箱事件 - if _, ok := stone.Rooms.Box[newEventConf.EventId]; !ok { - stone.Rooms.Box[newEventConf.EventId] = 0 - } - } + // switch newEventConf.EventType { + // case EventType25: // buff是3选1 + // for _, v := range stone.Addweight { + // ownerbuff := make(map[int32]struct{}, 0) + // for k := range stone.Userbuff { + // ownerbuff[k] = struct{}{} + // } + // stone.Rooms.Selectbuff = this.module.configure.GetBuffGroupDataByLottery(newEventConf.Value1, v, ownerbuff) + // } + // case EventType10: // 宝箱事件 + // if _, ok := stone.Rooms.Box[newEventConf.EventId]; !ok { + // stone.Rooms.Box[newEventConf.EventId] = 0 + // } + // } } stone.Rooms.Complete = true diff --git a/modules/stonehenge/api_gotoroom.go b/modules/stonehenge/api_gotoroom.go index 33e21cc6d..01f4147fe 100644 --- a/modules/stonehenge/api_gotoroom.go +++ b/modules/stonehenge/api_gotoroom.go @@ -25,7 +25,6 @@ func (this *apiComp) GotoRoom(session comm.IUserSession, req *pb.StonehengeGotoR curRoomConf *cfg.GameStoneRoomData // 当前房间 confStage *cfg.GameStoneStageData szEvent []int32 - szBuff []int32 err error ) update = make(map[string]interface{}) @@ -115,10 +114,11 @@ func (this *apiComp) GotoRoom(session comm.IUserSession, req *pb.StonehengeGotoR stone.Rooms.Eventid[curRoomConf.BossEvent] = false } if len(szEvent) > 0 { - szBuff = this.module.configure.GetEventGroupDataByLottery(szEvent...) - for _, v := range szBuff { + szEvent = this.module.configure.GetEventGroupDataByLottery(szEvent...) + for _, v := range szEvent { stone.Rooms.Eventid[v] = false } + this.module.modelStonehenge.AddNewEvent(szEvent, stone) } stone.Rooms.Portal = this.module.configure.GetRoomGroupDataByLottery(req.Portal) diff --git a/modules/stonehenge/api_story.go b/modules/stonehenge/api_story.go new file mode 100644 index 000000000..c55535b0a --- /dev/null +++ b/modules/stonehenge/api_story.go @@ -0,0 +1,108 @@ +package stonehenge + +import ( + "go_dreamfactory/comm" + "go_dreamfactory/pb" + cfg "go_dreamfactory/sys/configure/structs" + "strconv" + "strings" +) + +//参数校验 +func (this *apiComp) StoryCheck(session comm.IUserSession, req *pb.StonehengeStoryReq) (errdata *pb.ErrorData) { + if req.Cid == 0 { + errdata = &pb.ErrorData{ + Code: pb.ErrorCode_ReqParameterError, + Title: pb.ErrorCode_ReqParameterError.String(), + } + } + return +} + +func (this *apiComp) Story(session comm.IUserSession, req *pb.StonehengeStoryReq) (errdata *pb.ErrorData) { + var ( + stone *pb.DBStonehenge + err error + update map[string]interface{} + newEvent int32 + conf *cfg.GameStoneStoryData + event []string + ) + if errdata = this.StoryCheck(session, req); errdata != nil { + return + } + update = make(map[string]interface{}) + if stone, err = this.module.modelStonehenge.GetStonehengeData(session.GetUserId()); err != nil { + errdata = &pb.ErrorData{ + Code: pb.ErrorCode_DBError, + Title: pb.ErrorCode_DBError.String(), + Message: err.Error(), + } + return + } + if req.Cid == -1 { + stone.Rooms.Story = 0 + + } else { + if conf, err = this.module.configure.GetStoneStoryConf(req.Cid); err != nil { + errdata = &pb.ErrorData{ + Code: pb.ErrorCode_ConfigNoFound, + Title: pb.ErrorCode_ConfigNoFound.ToString(), + Message: err.Error(), + } + return + } + this.module.Debugf("%v", conf) + if req.Pos == 0 { + event = conf.OptionEventIdGroup1 + } else if req.Pos == 1 { + event = conf.OptionEventIdGroup2 + } else if req.Pos == 2 { + event = conf.OptionEventIdGroup3 + } else { + errdata = &pb.ErrorData{ + Code: pb.ErrorCode_ConfigNoFound, + Title: pb.ErrorCode_ConfigNoFound.ToString(), + Message: err.Error(), + } + return + } + var szW []int32 + if len(event) == 1 { + arr := strings.Split(event[0], ",") + if len(arr) != 3 { + return + } + if n, err := strconv.Atoi(arr[2]); err == nil { + stone.Rooms.Story = int32(n) + } + } else { + for _, s := range event { + arr := strings.Split(s, ",") + if len(arr) != 3 { + return + } + if n, err := strconv.Atoi(arr[1]); err == nil { + szW = append(szW, int32(n)) + } + } + + arr := strings.Split(event[comm.GetRandW(szW)], ",") + if n, err := strconv.Atoi(arr[2]); err == nil { + stone.Rooms.Story = int32(n) + } + if n, err := strconv.Atoi(arr[0]); err == nil { + newEvent = int32(n) + stone.Rooms.Eventid[newEvent] = false + } + } + } + + update["rooms"] = stone.Rooms + this.module.modelStonehenge.ChangeStonehengeData(session.GetUserId(), update) + session.SendMsg(string(this.module.GetType()), "story", &pb.StonehengeStoryResp{ + Story: stone.Rooms.Story, + NewEvent: newEvent, + }) + return +} diff --git a/modules/stonehenge/configure.go b/modules/stonehenge/configure.go index 37564af87..838862a13 100644 --- a/modules/stonehenge/configure.go +++ b/modules/stonehenge/configure.go @@ -1,7 +1,6 @@ package stonehenge import ( - "fmt" "go_dreamfactory/comm" "go_dreamfactory/lego/core" "go_dreamfactory/lego/sys/log" @@ -730,6 +729,7 @@ func (this *configureComp) getGameStoneIllustratedDatas() (confs []*cfg.GameSton return } + func (this *configureComp) LoadGameStoneStory() { if v, err := this.GetConfigure(game_storyconf); err == nil { @@ -738,8 +738,8 @@ func (this *configureComp) LoadGameStoneStory() { defer this.hlock.Unlock() this.story = make(map[int32]*cfg.GameStoneStoryData) for _, v := range configure.GetDataList() { - key := v.StoryGroupId<<8 + v.StepId - this.story[key] = v + + this.story[v.Id] = v } } } @@ -747,11 +747,11 @@ func (this *configureComp) LoadGameStoneStory() { return } -func (this *configureComp) GetStoneStoryConf(id, step int32) (data *cfg.GameStoneStoryData, err error) { +func (this *configureComp) GetStoneStoryConf(id int32) (data *cfg.GameStoneStoryData, err error) { var ok bool - if data, ok = this.story[id<<8+step]; ok { + if data, ok = this.story[id]; ok { return } - err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_stonetalent, fmt.Sprintf("StoryGroupId:%d,step:%d", id, step)) + err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_stonetalent, id) return } diff --git a/modules/stonehenge/modelStonehenge.go b/modules/stonehenge/modelStonehenge.go index e02cd5145..e3ef757a4 100644 --- a/modules/stonehenge/modelStonehenge.go +++ b/modules/stonehenge/modelStonehenge.go @@ -105,6 +105,29 @@ func (this *MStonehenge) GetAllStoneBoosData() (bossstage map[int32]*pb.StageDat return this.bossStage } -func (this *MStonehenge) EventTrigger(event []string, room *pb.RoomData) { +// 获得新的事件 +func (this *MStonehenge) AddNewEvent(event []int32, stone *pb.DBStonehenge) { + for _, newEvent := range event { + stone.Rooms.Eventid[newEvent] = false // + newEventConf, err := this.module.configure.GetStoneEventDataById(newEvent) + if err != nil { + continue + } + + switch newEventConf.EventType { + case EventType25: // buff是3选1 + for _, v := range stone.Addweight { + ownerbuff := make(map[int32]struct{}, 0) + for k := range stone.Userbuff { + ownerbuff[k] = struct{}{} + } + stone.Rooms.Selectbuff = this.module.configure.GetBuffGroupDataByLottery(newEventConf.Value1, v, ownerbuff) + } + case EventType10: // 宝箱事件 + if _, ok := stone.Rooms.Box[newEventConf.EventId]; !ok { + stone.Rooms.Box[newEventConf.EventId] = 0 + } + } + } } diff --git a/modules/uigame/api_latticegrid.go b/modules/uigame/api_latticegrid.go index 1f7e7f6e4..50f768890 100644 --- a/modules/uigame/api_latticegrid.go +++ b/modules/uigame/api_latticegrid.go @@ -106,7 +106,7 @@ func (this *apiComp) LatticeGrid(session comm.IUserSession, req *pb.UiGameLattic } if len(atno) == 0 { // 普通格子奖励 if len(conf.Costget) > 0 { - if errdata, atno = this.module.DispenseAtno(session, latticeConf.Chestsward, true); errdata != nil { + if errdata, atno = this.module.DispenseAtno(session, conf.Costget, true); errdata != nil { return } } diff --git a/modules/uigame/api_minergrid.go b/modules/uigame/api_minergrid.go index 6296b15cd..47ba40ab0 100644 --- a/modules/uigame/api_minergrid.go +++ b/modules/uigame/api_minergrid.go @@ -38,8 +38,8 @@ func (this *apiComp) MinerKey(session comm.IUserSession, req *pb.UiGameMinerKeyR return } } - if conf.Itemget.N > 0 { - if errdata, atno = this.module.DispenseAtno(session, []*cfg.Gameatn{conf.Itemget}, true); errdata != nil { + if len(conf.Costget) > 0 { + if errdata, atno = this.module.DispenseAtno(session, conf.Costget, true); errdata != nil { return } } diff --git a/modules/uigame/api_puzzlegrid.go b/modules/uigame/api_puzzlegrid.go index 542c271eb..48946fba3 100644 --- a/modules/uigame/api_puzzlegrid.go +++ b/modules/uigame/api_puzzlegrid.go @@ -38,8 +38,8 @@ func (this *apiComp) PuzzleGrid(session comm.IUserSession, req *pb.UiGamePuzzleG return } } - if conf.Itemget.N > 0 { - if errdata, atno = this.module.DispenseAtno(session, []*cfg.Gameatn{conf.Itemget}, true); errdata != nil { + if len(conf.Costget) > 0 { + if errdata, atno = this.module.DispenseAtno(session, conf.Costget, true); errdata != nil { return } } diff --git a/pb/battle_db.pb.go b/pb/battle_db.pb.go index f8953cc6a..a3bc6a083 100644 --- a/pb/battle_db.pb.go +++ b/pb/battle_db.pb.go @@ -104,6 +104,7 @@ const ( PlayType_cycle PlayType = 16 // 循环塔 PlayType_guildgve PlayType = 17 //工会gve PlayType_stone PlayType = 18 // 石阵秘境 + PlayType_expboos PlayType = 19 //经验副本 ) // Enum value maps for PlayType. @@ -128,6 +129,7 @@ var ( 16: "cycle", 17: "guildgve", 18: "stone", + 19: "expboos", } PlayType_value = map[string]int32{ "null": 0, @@ -149,6 +151,7 @@ var ( "cycle": 16, "guildgve": 17, "stone": 18, + "expboos": 19, } ) @@ -822,7 +825,7 @@ var file_battle_battle_db_proto_rawDesc = []byte{ 0x69, 0x6c, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x65, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x70, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x62, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x76, 0x65, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x72, 0x74, 0x70, 0x76, - 0x70, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x6c, 0x70, 0x65, 0x76, 0x10, 0x06, 0x2a, 0x83, 0x02, + 0x70, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04, 0x6c, 0x70, 0x65, 0x76, 0x10, 0x06, 0x2a, 0x90, 0x02, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x6f, 0x64, 0x61, 0x10, 0x02, 0x12, 0x09, @@ -839,13 +842,13 @@ var file_battle_battle_db_proto_rawDesc = []byte{ 0x6e, 0x70, 0x63, 0x10, 0x0e, 0x12, 0x08, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x65, 0x10, 0x0f, 0x12, 0x09, 0x0a, 0x05, 0x63, 0x79, 0x63, 0x6c, 0x65, 0x10, 0x10, 0x12, 0x0c, 0x0a, 0x08, 0x67, 0x75, 0x69, 0x6c, 0x64, 0x67, 0x76, 0x65, 0x10, 0x11, 0x12, 0x09, 0x0a, 0x05, 0x73, 0x74, 0x6f, 0x6e, - 0x65, 0x10, 0x12, 0x2a, 0x1f, 0x0a, 0x0c, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x65, - 0x6e, 0x64, 0x10, 0x02, 0x2a, 0x2b, 0x0a, 0x0c, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, - 0x43, 0x6f, 0x6d, 0x70, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x72, 0x61, 0x77, 0x10, 0x00, 0x12, 0x07, - 0x0a, 0x03, 0x72, 0x65, 0x64, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x10, - 0x02, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x65, 0x10, 0x12, 0x12, 0x0b, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x62, 0x6f, 0x6f, 0x73, 0x10, 0x13, + 0x2a, 0x1f, 0x0a, 0x0c, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x06, 0x0a, 0x02, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x10, + 0x02, 0x2a, 0x2b, 0x0a, 0x0c, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d, + 0x70, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x72, 0x61, 0x77, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72, + 0x65, 0x64, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x10, 0x02, 0x42, 0x06, + 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/pb/stonehenge_msg.pb.go b/pb/stonehenge_msg.pb.go index 0813cf6cd..2150d2de7 100644 --- a/pb/stonehenge_msg.pb.go +++ b/pb/stonehenge_msg.pb.go @@ -794,6 +794,117 @@ func (x *StonehengeBattleResp) GetInfo() *BattleInfo { return nil } +// 剧情 +type StonehengeStoryReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Cid int32 `protobuf:"varint,1,opt,name=cid,proto3" json:"cid"` + Pos int32 `protobuf:"varint,2,opt,name=pos,proto3" json:"pos"` +} + +func (x *StonehengeStoryReq) Reset() { + *x = StonehengeStoryReq{} + if protoimpl.UnsafeEnabled { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StonehengeStoryReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StonehengeStoryReq) ProtoMessage() {} + +func (x *StonehengeStoryReq) ProtoReflect() protoreflect.Message { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14] + 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 StonehengeStoryReq.ProtoReflect.Descriptor instead. +func (*StonehengeStoryReq) Descriptor() ([]byte, []int) { + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{14} +} + +func (x *StonehengeStoryReq) GetCid() int32 { + if x != nil { + return x.Cid + } + return 0 +} + +func (x *StonehengeStoryReq) GetPos() int32 { + if x != nil { + return x.Pos + } + return 0 +} + +type StonehengeStoryResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Story int32 `protobuf:"varint,1,opt,name=story,proto3" json:"story"` // 剧情id + NewEvent int32 `protobuf:"varint,2,opt,name=newEvent,proto3" json:"newEvent"` // 新事件 +} + +func (x *StonehengeStoryResp) Reset() { + *x = StonehengeStoryResp{} + if protoimpl.UnsafeEnabled { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StonehengeStoryResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StonehengeStoryResp) ProtoMessage() {} + +func (x *StonehengeStoryResp) ProtoReflect() protoreflect.Message { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15] + 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 StonehengeStoryResp.ProtoReflect.Descriptor instead. +func (*StonehengeStoryResp) Descriptor() ([]byte, []int) { + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{15} +} + +func (x *StonehengeStoryResp) GetStory() int32 { + if x != nil { + return x.Story + } + return 0 +} + +func (x *StonehengeStoryResp) GetNewEvent() int32 { + if x != nil { + return x.NewEvent + } + return 0 +} + //商店购买 type StonehengeStoreReq struct { state protoimpl.MessageState @@ -806,7 +917,7 @@ type StonehengeStoreReq struct { func (x *StonehengeStoreReq) Reset() { *x = StonehengeStoreReq{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -819,7 +930,7 @@ func (x *StonehengeStoreReq) String() string { func (*StonehengeStoreReq) ProtoMessage() {} func (x *StonehengeStoreReq) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -832,7 +943,7 @@ func (x *StonehengeStoreReq) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeStoreReq.ProtoReflect.Descriptor instead. func (*StonehengeStoreReq) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{14} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{16} } func (x *StonehengeStoreReq) GetStoreId() int32 { @@ -854,7 +965,7 @@ type StonehengeStoreResp struct { func (x *StonehengeStoreResp) Reset() { *x = StonehengeStoreResp{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -867,7 +978,7 @@ func (x *StonehengeStoreResp) String() string { func (*StonehengeStoreResp) ProtoMessage() {} func (x *StonehengeStoreResp) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -880,7 +991,7 @@ func (x *StonehengeStoreResp) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeStoreResp.ProtoReflect.Descriptor instead. func (*StonehengeStoreResp) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{15} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{17} } func (x *StonehengeStoreResp) GetStoreId() int32 { @@ -909,7 +1020,7 @@ type StonehengeActivateTalentReq struct { func (x *StonehengeActivateTalentReq) Reset() { *x = StonehengeActivateTalentReq{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[16] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -922,7 +1033,7 @@ func (x *StonehengeActivateTalentReq) String() string { func (*StonehengeActivateTalentReq) ProtoMessage() {} func (x *StonehengeActivateTalentReq) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[16] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -935,7 +1046,7 @@ func (x *StonehengeActivateTalentReq) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeActivateTalentReq.ProtoReflect.Descriptor instead. func (*StonehengeActivateTalentReq) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{16} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{18} } func (x *StonehengeActivateTalentReq) GetNode() int32 { @@ -960,7 +1071,7 @@ type StonehengeActivateTalentResp struct { func (x *StonehengeActivateTalentResp) Reset() { *x = StonehengeActivateTalentResp{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[17] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -973,7 +1084,7 @@ func (x *StonehengeActivateTalentResp) String() string { func (*StonehengeActivateTalentResp) ProtoMessage() {} func (x *StonehengeActivateTalentResp) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[17] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -986,7 +1097,7 @@ func (x *StonehengeActivateTalentResp) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeActivateTalentResp.ProtoReflect.Descriptor instead. func (*StonehengeActivateTalentResp) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{17} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{19} } func (x *StonehengeActivateTalentResp) GetNode() int32 { @@ -1027,7 +1138,7 @@ type StonehengeBookInfoReq struct { func (x *StonehengeBookInfoReq) Reset() { *x = StonehengeBookInfoReq{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[18] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1040,7 +1151,7 @@ func (x *StonehengeBookInfoReq) String() string { func (*StonehengeBookInfoReq) ProtoMessage() {} func (x *StonehengeBookInfoReq) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[18] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1053,7 +1164,7 @@ func (x *StonehengeBookInfoReq) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeBookInfoReq.ProtoReflect.Descriptor instead. func (*StonehengeBookInfoReq) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{18} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{20} } //激活天赋树 @@ -1068,7 +1179,7 @@ type StonehengeBookInfoResp struct { func (x *StonehengeBookInfoResp) Reset() { *x = StonehengeBookInfoResp{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[19] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1081,7 +1192,7 @@ func (x *StonehengeBookInfoResp) String() string { func (*StonehengeBookInfoResp) ProtoMessage() {} func (x *StonehengeBookInfoResp) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[19] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1094,7 +1205,7 @@ func (x *StonehengeBookInfoResp) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeBookInfoResp.ProtoReflect.Descriptor instead. func (*StonehengeBookInfoResp) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{19} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{21} } func (x *StonehengeBookInfoResp) GetInfo() *DBStonehengeBook { @@ -1117,7 +1228,7 @@ type StonehengeBookAwardReq struct { func (x *StonehengeBookAwardReq) Reset() { *x = StonehengeBookAwardReq{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[20] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1130,7 +1241,7 @@ func (x *StonehengeBookAwardReq) String() string { func (*StonehengeBookAwardReq) ProtoMessage() {} func (x *StonehengeBookAwardReq) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[20] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1143,7 +1254,7 @@ func (x *StonehengeBookAwardReq) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeBookAwardReq.ProtoReflect.Descriptor instead. func (*StonehengeBookAwardReq) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{20} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{22} } func (x *StonehengeBookAwardReq) GetBtype() int32 { @@ -1174,7 +1285,7 @@ type StonehengeBookAwardResp struct { func (x *StonehengeBookAwardResp) Reset() { *x = StonehengeBookAwardResp{} if protoimpl.UnsafeEnabled { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[21] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1187,7 +1298,7 @@ func (x *StonehengeBookAwardResp) String() string { func (*StonehengeBookAwardResp) ProtoMessage() {} func (x *StonehengeBookAwardResp) ProtoReflect() protoreflect.Message { - mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[21] + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1200,7 +1311,7 @@ func (x *StonehengeBookAwardResp) ProtoReflect() protoreflect.Message { // Deprecated: Use StonehengeBookAwardResp.ProtoReflect.Descriptor instead. func (*StonehengeBookAwardResp) Descriptor() ([]byte, []int) { - return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{21} + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{23} } func (x *StonehengeBookAwardResp) GetBtype() int32 { @@ -1325,65 +1436,74 @@ var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{ 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 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, 0x2e, 0x0a, - 0x12, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x65, - 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x22, 0x9c, 0x01, - 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, - 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x12, - 0x32, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, - 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, - 0x65, 0x73, 0x70, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, - 0x68, 0x6f, 0x70, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, - 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 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, 0x31, 0x0a, 0x1b, - 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, - 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, - 0x82, 0x03, 0x0a, 0x1c, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, - 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, - 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, + 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x38, 0x0a, + 0x12, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x79, + 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, + 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, + 0x0a, 0x05, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74, + 0x22, 0x2e, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, + 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, + 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, + 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, + 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, + 0x49, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x1e, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, + 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, + 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, + 0x31, 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x6f, + 0x64, 0x65, 0x22, 0x82, 0x03, 0x0a, 0x1c, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, - 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, - 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, - 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x54, - 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, - 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, - 0x74, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, - 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, - 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x09, 0x70, 0x72, 0x69, - 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, - 0x72, 0x74, 0x79, 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, 0x17, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, - 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x3f, 0x0a, - 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x49, - 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, - 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x44, - 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, - 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, - 0x74, 0x61, 0x67, 0x65, 0x22, 0x68, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, - 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, - 0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, - 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x61, - 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, - 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, - 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, + 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, + 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, + 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0e, 0x74, 0x61, + 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, + 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, + 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, + 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, + 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x09, + 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x54, 0x61, 0x6c, + 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, + 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 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, 0x17, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, + 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + 0x22, 0x3f, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, + 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, + 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66, + 0x6f, 0x22, 0x44, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, + 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, + 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x68, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x6e, 0x65, + 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, + 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x21, + 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, + 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, + 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -1398,7 +1518,7 @@ func file_stonehenge_stonehenge_msg_proto_rawDescGZIP() []byte { return file_stonehenge_stonehenge_msg_proto_rawDescData } -var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 28) +var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 30) var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{ (*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq (*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp @@ -1414,55 +1534,57 @@ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{ (*StonehengeFinishResp)(nil), // 11: StonehengeFinishResp (*StonehengeBattleReq)(nil), // 12: StonehengeBattleReq (*StonehengeBattleResp)(nil), // 13: StonehengeBattleResp - (*StonehengeStoreReq)(nil), // 14: StonehengeStoreReq - (*StonehengeStoreResp)(nil), // 15: StonehengeStoreResp - (*StonehengeActivateTalentReq)(nil), // 16: StonehengeActivateTalentReq - (*StonehengeActivateTalentResp)(nil), // 17: StonehengeActivateTalentResp - (*StonehengeBookInfoReq)(nil), // 18: StonehengeBookInfoReq - (*StonehengeBookInfoResp)(nil), // 19: StonehengeBookInfoResp - (*StonehengeBookAwardReq)(nil), // 20: StonehengeBookAwardReq - (*StonehengeBookAwardResp)(nil), // 21: StonehengeBookAwardResp - nil, // 22: StonehengeEnterLevelResp.HeroEntry - nil, // 23: StonehengeEventResp.HeroEntry - nil, // 24: StonehengeEventResp.UserbuffEntry - nil, // 25: StonehengeStoreResp.ShopEntry - nil, // 26: StonehengeActivateTalentResp.TalentEntry - nil, // 27: StonehengeActivateTalentResp.TalentpropertyEntry - (*DBStonehenge)(nil), // 28: DBStonehenge - (*DBStoneBoss)(nil), // 29: DBStoneBoss - (*RoomData)(nil), // 30: RoomData - (*BattleReport)(nil), // 31: BattleReport - (*UserAtno)(nil), // 32: UserAtno - (*BattleFormation)(nil), // 33: BattleFormation - (*BattleInfo)(nil), // 34: BattleInfo - (StonehengePrivilege)(0), // 35: StonehengePrivilege - (*DBStonehengeBook)(nil), // 36: DBStonehengeBook - (*UserAssets)(nil), // 37: UserAssets - (*BattleRole)(nil), // 38: BattleRole + (*StonehengeStoryReq)(nil), // 14: StonehengeStoryReq + (*StonehengeStoryResp)(nil), // 15: StonehengeStoryResp + (*StonehengeStoreReq)(nil), // 16: StonehengeStoreReq + (*StonehengeStoreResp)(nil), // 17: StonehengeStoreResp + (*StonehengeActivateTalentReq)(nil), // 18: StonehengeActivateTalentReq + (*StonehengeActivateTalentResp)(nil), // 19: StonehengeActivateTalentResp + (*StonehengeBookInfoReq)(nil), // 20: StonehengeBookInfoReq + (*StonehengeBookInfoResp)(nil), // 21: StonehengeBookInfoResp + (*StonehengeBookAwardReq)(nil), // 22: StonehengeBookAwardReq + (*StonehengeBookAwardResp)(nil), // 23: StonehengeBookAwardResp + nil, // 24: StonehengeEnterLevelResp.HeroEntry + nil, // 25: StonehengeEventResp.HeroEntry + nil, // 26: StonehengeEventResp.UserbuffEntry + nil, // 27: StonehengeStoreResp.ShopEntry + nil, // 28: StonehengeActivateTalentResp.TalentEntry + nil, // 29: StonehengeActivateTalentResp.TalentpropertyEntry + (*DBStonehenge)(nil), // 30: DBStonehenge + (*DBStoneBoss)(nil), // 31: DBStoneBoss + (*RoomData)(nil), // 32: RoomData + (*BattleReport)(nil), // 33: BattleReport + (*UserAtno)(nil), // 34: UserAtno + (*BattleFormation)(nil), // 35: BattleFormation + (*BattleInfo)(nil), // 36: BattleInfo + (StonehengePrivilege)(0), // 37: StonehengePrivilege + (*DBStonehengeBook)(nil), // 38: DBStonehengeBook + (*UserAssets)(nil), // 39: UserAssets + (*BattleRole)(nil), // 40: BattleRole } var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{ - 28, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge - 29, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss - 22, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry - 30, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData - 30, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData - 31, // 5: StonehengeEventReq.report:type_name -> BattleReport - 30, // 6: StonehengeEventResp.room:type_name -> RoomData - 32, // 7: StonehengeEventResp.reward:type_name -> UserAtno - 23, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry - 24, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry - 30, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData - 28, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge - 33, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation - 34, // 13: StonehengeBattleResp.info:type_name -> BattleInfo - 25, // 14: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry - 26, // 15: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry - 27, // 16: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry - 35, // 17: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege - 36, // 18: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook - 37, // 19: StonehengeBookAwardResp.award:type_name -> UserAssets - 38, // 20: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole - 38, // 21: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole + 30, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge + 31, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss + 24, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry + 32, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData + 32, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData + 33, // 5: StonehengeEventReq.report:type_name -> BattleReport + 32, // 6: StonehengeEventResp.room:type_name -> RoomData + 34, // 7: StonehengeEventResp.reward:type_name -> UserAtno + 25, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry + 26, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry + 32, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData + 30, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge + 35, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation + 36, // 13: StonehengeBattleResp.info:type_name -> BattleInfo + 27, // 14: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry + 28, // 15: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry + 29, // 16: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry + 37, // 17: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege + 38, // 18: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook + 39, // 19: StonehengeBookAwardResp.award:type_name -> UserAssets + 40, // 20: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole + 40, // 21: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole 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 @@ -1649,7 +1771,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeStoreReq); i { + switch v := v.(*StonehengeStoryReq); i { case 0: return &v.state case 1: @@ -1661,7 +1783,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeStoreResp); i { + switch v := v.(*StonehengeStoryResp); i { case 0: return &v.state case 1: @@ -1673,7 +1795,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeActivateTalentReq); i { + switch v := v.(*StonehengeStoreReq); i { case 0: return &v.state case 1: @@ -1685,7 +1807,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeActivateTalentResp); i { + switch v := v.(*StonehengeStoreResp); i { case 0: return &v.state case 1: @@ -1697,7 +1819,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeBookInfoReq); i { + switch v := v.(*StonehengeActivateTalentReq); i { case 0: return &v.state case 1: @@ -1709,7 +1831,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeBookInfoResp); i { + switch v := v.(*StonehengeActivateTalentResp); i { case 0: return &v.state case 1: @@ -1721,7 +1843,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*StonehengeBookAwardReq); i { + switch v := v.(*StonehengeBookInfoReq); i { case 0: return &v.state case 1: @@ -1733,6 +1855,30 @@ func file_stonehenge_stonehenge_msg_proto_init() { } } file_stonehenge_stonehenge_msg_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StonehengeBookInfoResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stonehenge_stonehenge_msg_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StonehengeBookAwardReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stonehenge_stonehenge_msg_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StonehengeBookAwardResp); i { case 0: return &v.state @@ -1751,7 +1897,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 28, + NumMessages: 30, NumExtensions: 0, NumServices: 0, },