上传周长协议
This commit is contained in:
parent
6b42df800b
commit
030eb2c358
@ -50,6 +50,10 @@ func (this *apiComp) GetList(session comm.IUserSession, req *pb.StonehengeGetLis
|
||||
update["addweight"] = stone.Addweight
|
||||
stone.Etime = utils.WeekIntervalTime()
|
||||
update["etime"] = stone.Etime
|
||||
stone.Integral = 0
|
||||
update["integral"] = stone.Integral
|
||||
stone.Weeklyreward = make(map[int32]bool)
|
||||
update["weeklyreward"] = stone.Weeklyreward
|
||||
this.module.modelStonehenge.ChangeStonehengeData(session.GetUserId(), update)
|
||||
}
|
||||
|
||||
|
96
modules/stonehenge/api_weekAward.go
Normal file
96
modules/stonehenge/api_weekAward.go
Normal file
@ -0,0 +1,96 @@
|
||||
package stonehenge
|
||||
|
||||
import (
|
||||
"go_dreamfactory/comm"
|
||||
"go_dreamfactory/pb"
|
||||
cfg "go_dreamfactory/sys/configure/structs"
|
||||
)
|
||||
|
||||
//参数校验
|
||||
func (this *apiComp) WeekAwardCheck(session comm.IUserSession, req *pb.StonehengeWeekAwardReq) (errdata *pb.ErrorData) {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
func (this *apiComp) WeekAward(session comm.IUserSession, req *pb.StonehengeWeekAwardReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
info *pb.DBStonehenge
|
||||
confs []*cfg.GameStoneWeekData
|
||||
conf *cfg.GameStoneWeekData
|
||||
weekaward []*cfg.Gameatn
|
||||
award []*pb.UserAssets
|
||||
ok bool
|
||||
err error
|
||||
)
|
||||
if errdata = this.WeekAwardCheck(session, req); errdata != nil {
|
||||
return
|
||||
}
|
||||
if info, 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
|
||||
}
|
||||
weekaward = make([]*cfg.Gameatn, 0)
|
||||
if req.Id == 0 {
|
||||
if confs, err = this.module.configure.getGameStoneWeekDatas(); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.String(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
for _, v := range confs {
|
||||
if _, ok = info.Weeklyreward[v.Id]; !ok {
|
||||
if info.Integral >= v.Point.N {
|
||||
info.Weeklyreward[v.Id] = true
|
||||
weekaward = append(weekaward, v.Rewarditem...)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
if conf, err = this.module.configure.getGameStoneWeekData(req.Id); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_ConfigNoFound,
|
||||
Title: pb.ErrorCode_ConfigNoFound.String(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
return
|
||||
}
|
||||
if _, ok = info.Weeklyreward[req.Id]; !ok {
|
||||
if info.Integral >= conf.Point.N {
|
||||
info.Weeklyreward[req.Id] = true
|
||||
weekaward = append(weekaward, conf.Rewarditem...)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if errdata = this.module.DispenseRes(session, weekaward, true); errdata != nil {
|
||||
return
|
||||
}
|
||||
award = make([]*pb.UserAssets, 0)
|
||||
for _, v := range weekaward {
|
||||
award = append(award, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
|
||||
if err = this.module.modelStonehenge.Change(session.GetUserId(), map[string]interface{}{
|
||||
"weeklyreward": info.Weeklyreward,
|
||||
}); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
Title: pb.ErrorCode_DBError.String(),
|
||||
Message: err.Error(),
|
||||
}
|
||||
}
|
||||
|
||||
session.SendMsg(string(this.module.GetType()), "weekaward", &pb.StonehengeWeekAwardResp{Id: req.Id, Weeklyreward: info.Weeklyreward, Award: award})
|
||||
return
|
||||
}
|
@ -26,6 +26,7 @@ const (
|
||||
game_storeconf = "game_stonestore.json" // 商店配置
|
||||
game_stoneillustrated = "game_stoneillustrated.json"
|
||||
game_storyconf = "game_stonestory.json" // 剧情表
|
||||
game_stoneweek = "game_stoneweek.json" //周长
|
||||
)
|
||||
|
||||
///背包配置管理组件
|
||||
@ -93,6 +94,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
|
||||
err = this.LoadConfigure(game_battleconf, cfg.NewGameStoneBattle)
|
||||
err = this.LoadConfigure(game_stonetalent, cfg.NewGameStoneTalent)
|
||||
err = this.LoadConfigure(game_storeconf, cfg.NewGameStoneStore)
|
||||
err = this.LoadConfigure(game_stoneweek, cfg.NewGameStoneWeek)
|
||||
//err = this.LoadConfigure(game_storyconf, cfg.NewGameStoneStory)
|
||||
configure.RegisterConfigure(game_stageconf, cfg.NewGameStoneStage, this.LoadGameStoneStage)
|
||||
configure.RegisterConfigure(game_buffconf, cfg.NewGameStoneBuff, this.LoadGameStoneBuff)
|
||||
@ -755,3 +757,34 @@ func (this *configureComp) GetStoneStoryConf(id, step int32) (data *cfg.GameSton
|
||||
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_stonetalent, fmt.Sprintf("StoryGroupId:%d,step:%d", id, step))
|
||||
return
|
||||
}
|
||||
|
||||
func (this *configureComp) getGameStoneWeekData(id int32) (conf *cfg.GameStoneWeekData, err error) {
|
||||
var (
|
||||
v interface{}
|
||||
ok bool
|
||||
)
|
||||
if v, err = this.GetConfigure(game_stoneweek); err != nil {
|
||||
return
|
||||
} else {
|
||||
if conf, ok = v.(*cfg.GameStoneWeek).GetDataMap()[id]; !ok {
|
||||
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_stoneweek, id)
|
||||
this.module.Errorln(err)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
func (this *configureComp) getGameStoneWeekDatas() (confs []*cfg.GameStoneWeekData, err error) {
|
||||
var (
|
||||
v interface{}
|
||||
)
|
||||
if v, err = this.GetConfigure(game_stoneweek); err != nil {
|
||||
return
|
||||
} else {
|
||||
confs = v.(*cfg.GameStoneWeek).GetDataList()
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
@ -205,6 +205,8 @@ type DBStonehenge struct {
|
||||
Talent map[int32]bool `protobuf:"bytes,13,rep,name=talent,proto3" json:"talent" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋树
|
||||
Talentproperty map[string]int32 `protobuf:"bytes,14,rep,name=talentproperty,proto3" json:"talentproperty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //天赋属性
|
||||
Privilege []StonehengePrivilege `protobuf:"varint,15,rep,packed,name=privilege,proto3,enum=StonehengePrivilege" json:"privilege"` //解锁特权
|
||||
Integral int32 `protobuf:"varint,16,opt,name=integral,proto3" json:"integral"` //积分
|
||||
Weeklyreward map[int32]bool `protobuf:"bytes,17,rep,name=weeklyreward,proto3" json:"weeklyreward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //周长奖励领取
|
||||
}
|
||||
|
||||
func (x *DBStonehenge) Reset() {
|
||||
@ -344,6 +346,20 @@ func (x *DBStonehenge) GetPrivilege() []StonehengePrivilege {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DBStonehenge) GetIntegral() int32 {
|
||||
if x != nil {
|
||||
return x.Integral
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DBStonehenge) GetWeeklyreward() map[int32]bool {
|
||||
if x != nil {
|
||||
return x.Weeklyreward
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type StageData struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@ -627,7 +643,7 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
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,
|
||||
0xdc, 0x07, 0x0a, 0x0c, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65,
|
||||
0xfe, 0x08, 0x0a, 0x0c, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
|
||||
0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x67, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20,
|
||||
@ -665,75 +681,85 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
0x12, 0x32, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x18, 0x0f, 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, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66,
|
||||
0x6c, 0x65, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
|
||||
0x18, 0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
|
||||
0x12, 0x43, 0x0a, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64,
|
||||
0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65,
|
||||
0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61,
|
||||
0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72,
|
||||
0x65, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66,
|
||||
0x66, 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, 0x1a, 0x44, 0x0a, 0x09, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
|
||||
0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x77, 0x61,
|
||||
0x72, 0x64, 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, 0x3c, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 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, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
||||
0x01, 0x1a, 0x44, 0x0a, 0x09, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x77, 0x61, 0x72,
|
||||
0x64, 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, 0x3c, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 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, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||||
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, 0x5f,
|
||||
0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6d,
|
||||
0x61, 0x69, 0x6e, 0x65, 0x62, 0x75, 0x66, 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09,
|
||||
0x6d, 0x61, 0x69, 0x6e, 0x65, 0x62, 0x75, 0x66, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x65,
|
||||
0x6d, 0x79, 0x62, 0x75, 0x66, 0x66, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09, 0x65, 0x6e,
|
||||
0x65, 0x6d, 0x79, 0x62, 0x75, 0x66, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69,
|
||||
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69, 0x64, 0x22,
|
||||
0xa8, 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x6f, 0x73, 0x73, 0x12,
|
||||
0x39, 0x0a, 0x09, 0x62, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x6f, 0x73, 0x73,
|
||||
0x2e, 0x42, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
||||
0x09, 0x62, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x1a, 0x48, 0x0a, 0x0e, 0x42, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x01, 0x0a, 0x10, 0x44,
|
||||
0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x12,
|
||||
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
|
||||
0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69,
|
||||
0x64, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b,
|
||||
0x32, 0x1c, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42,
|
||||
0x6f, 0x6f, 0x6b, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
|
||||
0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x50, 0x0a, 0x0a, 0x41, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e,
|
||||
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65,
|
||||
0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb6, 0x01, 0x0a, 0x15, 0x44, 0x42, 0x53, 0x74,
|
||||
0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72,
|
||||
0x64, 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, 0x62, 0x6f, 0x6f, 0x6b, 0x73,
|
||||
0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x37, 0x0a,
|
||||
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44,
|
||||
0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41,
|
||||
0x77, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
||||
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45,
|
||||
0x01, 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, 0x1a,
|
||||
0x3f, 0x0a, 0x11, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 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,
|
||||
0x2a, 0x33, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72,
|
||||
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x74, 0x6f, 0x6e, 0x65,
|
||||
0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x5f, 0x4e,
|
||||
0x6f, 0x6c, 0x6c, 0x10, 0x00, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x22, 0x5f, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a,
|
||||
0x09, 0x6d, 0x61, 0x69, 0x6e, 0x65, 0x62, 0x75, 0x66, 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05,
|
||||
0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x65, 0x62, 0x75, 0x66, 0x66, 0x12, 0x1c, 0x0a, 0x09, 0x65,
|
||||
0x6e, 0x65, 0x6d, 0x79, 0x62, 0x75, 0x66, 0x66, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x09,
|
||||
0x65, 0x6e, 0x65, 0x6d, 0x79, 0x62, 0x75, 0x66, 0x66, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x6f, 0x6f,
|
||||
0x6d, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x6f, 0x6f, 0x6d, 0x69,
|
||||
0x64, 0x22, 0xa8, 0x01, 0x0a, 0x0b, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x6f, 0x73,
|
||||
0x73, 0x12, 0x39, 0x0a, 0x09, 0x62, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x01,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x42, 0x6f,
|
||||
0x73, 0x73, 0x2e, 0x42, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x52, 0x09, 0x62, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x72, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x74, 0x69,
|
||||
0x6d, 0x65, 0x1a, 0x48, 0x0a, 0x0e, 0x42, 0x6f, 0x73, 0x73, 0x73, 0x74, 0x61, 0x67, 0x65, 0x45,
|
||||
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74,
|
||||
0x61, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xba, 0x01, 0x0a,
|
||||
0x10, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f,
|
||||
0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
|
||||
0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
||||
0x75, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x04, 0x20, 0x03,
|
||||
0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67,
|
||||
0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x52, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x50, 0x0a, 0x0a, 0x41, 0x77, 0x61, 0x72, 0x64,
|
||||
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65,
|
||||
0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb6, 0x01, 0x0a, 0x15, 0x44, 0x42,
|
||||
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f, 0x6b, 0x41, 0x77,
|
||||
0x61, 0x72, 0x64, 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, 0x62, 0x6f, 0x6f,
|
||||
0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12,
|
||||
0x37, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
|
||||
0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x42, 0x6f, 0x6f,
|
||||
0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x67,
|
||||
0x65, 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, 0x2a, 0x33, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65,
|
||||
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x74, 0x6f,
|
||||
0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65,
|
||||
0x5f, 0x4e, 0x6f, 0x6c, 0x6c, 0x10, 0x00, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -749,7 +775,7 @@ func file_stonehenge_stonehenge_db_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_stonehenge_stonehenge_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
||||
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||
(StonehengePrivilege)(0), // 0: StonehengePrivilege
|
||||
(*RoomData)(nil), // 1: RoomData
|
||||
@ -767,10 +793,11 @@ var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||
nil, // 13: DBStonehenge.AddweightEntry
|
||||
nil, // 14: DBStonehenge.TalentEntry
|
||||
nil, // 15: DBStonehenge.TalentpropertyEntry
|
||||
nil, // 16: DBStoneBoss.BossstageEntry
|
||||
nil, // 17: DBStonehengeBook.AwardEntry
|
||||
nil, // 18: DBStonehengeBookAward.StageEntry
|
||||
(*BattleRole)(nil), // 19: BattleRole
|
||||
nil, // 16: DBStonehenge.WeeklyrewardEntry
|
||||
nil, // 17: DBStoneBoss.BossstageEntry
|
||||
nil, // 18: DBStonehengeBook.AwardEntry
|
||||
nil, // 19: DBStonehengeBookAward.StageEntry
|
||||
(*BattleRole)(nil), // 20: BattleRole
|
||||
}
|
||||
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||||
7, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||
@ -784,17 +811,18 @@ var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||||
14, // 8: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||
15, // 9: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||
0, // 10: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||||
16, // 11: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||
17, // 12: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||||
18, // 13: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||||
19, // 14: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||
3, // 15: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||
6, // 16: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||||
17, // [17:17] is the sub-list for method output_type
|
||||
17, // [17:17] is the sub-list for method input_type
|
||||
17, // [17:17] is the sub-list for extension type_name
|
||||
17, // [17:17] is the sub-list for extension extendee
|
||||
0, // [0:17] is the sub-list for field type_name
|
||||
16, // 11: DBStonehenge.weeklyreward:type_name -> DBStonehenge.WeeklyrewardEntry
|
||||
17, // 12: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||
18, // 13: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||||
19, // 14: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||||
20, // 15: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||
3, // 16: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||
6, // 17: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||||
18, // [18:18] is the sub-list for method output_type
|
||||
18, // [18:18] is the sub-list for method input_type
|
||||
18, // [18:18] is the sub-list for extension type_name
|
||||
18, // [18:18] is the sub-list for extension extendee
|
||||
0, // [0:18] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
||||
@ -883,7 +911,7 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 18,
|
||||
NumMessages: 19,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
@ -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 {
|
||||
@ -1224,6 +1335,118 @@ func (x *StonehengeBookAwardResp) GetAward() []*UserAssets {
|
||||
return nil
|
||||
}
|
||||
|
||||
//周长奖励 领取
|
||||
type StonehengeWeekAwardReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //序号id 0表示 一键领取 非零 表示领取目标奖励
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardReq) Reset() {
|
||||
*x = StonehengeWeekAwardReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[24]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StonehengeWeekAwardReq) ProtoMessage() {}
|
||||
|
||||
func (x *StonehengeWeekAwardReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[24]
|
||||
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 StonehengeWeekAwardReq.ProtoReflect.Descriptor instead.
|
||||
func (*StonehengeWeekAwardReq) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{24}
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardReq) GetId() int32 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
//周长奖励 领取回应
|
||||
type StonehengeWeekAwardResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
|
||||
Weeklyreward map[int32]bool `protobuf:"bytes,2,rep,name=weeklyreward,proto3" json:"weeklyreward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //周长奖励领取
|
||||
Award []*UserAssets `protobuf:"bytes,3,rep,name=award,proto3" json:"award"` //奖励
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardResp) Reset() {
|
||||
*x = StonehengeWeekAwardResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[25]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StonehengeWeekAwardResp) ProtoMessage() {}
|
||||
|
||||
func (x *StonehengeWeekAwardResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[25]
|
||||
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 StonehengeWeekAwardResp.ProtoReflect.Descriptor instead.
|
||||
func (*StonehengeWeekAwardResp) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{25}
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardResp) GetId() int32 {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardResp) GetWeeklyreward() map[int32]bool {
|
||||
if x != nil {
|
||||
return x.Weeklyreward
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *StonehengeWeekAwardResp) GetAward() []*UserAssets {
|
||||
if x != nil {
|
||||
return x.Award
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||
@ -1325,65 +1548,90 @@ 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, 0x22, 0x28, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x57,
|
||||
0x65, 0x65, 0x6b, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0xdd, 0x01, 0x0a, 0x17,
|
||||
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x57, 0x65, 0x65, 0x6b, 0x41, 0x77,
|
||||
0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x4e, 0x0a, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x6c,
|
||||
0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e,
|
||||
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x57, 0x65, 0x65, 0x6b, 0x41, 0x77,
|
||||
0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65,
|
||||
0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x6c,
|
||||
0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 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, 0x1a, 0x3f, 0x0a, 0x11, 0x57, 0x65,
|
||||
0x65, 0x6b, 0x6c, 0x79, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -1398,7 +1646,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, 33)
|
||||
var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
||||
(*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq
|
||||
(*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp
|
||||
@ -1414,60 +1662,67 @@ 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
|
||||
(*StonehengeWeekAwardReq)(nil), // 24: StonehengeWeekAwardReq
|
||||
(*StonehengeWeekAwardResp)(nil), // 25: StonehengeWeekAwardResp
|
||||
nil, // 26: StonehengeEnterLevelResp.HeroEntry
|
||||
nil, // 27: StonehengeEventResp.HeroEntry
|
||||
nil, // 28: StonehengeEventResp.UserbuffEntry
|
||||
nil, // 29: StonehengeStoreResp.ShopEntry
|
||||
nil, // 30: StonehengeActivateTalentResp.TalentEntry
|
||||
nil, // 31: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
nil, // 32: StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
(*DBStonehenge)(nil), // 33: DBStonehenge
|
||||
(*DBStoneBoss)(nil), // 34: DBStoneBoss
|
||||
(*RoomData)(nil), // 35: RoomData
|
||||
(*BattleReport)(nil), // 36: BattleReport
|
||||
(*UserAtno)(nil), // 37: UserAtno
|
||||
(*BattleFormation)(nil), // 38: BattleFormation
|
||||
(*BattleInfo)(nil), // 39: BattleInfo
|
||||
(StonehengePrivilege)(0), // 40: StonehengePrivilege
|
||||
(*DBStonehengeBook)(nil), // 41: DBStonehengeBook
|
||||
(*UserAssets)(nil), // 42: UserAssets
|
||||
(*BattleRole)(nil), // 43: 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
|
||||
22, // [22:22] is the sub-list for method output_type
|
||||
22, // [22:22] is the sub-list for method input_type
|
||||
22, // [22:22] is the sub-list for extension type_name
|
||||
22, // [22:22] is the sub-list for extension extendee
|
||||
0, // [0:22] is the sub-list for field type_name
|
||||
33, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||
34, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||
26, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||
35, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||
35, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||
36, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||
35, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||
37, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||
27, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||
28, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||
35, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||
33, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||
38, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||
39, // 13: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||
29, // 14: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
||||
30, // 15: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||
31, // 16: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
40, // 17: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||
41, // 18: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
||||
42, // 19: StonehengeBookAwardResp.award:type_name -> UserAssets
|
||||
32, // 20: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
42, // 21: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
||||
43, // 22: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||
43, // 23: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||
24, // [24:24] is the sub-list for method output_type
|
||||
24, // [24:24] is the sub-list for method input_type
|
||||
24, // [24:24] is the sub-list for extension type_name
|
||||
24, // [24:24] is the sub-list for extension extendee
|
||||
0, // [0:24] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
||||
@ -1649,7 +1904,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 +1916,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 +1928,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 +1940,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 +1952,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 +1964,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 +1976,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 +1988,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
|
||||
@ -1744,6 +2023,30 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stonehenge_stonehenge_msg_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StonehengeWeekAwardReq); 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[25].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StonehengeWeekAwardResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
}
|
||||
type x struct{}
|
||||
out := protoimpl.TypeBuilder{
|
||||
@ -1751,7 +2054,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: 33,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user