Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
4d6db57482
@ -3,6 +3,9 @@ package pushgiftbag
|
|||||||
import (
|
import (
|
||||||
"go_dreamfactory/comm"
|
"go_dreamfactory/comm"
|
||||||
"go_dreamfactory/pb"
|
"go_dreamfactory/pb"
|
||||||
|
"go_dreamfactory/sys/configure"
|
||||||
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
// 参数校验
|
// 参数校验
|
||||||
@ -15,6 +18,8 @@ func (this *apiComp) InfoCheck(session comm.IUserSession, req *pb.PushGiftbagInf
|
|||||||
func (this *apiComp) Info(session comm.IUserSession, req *pb.PushGiftbagInfoReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) Info(session comm.IUserSession, req *pb.PushGiftbagInfoReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
info *pb.DBPushGiftbag
|
info *pb.DBPushGiftbag
|
||||||
|
conf *cfg.GamePushGiftData
|
||||||
|
bugs []*pb.DBPushGiftbagItem
|
||||||
err error
|
err error
|
||||||
)
|
)
|
||||||
if errdata = this.InfoCheck(session, req); errdata != nil {
|
if errdata = this.InfoCheck(session, req); errdata != nil {
|
||||||
@ -29,7 +34,21 @@ func (this *apiComp) Info(session comm.IUserSession, req *pb.PushGiftbagInfoReq)
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
bugs = make([]*pb.DBPushGiftbagItem, 0)
|
||||||
|
for _, v := range info.Item {
|
||||||
|
if conf, err = this.module.configure.getGamePushGiftbyid(v.Id); err != nil {
|
||||||
|
errdata = &pb.ErrorData{
|
||||||
|
Code: pb.ErrorCode_ConfigNoFound,
|
||||||
|
Title: pb.ErrorCode_ConfigNoFound.ToString(),
|
||||||
|
Message: err.Error(),
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !configure.Now().After(time.Unix(v.Stime, 0).Add(time.Duration(conf.Time) * time.Second)) {
|
||||||
|
bugs = append(bugs, v)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
info.Item = bugs
|
||||||
session.SendMsg(string(this.module.GetType()), "info", &pb.PushGiftbagInfoResp{Item: info.Item})
|
session.SendMsg(string(this.module.GetType()), "info", &pb.PushGiftbagInfoResp{Item: info.Item})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
package pushgiftbag
|
package pushgiftbag
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"go_dreamfactory/comm"
|
||||||
"go_dreamfactory/lego/core"
|
"go_dreamfactory/lego/core"
|
||||||
"go_dreamfactory/modules"
|
"go_dreamfactory/modules"
|
||||||
cfg "go_dreamfactory/sys/configure/structs"
|
cfg "go_dreamfactory/sys/configure/structs"
|
||||||
@ -33,3 +34,20 @@ func (this *configureComp) getGamePushGift() (conf []*cfg.GamePushGiftData, err
|
|||||||
conf = v.(*cfg.GamePushGift).GetDataList()
|
conf = v.(*cfg.GamePushGift).GetDataList()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//获取礼包代码
|
||||||
|
func (this *configureComp) getGamePushGiftbyid(id int32) (conf *cfg.GamePushGiftData, err error) {
|
||||||
|
var (
|
||||||
|
v interface{}
|
||||||
|
ok bool
|
||||||
|
)
|
||||||
|
if v, err = this.GetConfigure(game_pushgift); err != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if conf, ok = v.(*cfg.GamePushGift).GetDataMap()[id]; ok {
|
||||||
|
err = comm.NewNotFoundConfErr(string(this.module.GetType()), game_pushgift, id)
|
||||||
|
this.module.Errorln(err)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
@ -88,6 +88,9 @@ func (this *PushGiftbag) Delivery(session comm.IUserSession, pid string) (errdat
|
|||||||
info.Item = append(info.Item[0:i], info.Item[i+1:]...)
|
info.Item = append(info.Item[0:i], info.Item[i+1:]...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
this.model.Change(session.GetUserId(), map[string]interface{}{
|
||||||
|
"item": info.Item,
|
||||||
|
})
|
||||||
session.SendMsg(string(this.GetType()), "chanage", &pb.PushGiftbagChanagePush{Item: info.Item})
|
session.SendMsg(string(this.GetType()), "chanage", &pb.PushGiftbagChanagePush{Item: info.Item})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
38
modules/stonehenge/api_activatetalent.go
Normal file
38
modules/stonehenge/api_activatetalent.go
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
package stonehenge
|
||||||
|
|
||||||
|
import (
|
||||||
|
"go_dreamfactory/comm"
|
||||||
|
"go_dreamfactory/pb"
|
||||||
|
)
|
||||||
|
|
||||||
|
//参数校验
|
||||||
|
func (this *apiComp) ActivateTalentCheck(session comm.IUserSession, req *pb.StonehengeActivateTalentReq) (errdata *pb.ErrorData) {
|
||||||
|
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *apiComp) ActivateTalent(session comm.IUserSession, req *pb.StonehengeActivateTalentReq) (errdata *pb.ErrorData) {
|
||||||
|
var (
|
||||||
|
stone *pb.DBStonehenge
|
||||||
|
err error
|
||||||
|
)
|
||||||
|
if errdata = this.ActivateTalentCheck(session, req); errdata != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
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
|
||||||
|
}
|
||||||
|
|
||||||
|
session.SendMsg(string(this.module.GetType()), "activatetalent", &pb.StonehengeActivateTalentResp{
|
||||||
|
Node: req.Node,
|
||||||
|
Talent: stone.Talent,
|
||||||
|
Talentproperty: stone.Talentproperty,
|
||||||
|
Privilege: stone.Privilege,
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
@ -39,7 +39,14 @@ func (this *apiComp) Battle(session comm.IUserSession, req *pb.StonehengeBattleR
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 事件校验
|
// 事件校验
|
||||||
stone = this.module.modelStonehenge.GetStonehengeData(session.GetUserId())
|
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 v, ok := stone.Rooms.Eventid[req.Eventid]; !ok || v == true { // 不存在该事件
|
if v, ok := stone.Rooms.Eventid[req.Eventid]; !ok || v == true { // 不存在该事件
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_ReqParameterError,
|
Code: pb.ErrorCode_ReqParameterError,
|
||||||
|
@ -47,7 +47,14 @@ func (this *apiComp) EnterLevel(session comm.IUserSession, req *pb.StonehengeEnt
|
|||||||
}
|
}
|
||||||
portal = confStage.RoomGroup
|
portal = confStage.RoomGroup
|
||||||
this.module.Debugf("%v", confStage)
|
this.module.Debugf("%v", confStage)
|
||||||
stone = this.module.modelStonehenge.GetStonehengeData(session.GetUserId())
|
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 len(stone.Hero) != 0 || len(stone.Addweight) != 0 {
|
if len(stone.Hero) != 0 || len(stone.Addweight) != 0 {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
|
@ -37,7 +37,14 @@ func (this *apiComp) Event(session comm.IUserSession, req *pb.StonehengeEventReq
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
stone = this.module.modelStonehenge.GetStonehengeData(session.GetUserId())
|
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 v, ok := stone.Rooms.Eventid[req.Eventid]; !ok || v == true { // 不存在该事件
|
if v, ok := stone.Rooms.Eventid[req.Eventid]; !ok || v == true { // 不存在该事件
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_ReqParameterError,
|
Code: pb.ErrorCode_ReqParameterError,
|
||||||
|
@ -16,13 +16,21 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.StonehengeFinishR
|
|||||||
var (
|
var (
|
||||||
stone *pb.DBStonehenge
|
stone *pb.DBStonehenge
|
||||||
update map[string]interface{}
|
update map[string]interface{}
|
||||||
|
err error
|
||||||
)
|
)
|
||||||
update = make(map[string]interface{})
|
update = make(map[string]interface{})
|
||||||
if errdata = this.FinishCheck(session, req); errdata != nil {
|
if errdata = this.FinishCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
stone = this.module.modelStonehenge.GetStonehengeData(session.GetUserId())
|
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
|
||||||
|
}
|
||||||
|
|
||||||
stone.StageID = 0
|
stone.StageID = 0
|
||||||
update["stageID"] = stone.StageID
|
update["stageID"] = stone.StageID
|
||||||
|
@ -16,11 +16,19 @@ func (this *apiComp) GetListCheck(session comm.IUserSession, req *pb.StonehengeG
|
|||||||
func (this *apiComp) GetList(session comm.IUserSession, req *pb.StonehengeGetListReq) (errdata *pb.ErrorData) {
|
func (this *apiComp) GetList(session comm.IUserSession, req *pb.StonehengeGetListReq) (errdata *pb.ErrorData) {
|
||||||
var (
|
var (
|
||||||
stone *pb.DBStonehenge
|
stone *pb.DBStonehenge
|
||||||
|
err error
|
||||||
)
|
)
|
||||||
if errdata = this.GetListCheck(session, req); errdata != nil {
|
if errdata = this.GetListCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
stone = this.module.modelStonehenge.GetStonehengeData(session.GetUserId())
|
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 configure.Now().Unix() >= stone.Etime {
|
if configure.Now().Unix() >= stone.Etime {
|
||||||
update := make(map[string]interface{})
|
update := make(map[string]interface{})
|
||||||
|
@ -32,7 +32,14 @@ func (this *apiComp) GotoRoom(session comm.IUserSession, req *pb.StonehengeGotoR
|
|||||||
if errdata = this.GotoRoomCheck(session, req); errdata != nil {
|
if errdata = this.GotoRoomCheck(session, req); errdata != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
stone = this.module.modelStonehenge.GetStonehengeData(session.GetUserId())
|
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 stone.Rooms != nil {
|
if stone.Rooms != nil {
|
||||||
|
@ -50,21 +50,24 @@ func (this *MStonehenge) Start() (err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *MStonehenge) GetStonehengeData(uid string) *pb.DBStonehenge {
|
func (this *MStonehenge) GetStonehengeData(uid string) (info *pb.DBStonehenge, err error) {
|
||||||
stone := &pb.DBStonehenge{}
|
info = &pb.DBStonehenge{}
|
||||||
if err := this.Get(uid, stone); err != nil && mgo.MongodbNil == err { // 创建一条初始的数据
|
if err = this.Get(uid, info); err != nil && mgo.MongodbNil != err { // 创建一条初始的数据
|
||||||
stone.Id = primitive.NewObjectID().Hex()
|
return
|
||||||
stone.Uid = uid
|
|
||||||
stone.Rooms = nil // 注意初始房间为空
|
|
||||||
stone.Userbuff = make(map[int32]int32, 0)
|
|
||||||
stone.Reward = make(map[int32]bool, 0)
|
|
||||||
stone.Addweight = make(map[int32]int32, 0)
|
|
||||||
stone.Etime = utils.WeekIntervalTime()
|
|
||||||
stone.Hero = make(map[string]*pb.BattleRole)
|
|
||||||
this.Add(uid, stone)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
return stone
|
if mgo.MongodbNil == err {
|
||||||
|
info = &pb.DBStonehenge{
|
||||||
|
Id: primitive.NewObjectID().Hex(),
|
||||||
|
Uid: uid,
|
||||||
|
Userbuff: make(map[int32]int32),
|
||||||
|
Reward: make(map[int32]bool),
|
||||||
|
Addweight: make(map[int32]int32),
|
||||||
|
Etime: utils.WeekIntervalTime(),
|
||||||
|
Hero: make(map[string]*pb.BattleRole),
|
||||||
|
}
|
||||||
|
err = this.Add(uid, info)
|
||||||
|
}
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改石阵信息
|
// 修改石阵信息
|
||||||
|
@ -20,6 +20,50 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// 特权枚举
|
||||||
|
type StonehengePrivilege int32
|
||||||
|
|
||||||
|
const (
|
||||||
|
StonehengePrivilege_StonehengePrivilege_Noll StonehengePrivilege = 0
|
||||||
|
)
|
||||||
|
|
||||||
|
// Enum value maps for StonehengePrivilege.
|
||||||
|
var (
|
||||||
|
StonehengePrivilege_name = map[int32]string{
|
||||||
|
0: "StonehengePrivilege_Noll",
|
||||||
|
}
|
||||||
|
StonehengePrivilege_value = map[string]int32{
|
||||||
|
"StonehengePrivilege_Noll": 0,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
func (x StonehengePrivilege) Enum() *StonehengePrivilege {
|
||||||
|
p := new(StonehengePrivilege)
|
||||||
|
*p = x
|
||||||
|
return p
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x StonehengePrivilege) String() string {
|
||||||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (StonehengePrivilege) Descriptor() protoreflect.EnumDescriptor {
|
||||||
|
return file_stonehenge_stonehenge_db_proto_enumTypes[0].Descriptor()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (StonehengePrivilege) Type() protoreflect.EnumType {
|
||||||
|
return &file_stonehenge_stonehenge_db_proto_enumTypes[0]
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x StonehengePrivilege) Number() protoreflect.EnumNumber {
|
||||||
|
return protoreflect.EnumNumber(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use StonehengePrivilege.Descriptor instead.
|
||||||
|
func (StonehengePrivilege) EnumDescriptor() ([]byte, []int) {
|
||||||
|
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
// 关卡信息
|
// 关卡信息
|
||||||
type RoomData struct {
|
type RoomData struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
@ -150,6 +194,9 @@ type DBStonehenge struct {
|
|||||||
Reward map[int32]bool `protobuf:"bytes,10,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 是否首通 key:stageid
|
Reward map[int32]bool `protobuf:"bytes,10,rep,name=reward,proto3" json:"reward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 是否首通 key:stageid
|
||||||
Addweight map[int32]int32 `protobuf:"bytes,11,rep,name=addweight,proto3" json:"addweight" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 选择buff权重增加 key 类型
|
Addweight map[int32]int32 `protobuf:"bytes,11,rep,name=addweight,proto3" json:"addweight" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` // 选择buff权重增加 key 类型
|
||||||
Etime int64 `protobuf:"varint,12,opt,name=etime,proto3" json:"etime"` // 结算时间
|
Etime int64 `protobuf:"varint,12,opt,name=etime,proto3" json:"etime"` // 结算时间
|
||||||
|
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"` //解锁特权
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DBStonehenge) Reset() {
|
func (x *DBStonehenge) Reset() {
|
||||||
@ -268,6 +315,27 @@ func (x *DBStonehenge) GetEtime() int64 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DBStonehenge) GetTalent() map[int32]bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talent
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBStonehenge) GetTalentproperty() map[string]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talentproperty
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *DBStonehenge) GetPrivilege() []StonehengePrivilege {
|
||||||
|
if x != nil {
|
||||||
|
return x.Privilege
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
type StageData struct {
|
type StageData struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
@ -416,7 +484,7 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
|||||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x42, 0x6f, 0x78, 0x45, 0x6e, 0x74, 0x72,
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x36, 0x0a, 0x08, 0x42, 0x6f, 0x78, 0x45, 0x6e, 0x74, 0x72,
|
||||||
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
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,
|
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, 0xac, 0x05,
|
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, 0x12, 0x0e,
|
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, 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,
|
0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64,
|
||||||
@ -444,20 +512,39 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
|||||||
0x2e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
0x2e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
||||||
0x09, 0x61, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74,
|
0x09, 0x61, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x74,
|
||||||
0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65,
|
0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x65, 0x74, 0x69, 0x6d, 0x65,
|
||||||
0x1a, 0x3b, 0x0a, 0x0d, 0x55, 0x73, 0x65, 0x72, 0x62, 0x75, 0x66, 0x66, 0x45, 0x6e, 0x74, 0x72,
|
0x12, 0x31, 0x0a, 0x06, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b,
|
||||||
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03,
|
0x32, 0x19, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e,
|
||||||
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x74, 0x61, 0x6c,
|
||||||
0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x44, 0x0a,
|
0x65, 0x6e, 0x74, 0x12, 0x49, 0x0a, 0x0e, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f,
|
||||||
0x09, 0x48, 0x65, 0x72, 0x6f, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x44, 0x42,
|
||||||
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05,
|
0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x2e, 0x54, 0x61, 0x6c, 0x65, 0x6e,
|
||||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61,
|
0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e,
|
||||||
0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
0x74, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x32,
|
||||||
0x02, 0x38, 0x01, 0x1a, 0x39, 0x0a, 0x0b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74,
|
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, 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,
|
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,
|
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,
|
0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x39,
|
||||||
0x0a, 0x0e, 0x41, 0x64, 0x64, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
0x0a, 0x0b, 0x54, 0x61, 0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
||||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
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,
|
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,
|
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,
|
0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x61, 0x69,
|
||||||
@ -476,8 +563,11 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
|||||||
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b,
|
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,
|
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,
|
0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x76,
|
||||||
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x33, 0x0a, 0x13, 0x53, 0x74, 0x6f, 0x6e,
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
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 (
|
var (
|
||||||
@ -492,37 +582,44 @@ func file_stonehenge_stonehenge_db_proto_rawDescGZIP() []byte {
|
|||||||
return file_stonehenge_stonehenge_db_proto_rawDescData
|
return file_stonehenge_stonehenge_db_proto_rawDescData
|
||||||
}
|
}
|
||||||
|
|
||||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
var file_stonehenge_stonehenge_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
|
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||||
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||||
(*RoomData)(nil), // 0: RoomData
|
(StonehengePrivilege)(0), // 0: StonehengePrivilege
|
||||||
(*DBStonehenge)(nil), // 1: DBStonehenge
|
(*RoomData)(nil), // 1: RoomData
|
||||||
(*StageData)(nil), // 2: StageData
|
(*DBStonehenge)(nil), // 2: DBStonehenge
|
||||||
(*DBStoneBoss)(nil), // 3: DBStoneBoss
|
(*StageData)(nil), // 3: StageData
|
||||||
nil, // 4: RoomData.EventidEntry
|
(*DBStoneBoss)(nil), // 4: DBStoneBoss
|
||||||
nil, // 5: RoomData.BoxEntry
|
nil, // 5: RoomData.EventidEntry
|
||||||
nil, // 6: DBStonehenge.UserbuffEntry
|
nil, // 6: RoomData.BoxEntry
|
||||||
nil, // 7: DBStonehenge.HeroEntry
|
nil, // 7: DBStonehenge.UserbuffEntry
|
||||||
nil, // 8: DBStonehenge.RewardEntry
|
nil, // 8: DBStonehenge.HeroEntry
|
||||||
nil, // 9: DBStonehenge.AddweightEntry
|
nil, // 9: DBStonehenge.RewardEntry
|
||||||
nil, // 10: DBStoneBoss.BossstageEntry
|
nil, // 10: DBStonehenge.AddweightEntry
|
||||||
(*BattleRole)(nil), // 11: BattleRole
|
nil, // 11: DBStonehenge.TalentEntry
|
||||||
|
nil, // 12: DBStonehenge.TalentpropertyEntry
|
||||||
|
nil, // 13: DBStoneBoss.BossstageEntry
|
||||||
|
(*BattleRole)(nil), // 14: BattleRole
|
||||||
}
|
}
|
||||||
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||||||
4, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
5, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||||
5, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
6, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||||||
0, // 2: DBStonehenge.rooms:type_name -> RoomData
|
1, // 2: DBStonehenge.rooms:type_name -> RoomData
|
||||||
6, // 3: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
7, // 3: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||||||
7, // 4: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
8, // 4: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||||||
8, // 5: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
9, // 5: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||||||
9, // 6: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
10, // 6: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||||||
10, // 7: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
11, // 7: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||||
11, // 8: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
12, // 8: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||||
2, // 9: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
0, // 9: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||||||
10, // [10:10] is the sub-list for method output_type
|
13, // 10: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||||
10, // [10:10] is the sub-list for method input_type
|
14, // 11: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||||
10, // [10:10] is the sub-list for extension type_name
|
3, // 12: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||||
10, // [10:10] is the sub-list for extension extendee
|
13, // [13:13] is the sub-list for method output_type
|
||||||
0, // [0:10] is the sub-list for field type_name
|
13, // [13:13] is the sub-list for method input_type
|
||||||
|
13, // [13:13] is the sub-list for extension type_name
|
||||||
|
13, // [13:13] is the sub-list for extension extendee
|
||||||
|
0, // [0:13] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
||||||
@ -586,13 +683,14 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
|||||||
File: protoimpl.DescBuilder{
|
File: protoimpl.DescBuilder{
|
||||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
||||||
NumEnums: 0,
|
NumEnums: 1,
|
||||||
NumMessages: 11,
|
NumMessages: 13,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
GoTypes: file_stonehenge_stonehenge_db_proto_goTypes,
|
GoTypes: file_stonehenge_stonehenge_db_proto_goTypes,
|
||||||
DependencyIndexes: file_stonehenge_stonehenge_db_proto_depIdxs,
|
DependencyIndexes: file_stonehenge_stonehenge_db_proto_depIdxs,
|
||||||
|
EnumInfos: file_stonehenge_stonehenge_db_proto_enumTypes,
|
||||||
MessageInfos: file_stonehenge_stonehenge_db_proto_msgTypes,
|
MessageInfos: file_stonehenge_stonehenge_db_proto_msgTypes,
|
||||||
}.Build()
|
}.Build()
|
||||||
File_stonehenge_stonehenge_db_proto = out.File
|
File_stonehenge_stonehenge_db_proto = out.File
|
||||||
|
@ -794,6 +794,126 @@ func (x *StonehengeBattleResp) GetInfo() *BattleInfo {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//激活天赋
|
||||||
|
type StonehengeActivateTalentReq struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Node int32 `protobuf:"varint,1,opt,name=node,proto3" json:"node"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) Reset() {
|
||||||
|
*x = StonehengeActivateTalentReq{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[14]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StonehengeActivateTalentReq) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) 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 StonehengeActivateTalentReq.ProtoReflect.Descriptor instead.
|
||||||
|
func (*StonehengeActivateTalentReq) Descriptor() ([]byte, []int) {
|
||||||
|
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{14}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentReq) GetNode() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Node
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
//激活天赋
|
||||||
|
type StonehengeActivateTalentResp struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Node int32 `protobuf:"varint,1,opt,name=node,proto3" json:"node"`
|
||||||
|
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"` //解锁特权
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) Reset() {
|
||||||
|
*x = StonehengeActivateTalentResp{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[15]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*StonehengeActivateTalentResp) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) 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 StonehengeActivateTalentResp.ProtoReflect.Descriptor instead.
|
||||||
|
func (*StonehengeActivateTalentResp) Descriptor() ([]byte, []int) {
|
||||||
|
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{15}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetNode() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Node
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetTalent() map[int32]bool {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talent
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetTalentproperty() map[string]int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Talentproperty
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *StonehengeActivateTalentResp) GetPrivilege() []StonehengePrivilege {
|
||||||
|
if x != nil {
|
||||||
|
return x.Privilege
|
||||||
|
}
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||||
@ -895,8 +1015,36 @@ 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, 0x42, 0x06, 0x5a,
|
0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x31, 0x0a,
|
||||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
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,
|
||||||
|
0x0d, 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, 0x0e, 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, 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, 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, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||||
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -911,7 +1059,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, 17)
|
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||||
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
|
||||||
@ -927,40 +1075,48 @@ 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
|
||||||
nil, // 14: StonehengeEnterLevelResp.HeroEntry
|
(*StonehengeActivateTalentReq)(nil), // 14: StonehengeActivateTalentReq
|
||||||
nil, // 15: StonehengeEventResp.HeroEntry
|
(*StonehengeActivateTalentResp)(nil), // 15: StonehengeActivateTalentResp
|
||||||
nil, // 16: StonehengeEventResp.UserbuffEntry
|
nil, // 16: StonehengeEnterLevelResp.HeroEntry
|
||||||
(*DBStonehenge)(nil), // 17: DBStonehenge
|
nil, // 17: StonehengeEventResp.HeroEntry
|
||||||
(*DBStoneBoss)(nil), // 18: DBStoneBoss
|
nil, // 18: StonehengeEventResp.UserbuffEntry
|
||||||
(*RoomData)(nil), // 19: RoomData
|
nil, // 19: StonehengeActivateTalentResp.TalentEntry
|
||||||
(*BattleReport)(nil), // 20: BattleReport
|
nil, // 20: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||||
(*UserAtno)(nil), // 21: UserAtno
|
(*DBStonehenge)(nil), // 21: DBStonehenge
|
||||||
(*BattleFormation)(nil), // 22: BattleFormation
|
(*DBStoneBoss)(nil), // 22: DBStoneBoss
|
||||||
(*BattleInfo)(nil), // 23: BattleInfo
|
(*RoomData)(nil), // 23: RoomData
|
||||||
(*BattleRole)(nil), // 24: BattleRole
|
(*BattleReport)(nil), // 24: BattleReport
|
||||||
|
(*UserAtno)(nil), // 25: UserAtno
|
||||||
|
(*BattleFormation)(nil), // 26: BattleFormation
|
||||||
|
(*BattleInfo)(nil), // 27: BattleInfo
|
||||||
|
(StonehengePrivilege)(0), // 28: StonehengePrivilege
|
||||||
|
(*BattleRole)(nil), // 29: BattleRole
|
||||||
}
|
}
|
||||||
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
||||||
17, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
21, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||||
18, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
22, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||||
14, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
16, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||||
19, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
23, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||||
19, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
23, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||||
20, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
24, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||||
19, // 6: StonehengeEventResp.room:type_name -> RoomData
|
23, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||||
21, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
25, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||||
15, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
17, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||||
16, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
18, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||||
19, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
23, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||||
17, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
21, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||||
22, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation
|
26, // 12: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||||
23, // 13: StonehengeBattleResp.info:type_name -> BattleInfo
|
27, // 13: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||||
24, // 14: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
19, // 14: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||||
24, // 15: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
20, // 15: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||||
16, // [16:16] is the sub-list for method output_type
|
28, // 16: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||||
16, // [16:16] is the sub-list for method input_type
|
29, // 17: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||||
16, // [16:16] is the sub-list for extension type_name
|
29, // 18: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||||
16, // [16:16] is the sub-list for extension extendee
|
19, // [19:19] is the sub-list for method output_type
|
||||||
0, // [0:16] is the sub-list for field type_name
|
19, // [19:19] is the sub-list for method input_type
|
||||||
|
19, // [19:19] is the sub-list for extension type_name
|
||||||
|
19, // [19:19] is the sub-list for extension extendee
|
||||||
|
0, // [0:19] is the sub-list for field type_name
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
||||||
@ -1141,6 +1297,30 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
file_stonehenge_stonehenge_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*StonehengeActivateTalentReq); 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[15].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*StonehengeActivateTalentResp); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
type x struct{}
|
type x struct{}
|
||||||
out := protoimpl.TypeBuilder{
|
out := protoimpl.TypeBuilder{
|
||||||
@ -1148,7 +1328,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: 17,
|
NumMessages: 21,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user