秘境事件处理

This commit is contained in:
meixiongfeng 2023-08-11 15:54:00 +08:00
parent 8855903a7c
commit 770fcb0e32
10 changed files with 473 additions and 217 deletions

View File

@ -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) { func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq) (errdata *pb.ErrorData) {
var ( var (
stone *pb.DBStonehenge stone *pb.DBStonehenge
update map[string]interface{} update map[string]interface{}
roomConf *cfg.GameStoneRoomData roomConf *cfg.GameStoneRoomData
err error err error
newEvent int32 // 是否有新的事件 newEvent int32 // 是否有新的事件
eventConf *cfg.GameStoneEventData eventConf *cfg.GameStoneEventData
newEventConf *cfg.GameStoneEventData //新的事件配置 reward []*pb.UserAtno
reward []*pb.UserAtno
) )
update = make(map[string]interface{}) update = make(map[string]interface{})
if errdata = this.EventCheck(session, req); errdata != nil { 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 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 // stone.Rooms.Eventid[req.Eventid] = true //
// 校验事件有后续事件 // 校验事件有后续事件
if eventConf.Probability >= comm.GetRandNum(0, 1000) { // 命中 if eventConf.Probability >= comm.GetRandNum(0, 1000) { // 命中
newEvent = eventConf.PostEvent 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 // // switch newEventConf.EventType {
if newEventConf, err = this.module.configure.GetStoneEventDataById(newEvent); err != nil { // case EventType25: // buff是3选1
errdata = &pb.ErrorData{ // for _, v := range stone.Addweight {
Code: pb.ErrorCode_ConfigNoFound, // ownerbuff := make(map[int32]struct{}, 0)
Title: pb.ErrorCode_ConfigNoFound.ToString(), // for k := range stone.Userbuff {
Message: err.Error(), // ownerbuff[k] = struct{}{}
} // }
return // stone.Rooms.Selectbuff = this.module.configure.GetBuffGroupDataByLottery(newEventConf.Value1, v, ownerbuff)
} // }
// case EventType10: // 宝箱事件
switch newEventConf.EventType { // if _, ok := stone.Rooms.Box[newEventConf.EventId]; !ok {
case EventType25: // buff是3选1 // stone.Rooms.Box[newEventConf.EventId] = 0
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 stone.Rooms.Complete = true

View File

@ -25,7 +25,6 @@ func (this *apiComp) GotoRoom(session comm.IUserSession, req *pb.StonehengeGotoR
curRoomConf *cfg.GameStoneRoomData // 当前房间 curRoomConf *cfg.GameStoneRoomData // 当前房间
confStage *cfg.GameStoneStageData confStage *cfg.GameStoneStageData
szEvent []int32 szEvent []int32
szBuff []int32
err error err error
) )
update = make(map[string]interface{}) 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 stone.Rooms.Eventid[curRoomConf.BossEvent] = false
} }
if len(szEvent) > 0 { if len(szEvent) > 0 {
szBuff = this.module.configure.GetEventGroupDataByLottery(szEvent...) szEvent = this.module.configure.GetEventGroupDataByLottery(szEvent...)
for _, v := range szBuff { for _, v := range szEvent {
stone.Rooms.Eventid[v] = false stone.Rooms.Eventid[v] = false
} }
this.module.modelStonehenge.AddNewEvent(szEvent, stone)
} }
stone.Rooms.Portal = this.module.configure.GetRoomGroupDataByLottery(req.Portal) stone.Rooms.Portal = this.module.configure.GetRoomGroupDataByLottery(req.Portal)

View File

@ -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
}

View File

@ -1,7 +1,6 @@
package stonehenge package stonehenge
import ( import (
"fmt"
"go_dreamfactory/comm" "go_dreamfactory/comm"
"go_dreamfactory/lego/core" "go_dreamfactory/lego/core"
"go_dreamfactory/lego/sys/log" "go_dreamfactory/lego/sys/log"
@ -730,6 +729,7 @@ func (this *configureComp) getGameStoneIllustratedDatas() (confs []*cfg.GameSton
return return
} }
func (this *configureComp) LoadGameStoneStory() { func (this *configureComp) LoadGameStoneStory() {
if v, err := this.GetConfigure(game_storyconf); err == nil { if v, err := this.GetConfigure(game_storyconf); err == nil {
@ -738,8 +738,8 @@ func (this *configureComp) LoadGameStoneStory() {
defer this.hlock.Unlock() defer this.hlock.Unlock()
this.story = make(map[int32]*cfg.GameStoneStoryData) this.story = make(map[int32]*cfg.GameStoneStoryData)
for _, v := range configure.GetDataList() { 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 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 var ok bool
if data, ok = this.story[id<<8+step]; ok { if data, ok = this.story[id]; ok {
return 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 return
} }

View File

@ -105,6 +105,29 @@ func (this *MStonehenge) GetAllStoneBoosData() (bossstage map[int32]*pb.StageDat
return this.bossStage 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
}
}
}
} }

View File

@ -106,7 +106,7 @@ func (this *apiComp) LatticeGrid(session comm.IUserSession, req *pb.UiGameLattic
} }
if len(atno) == 0 { // 普通格子奖励 if len(atno) == 0 { // 普通格子奖励
if len(conf.Costget) > 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 return
} }
} }

View File

@ -38,8 +38,8 @@ func (this *apiComp) MinerKey(session comm.IUserSession, req *pb.UiGameMinerKeyR
return return
} }
} }
if conf.Itemget.N > 0 { if len(conf.Costget) > 0 {
if errdata, atno = this.module.DispenseAtno(session, []*cfg.Gameatn{conf.Itemget}, true); errdata != nil { if errdata, atno = this.module.DispenseAtno(session, conf.Costget, true); errdata != nil {
return return
} }
} }

View File

@ -38,8 +38,8 @@ func (this *apiComp) PuzzleGrid(session comm.IUserSession, req *pb.UiGamePuzzleG
return return
} }
} }
if conf.Itemget.N > 0 { if len(conf.Costget) > 0 {
if errdata, atno = this.module.DispenseAtno(session, []*cfg.Gameatn{conf.Itemget}, true); errdata != nil { if errdata, atno = this.module.DispenseAtno(session, conf.Costget, true); errdata != nil {
return return
} }
} }

View File

@ -104,6 +104,7 @@ const (
PlayType_cycle PlayType = 16 // 循环塔 PlayType_cycle PlayType = 16 // 循环塔
PlayType_guildgve PlayType = 17 //工会gve PlayType_guildgve PlayType = 17 //工会gve
PlayType_stone PlayType = 18 // 石阵秘境 PlayType_stone PlayType = 18 // 石阵秘境
PlayType_expboos PlayType = 19 //经验副本
) )
// Enum value maps for PlayType. // Enum value maps for PlayType.
@ -128,6 +129,7 @@ var (
16: "cycle", 16: "cycle",
17: "guildgve", 17: "guildgve",
18: "stone", 18: "stone",
19: "expboos",
} }
PlayType_value = map[string]int32{ PlayType_value = map[string]int32{
"null": 0, "null": 0,
@ -149,6 +151,7 @@ var (
"cycle": 16, "cycle": 16,
"guildgve": 17, "guildgve": 17,
"stone": 18, "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, 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, 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, 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, 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, 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, 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, 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, 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, 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, 0x65, 0x10, 0x12, 0x12, 0x0b, 0x0a, 0x07, 0x65, 0x78, 0x70, 0x62, 0x6f, 0x6f, 0x73, 0x10, 0x13,
0x61, 0x74, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x2a, 0x1f, 0x0a, 0x0c, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65,
0x6e, 0x64, 0x10, 0x02, 0x2a, 0x2b, 0x0a, 0x0c, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x12, 0x06, 0x0a, 0x02, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x10,
0x43, 0x6f, 0x6d, 0x70, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x72, 0x61, 0x77, 0x10, 0x00, 0x12, 0x07, 0x02, 0x2a, 0x2b, 0x0a, 0x0c, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d,
0x0a, 0x03, 0x72, 0x65, 0x64, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x10, 0x70, 0x12, 0x08, 0x0a, 0x04, 0x64, 0x72, 0x61, 0x77, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72,
0x02, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x65, 0x64, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x10, 0x02, 0x42, 0x06,
0x33, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
} }
var ( var (

View File

@ -794,6 +794,117 @@ func (x *StonehengeBattleResp) GetInfo() *BattleInfo {
return nil 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 { type StonehengeStoreReq struct {
state protoimpl.MessageState state protoimpl.MessageState
@ -806,7 +917,7 @@ type StonehengeStoreReq struct {
func (x *StonehengeStoreReq) Reset() { func (x *StonehengeStoreReq) Reset() {
*x = StonehengeStoreReq{} *x = StonehengeStoreReq{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -819,7 +930,7 @@ func (x *StonehengeStoreReq) String() string {
func (*StonehengeStoreReq) ProtoMessage() {} func (*StonehengeStoreReq) ProtoMessage() {}
func (x *StonehengeStoreReq) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -832,7 +943,7 @@ func (x *StonehengeStoreReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeStoreReq.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeStoreReq.ProtoReflect.Descriptor instead.
func (*StonehengeStoreReq) Descriptor() ([]byte, []int) { 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 { func (x *StonehengeStoreReq) GetStoreId() int32 {
@ -854,7 +965,7 @@ type StonehengeStoreResp struct {
func (x *StonehengeStoreResp) Reset() { func (x *StonehengeStoreResp) Reset() {
*x = StonehengeStoreResp{} *x = StonehengeStoreResp{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -867,7 +978,7 @@ func (x *StonehengeStoreResp) String() string {
func (*StonehengeStoreResp) ProtoMessage() {} func (*StonehengeStoreResp) ProtoMessage() {}
func (x *StonehengeStoreResp) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -880,7 +991,7 @@ func (x *StonehengeStoreResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeStoreResp.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeStoreResp.ProtoReflect.Descriptor instead.
func (*StonehengeStoreResp) Descriptor() ([]byte, []int) { 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 { func (x *StonehengeStoreResp) GetStoreId() int32 {
@ -909,7 +1020,7 @@ type StonehengeActivateTalentReq struct {
func (x *StonehengeActivateTalentReq) Reset() { func (x *StonehengeActivateTalentReq) Reset() {
*x = StonehengeActivateTalentReq{} *x = StonehengeActivateTalentReq{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -922,7 +1033,7 @@ func (x *StonehengeActivateTalentReq) String() string {
func (*StonehengeActivateTalentReq) ProtoMessage() {} func (*StonehengeActivateTalentReq) ProtoMessage() {}
func (x *StonehengeActivateTalentReq) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -935,7 +1046,7 @@ func (x *StonehengeActivateTalentReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeActivateTalentReq.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeActivateTalentReq.ProtoReflect.Descriptor instead.
func (*StonehengeActivateTalentReq) Descriptor() ([]byte, []int) { 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 { func (x *StonehengeActivateTalentReq) GetNode() int32 {
@ -960,7 +1071,7 @@ type StonehengeActivateTalentResp struct {
func (x *StonehengeActivateTalentResp) Reset() { func (x *StonehengeActivateTalentResp) Reset() {
*x = StonehengeActivateTalentResp{} *x = StonehengeActivateTalentResp{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -973,7 +1084,7 @@ func (x *StonehengeActivateTalentResp) String() string {
func (*StonehengeActivateTalentResp) ProtoMessage() {} func (*StonehengeActivateTalentResp) ProtoMessage() {}
func (x *StonehengeActivateTalentResp) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -986,7 +1097,7 @@ func (x *StonehengeActivateTalentResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeActivateTalentResp.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeActivateTalentResp.ProtoReflect.Descriptor instead.
func (*StonehengeActivateTalentResp) Descriptor() ([]byte, []int) { 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 { func (x *StonehengeActivateTalentResp) GetNode() int32 {
@ -1027,7 +1138,7 @@ type StonehengeBookInfoReq struct {
func (x *StonehengeBookInfoReq) Reset() { func (x *StonehengeBookInfoReq) Reset() {
*x = StonehengeBookInfoReq{} *x = StonehengeBookInfoReq{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1040,7 +1151,7 @@ func (x *StonehengeBookInfoReq) String() string {
func (*StonehengeBookInfoReq) ProtoMessage() {} func (*StonehengeBookInfoReq) ProtoMessage() {}
func (x *StonehengeBookInfoReq) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1053,7 +1164,7 @@ func (x *StonehengeBookInfoReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeBookInfoReq.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeBookInfoReq.ProtoReflect.Descriptor instead.
func (*StonehengeBookInfoReq) Descriptor() ([]byte, []int) { 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() { func (x *StonehengeBookInfoResp) Reset() {
*x = StonehengeBookInfoResp{} *x = StonehengeBookInfoResp{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1081,7 +1192,7 @@ func (x *StonehengeBookInfoResp) String() string {
func (*StonehengeBookInfoResp) ProtoMessage() {} func (*StonehengeBookInfoResp) ProtoMessage() {}
func (x *StonehengeBookInfoResp) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1094,7 +1205,7 @@ func (x *StonehengeBookInfoResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeBookInfoResp.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeBookInfoResp.ProtoReflect.Descriptor instead.
func (*StonehengeBookInfoResp) Descriptor() ([]byte, []int) { 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 { func (x *StonehengeBookInfoResp) GetInfo() *DBStonehengeBook {
@ -1117,7 +1228,7 @@ type StonehengeBookAwardReq struct {
func (x *StonehengeBookAwardReq) Reset() { func (x *StonehengeBookAwardReq) Reset() {
*x = StonehengeBookAwardReq{} *x = StonehengeBookAwardReq{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1130,7 +1241,7 @@ func (x *StonehengeBookAwardReq) String() string {
func (*StonehengeBookAwardReq) ProtoMessage() {} func (*StonehengeBookAwardReq) ProtoMessage() {}
func (x *StonehengeBookAwardReq) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1143,7 +1254,7 @@ func (x *StonehengeBookAwardReq) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeBookAwardReq.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeBookAwardReq.ProtoReflect.Descriptor instead.
func (*StonehengeBookAwardReq) Descriptor() ([]byte, []int) { 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 { func (x *StonehengeBookAwardReq) GetBtype() int32 {
@ -1174,7 +1285,7 @@ type StonehengeBookAwardResp struct {
func (x *StonehengeBookAwardResp) Reset() { func (x *StonehengeBookAwardResp) Reset() {
*x = StonehengeBookAwardResp{} *x = StonehengeBookAwardResp{}
if protoimpl.UnsafeEnabled { 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 := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi) ms.StoreMessageInfo(mi)
} }
@ -1187,7 +1298,7 @@ func (x *StonehengeBookAwardResp) String() string {
func (*StonehengeBookAwardResp) ProtoMessage() {} func (*StonehengeBookAwardResp) ProtoMessage() {}
func (x *StonehengeBookAwardResp) ProtoReflect() protoreflect.Message { 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 { if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil { if ms.LoadMessageInfo() == nil {
@ -1200,7 +1311,7 @@ func (x *StonehengeBookAwardResp) ProtoReflect() protoreflect.Message {
// Deprecated: Use StonehengeBookAwardResp.ProtoReflect.Descriptor instead. // Deprecated: Use StonehengeBookAwardResp.ProtoReflect.Descriptor instead.
func (*StonehengeBookAwardResp) Descriptor() ([]byte, []int) { 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 { 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, 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, 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, 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, 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, 0x65, 0x12, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x79,
0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x18, 0x01, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x22, 0x9c, 0x01, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01,
0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x22, 0x47, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65,
0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64, 0x12, 0x0a, 0x05, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73,
0x32, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74,
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x45, 0x76, 0x65, 0x6e, 0x74,
0x65, 0x73, 0x70, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x22, 0x2e, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74,
0x68, 0x6f, 0x70, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49,
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x49, 0x64,
0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53,
0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x31, 0x0a, 0x1b, 0x74, 0x6f, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72,
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x65,
0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x22, 0x32, 0x1e, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x53, 0x74, 0x6f,
0x82, 0x03, 0x0a, 0x1c, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x70, 0x1a, 0x37, 0x0a, 0x09, 0x53, 0x68, 0x6f, 0x70, 0x45, 0x6e,
0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
0x6e, 0x6f, 0x64, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 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, 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, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x05, 0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e,
0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68,
0x31, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x65, 0x6e, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65,
0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x54, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74,
0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x12, 0x59, 0x0a, 0x0e, 0x74, 0x61,
0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x03, 0x20, 0x03,
0x74, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x41,
0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x09, 0x70, 0x72, 0x69, 0x70, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79,
0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f,
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x67, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x53, 0x74, 0x6f, 0x6e, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x09,
0x01, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x39, 0x0a, 0x0b, 0x54, 0x61, 0x6c,
0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x65, 0x6e, 0x74, 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, 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, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
0x3a, 0x02, 0x38, 0x01, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x41, 0x0a, 0x13, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72,
0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x22, 0x3f, 0x0a, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x49, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x17, 0x0a, 0x15, 0x53, 0x74, 0x6f, 0x6e, 0x65,
0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x44, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x22, 0x3f, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f,
0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x6f, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x25, 0x0a, 0x04, 0x69, 0x6e,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f,
0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x52, 0x04, 0x69, 0x6e, 0x66,
0x74, 0x61, 0x67, 0x65, 0x22, 0x68, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x6f, 0x22, 0x44, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42,
0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x62,
0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x74, 0x79, 0x70,
0x62, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x61, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x68, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x6e, 0x65,
0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 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 ( var (
@ -1398,7 +1518,7 @@ func file_stonehenge_stonehenge_msg_proto_rawDescGZIP() []byte {
return file_stonehenge_stonehenge_msg_proto_rawDescData 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{}{ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
(*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq (*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq
(*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp (*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp
@ -1414,55 +1534,57 @@ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
(*StonehengeFinishResp)(nil), // 11: StonehengeFinishResp (*StonehengeFinishResp)(nil), // 11: StonehengeFinishResp
(*StonehengeBattleReq)(nil), // 12: StonehengeBattleReq (*StonehengeBattleReq)(nil), // 12: StonehengeBattleReq
(*StonehengeBattleResp)(nil), // 13: StonehengeBattleResp (*StonehengeBattleResp)(nil), // 13: StonehengeBattleResp
(*StonehengeStoreReq)(nil), // 14: StonehengeStoreReq (*StonehengeStoryReq)(nil), // 14: StonehengeStoryReq
(*StonehengeStoreResp)(nil), // 15: StonehengeStoreResp (*StonehengeStoryResp)(nil), // 15: StonehengeStoryResp
(*StonehengeActivateTalentReq)(nil), // 16: StonehengeActivateTalentReq (*StonehengeStoreReq)(nil), // 16: StonehengeStoreReq
(*StonehengeActivateTalentResp)(nil), // 17: StonehengeActivateTalentResp (*StonehengeStoreResp)(nil), // 17: StonehengeStoreResp
(*StonehengeBookInfoReq)(nil), // 18: StonehengeBookInfoReq (*StonehengeActivateTalentReq)(nil), // 18: StonehengeActivateTalentReq
(*StonehengeBookInfoResp)(nil), // 19: StonehengeBookInfoResp (*StonehengeActivateTalentResp)(nil), // 19: StonehengeActivateTalentResp
(*StonehengeBookAwardReq)(nil), // 20: StonehengeBookAwardReq (*StonehengeBookInfoReq)(nil), // 20: StonehengeBookInfoReq
(*StonehengeBookAwardResp)(nil), // 21: StonehengeBookAwardResp (*StonehengeBookInfoResp)(nil), // 21: StonehengeBookInfoResp
nil, // 22: StonehengeEnterLevelResp.HeroEntry (*StonehengeBookAwardReq)(nil), // 22: StonehengeBookAwardReq
nil, // 23: StonehengeEventResp.HeroEntry (*StonehengeBookAwardResp)(nil), // 23: StonehengeBookAwardResp
nil, // 24: StonehengeEventResp.UserbuffEntry nil, // 24: StonehengeEnterLevelResp.HeroEntry
nil, // 25: StonehengeStoreResp.ShopEntry nil, // 25: StonehengeEventResp.HeroEntry
nil, // 26: StonehengeActivateTalentResp.TalentEntry nil, // 26: StonehengeEventResp.UserbuffEntry
nil, // 27: StonehengeActivateTalentResp.TalentpropertyEntry nil, // 27: StonehengeStoreResp.ShopEntry
(*DBStonehenge)(nil), // 28: DBStonehenge nil, // 28: StonehengeActivateTalentResp.TalentEntry
(*DBStoneBoss)(nil), // 29: DBStoneBoss nil, // 29: StonehengeActivateTalentResp.TalentpropertyEntry
(*RoomData)(nil), // 30: RoomData (*DBStonehenge)(nil), // 30: DBStonehenge
(*BattleReport)(nil), // 31: BattleReport (*DBStoneBoss)(nil), // 31: DBStoneBoss
(*UserAtno)(nil), // 32: UserAtno (*RoomData)(nil), // 32: RoomData
(*BattleFormation)(nil), // 33: BattleFormation (*BattleReport)(nil), // 33: BattleReport
(*BattleInfo)(nil), // 34: BattleInfo (*UserAtno)(nil), // 34: UserAtno
(StonehengePrivilege)(0), // 35: StonehengePrivilege (*BattleFormation)(nil), // 35: BattleFormation
(*DBStonehengeBook)(nil), // 36: DBStonehengeBook (*BattleInfo)(nil), // 36: BattleInfo
(*UserAssets)(nil), // 37: UserAssets (StonehengePrivilege)(0), // 37: StonehengePrivilege
(*BattleRole)(nil), // 38: BattleRole (*DBStonehengeBook)(nil), // 38: DBStonehengeBook
(*UserAssets)(nil), // 39: UserAssets
(*BattleRole)(nil), // 40: BattleRole
} }
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{ var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
28, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge 30, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
29, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss 31, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
22, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry 24, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
30, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData 32, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
30, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData 32, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
31, // 5: StonehengeEventReq.report:type_name -> BattleReport 33, // 5: StonehengeEventReq.report:type_name -> BattleReport
30, // 6: StonehengeEventResp.room:type_name -> RoomData 32, // 6: StonehengeEventResp.room:type_name -> RoomData
32, // 7: StonehengeEventResp.reward:type_name -> UserAtno 34, // 7: StonehengeEventResp.reward:type_name -> UserAtno
23, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry 25, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
24, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry 26, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
30, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData 32, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
28, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge 30, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
33, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation 35, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation
34, // 13: StonehengeBattleResp.info:type_name -> BattleInfo 36, // 13: StonehengeBattleResp.info:type_name -> BattleInfo
25, // 14: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry 27, // 14: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
26, // 15: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry 28, // 15: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
27, // 16: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry 29, // 16: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
35, // 17: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege 37, // 17: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
36, // 18: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook 38, // 18: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
37, // 19: StonehengeBookAwardResp.award:type_name -> UserAssets 39, // 19: StonehengeBookAwardResp.award:type_name -> UserAssets
38, // 20: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole 40, // 20: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
38, // 21: StonehengeEventResp.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 output_type
22, // [22:22] is the sub-list for method input_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 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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: case 0:
return &v.state return &v.state
case 1: 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{} { 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 { switch v := v.(*StonehengeBookAwardResp); i {
case 0: case 0:
return &v.state return &v.state
@ -1751,7 +1897,7 @@ func file_stonehenge_stonehenge_msg_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc, RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc,
NumEnums: 0, NumEnums: 0,
NumMessages: 28, NumMessages: 30,
NumExtensions: 0, NumExtensions: 0,
NumServices: 0, NumServices: 0,
}, },