上传主线返回信息优化
This commit is contained in:
parent
7f6799d5d8
commit
e1c8df0b9a
@ -24,7 +24,8 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MainlineCh
|
||||
var (
|
||||
conf *cfg.GameMainStageData
|
||||
info *pb.DBMainline
|
||||
aeward []*pb.UserAssets = make([]*pb.UserAssets, 0)
|
||||
atno []*pb.UserAtno
|
||||
aeward []*pb.UserAtno = make([]*pb.UserAtno, 0)
|
||||
isWin bool
|
||||
first bool // 判断是否是首通
|
||||
star int32 // 评星
|
||||
@ -114,40 +115,43 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MainlineCh
|
||||
this.module.modelMline.updateprogress(info)
|
||||
|
||||
if first { // 发奖
|
||||
if errdata = this.module.DispenseRes(session, conf.Firstaward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, conf.Firstaward, true); errdata != nil {
|
||||
this.module.Debugf("Mline first DispenseRes err:+%v", conf.Firstaward)
|
||||
}
|
||||
for _, v := range conf.Firstaward {
|
||||
aeward = append(aeward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
aeward = append(aeward, atno...)
|
||||
// for _, v := range conf.Firstaward {
|
||||
// aeward = append(aeward, &pb.UserAssets{
|
||||
// A: v.A,
|
||||
// T: v.T,
|
||||
// N: v.N,
|
||||
// })
|
||||
// }
|
||||
} else {
|
||||
if errdata = this.module.DispenseRes(session, conf.Commonaward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, conf.Commonaward, true); errdata != nil {
|
||||
this.module.Debugf("Mline Commonaward DispenseRes err:+%v", conf.Commonaward)
|
||||
}
|
||||
for _, v := range conf.Commonaward {
|
||||
aeward = append(aeward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
aeward = append(aeward, atno...)
|
||||
// for _, v := range conf.Commonaward {
|
||||
// aeward = append(aeward, &pb.UserAssets{
|
||||
// A: v.A,
|
||||
// T: v.T,
|
||||
// N: v.N,
|
||||
// })
|
||||
// }
|
||||
}
|
||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||
if lotteryward := this.module.ModuleTools.GetGroupDataByLottery(conf.Lotteryward, user.Vip, user.Lv); len(lotteryward) > 0 {
|
||||
if errdata = this.module.DispenseRes(session, lotteryward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, lotteryward, true); errdata != nil {
|
||||
this.module.Debugf("Mline lotteryward DispenseRes err:+%v", lotteryward)
|
||||
}
|
||||
for _, v := range lotteryward {
|
||||
aeward = append(aeward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
aeward = append(aeward, atno...)
|
||||
// for _, v := range lotteryward {
|
||||
// aeward = append(aeward, &pb.UserAssets{
|
||||
// A: v.A,
|
||||
// T: v.T,
|
||||
// N: v.N,
|
||||
// })
|
||||
// }
|
||||
}
|
||||
|
||||
// 加英雄经验
|
||||
|
@ -24,7 +24,8 @@ func (this *apiComp) LevelPass(session comm.IUserSession, req *pb.MainlineLevelP
|
||||
var (
|
||||
conf *cfg.GameMainStageData
|
||||
info *pb.DBMainline
|
||||
aeward []*pb.UserAssets = make([]*pb.UserAssets, 0)
|
||||
atno []*pb.UserAtno
|
||||
aeward []*pb.UserAtno = make([]*pb.UserAtno, 0)
|
||||
first bool // 判断是否是首通
|
||||
star int32 // 评星
|
||||
tasks []*pb.BuriedParam = make([]*pb.BuriedParam, 0)
|
||||
@ -79,40 +80,29 @@ func (this *apiComp) LevelPass(session comm.IUserSession, req *pb.MainlineLevelP
|
||||
info.Lastlevel[conf.Chapterid] = req.Level
|
||||
this.module.modelMline.updateprogress(info)
|
||||
if first { // 发奖
|
||||
if errdata = this.module.DispenseRes(session, conf.Firstaward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, conf.Firstaward, true); errdata != nil {
|
||||
this.module.Debugf("Mline first DispenseRes err:+%v", conf.Firstaward)
|
||||
}
|
||||
for _, v := range conf.Firstaward {
|
||||
aeward = append(aeward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
aeward = append(aeward, atno...)
|
||||
// for _, v := range conf.Firstaward {
|
||||
// aeward = append(aeward, &pb.UserAssets{
|
||||
// A: v.A,
|
||||
// T: v.T,
|
||||
// N: v.N,
|
||||
// })
|
||||
// }
|
||||
} else {
|
||||
if errdata = this.module.DispenseRes(session, conf.Commonaward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, conf.Commonaward, true); errdata != nil {
|
||||
this.module.Debugf("Mline Commonaward DispenseRes err:+%v", conf.Commonaward)
|
||||
}
|
||||
for _, v := range conf.Commonaward {
|
||||
aeward = append(aeward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
aeward = append(aeward, atno...)
|
||||
}
|
||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||
if lotteryward := this.module.ModuleTools.GetGroupDataByLottery(conf.Lotteryward, user.Vip, user.Lv); len(lotteryward) > 0 {
|
||||
if errdata = this.module.DispenseRes(session, lotteryward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, lotteryward, true); errdata != nil {
|
||||
this.module.Debugf("Mline lotteryward DispenseRes err:+%v", lotteryward)
|
||||
}
|
||||
for _, v := range lotteryward {
|
||||
aeward = append(aeward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
aeward = append(aeward, atno...)
|
||||
}
|
||||
userExp, _ = this.module.ModuleUser.ConsumePsAddExp(session, consumPs)
|
||||
session.SendMsg(string(this.module.GetType()), "levelpass", &pb.MainlineLevelPassResp{
|
||||
|
@ -21,7 +21,8 @@ func (this *apiComp) ReceiveAward(session comm.IUserSession, req *pb.MainlineRec
|
||||
awardConfs []*cfg.GameMainStarrewardData
|
||||
awardid int32
|
||||
awardConf *cfg.GameMainStarrewardData
|
||||
reward []*pb.UserAssets
|
||||
reward []*pb.UserAtno
|
||||
atno []*pb.UserAtno
|
||||
pass int32
|
||||
ok bool
|
||||
err error
|
||||
@ -126,17 +127,18 @@ func (this *apiComp) ReceiveAward(session comm.IUserSession, req *pb.MainlineRec
|
||||
return
|
||||
}
|
||||
|
||||
if errdata = this.module.DispenseRes(session, awardConf.Reward, true); errdata != nil {
|
||||
if errdata, atno = this.module.DispenseAtno(session, awardConf.Reward, true); errdata != nil {
|
||||
return
|
||||
}
|
||||
reward = make([]*pb.UserAssets, 0)
|
||||
for _, v := range awardConf.Reward {
|
||||
reward = append(reward, &pb.UserAssets{
|
||||
A: v.A,
|
||||
T: v.T,
|
||||
N: v.N,
|
||||
})
|
||||
}
|
||||
reward = make([]*pb.UserAtno, 0)
|
||||
reward = append(reward, atno...)
|
||||
// for _, v := range awardConf.Reward {
|
||||
// reward = append(reward, &pb.UserAssets{
|
||||
// A: v.A,
|
||||
// T: v.T,
|
||||
// N: v.N,
|
||||
// })
|
||||
// }
|
||||
if err = this.module.modelMline.updateMainlineData(session.GetUserId(), info); err != nil {
|
||||
errdata = &pb.ErrorData{
|
||||
Code: pb.ErrorCode_DBError,
|
||||
|
@ -508,7 +508,7 @@ type ComStartAction struct {
|
||||
Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target"` //预选攻击目标
|
||||
CurRound int32 `protobuf:"varint,3,opt,name=curRound,proto3" json:"curRound"` //当前回合
|
||||
CanAtk bool `protobuf:"varint,4,opt,name=canAtk,proto3" json:"canAtk"` //是否能攻击
|
||||
SkillInfo []*ComSkillInfo `protobuf:"bytes,5,rep,name=skillInfo,proto3" json:"skillInfo"`
|
||||
SkillInfo []*ComSkillInfo `protobuf:"bytes,5,rep,name=skillInfo,proto3" json:"skillInfo"` //技能数据
|
||||
}
|
||||
|
||||
func (x *ComStartAction) Reset() {
|
||||
@ -1080,7 +1080,8 @@ type ComModifyHealth struct {
|
||||
Num float32 `protobuf:"fixed32,6,opt,name=num,proto3" json:"num"`
|
||||
Nhp int32 `protobuf:"varint,7,opt,name=nhp,proto3" json:"nhp"`
|
||||
Mhp int32 `protobuf:"varint,8,opt,name=mhp,proto3" json:"mhp"`
|
||||
Dmg bool `protobuf:"varint,9,opt,name=dmg,proto3" json:"dmg"` //会出现 -0的情况
|
||||
SealHp int32 `protobuf:"varint,9,opt,name=sealHp,proto3" json:"sealHp"` //被封印的血量
|
||||
Dmg bool `protobuf:"varint,10,opt,name=dmg,proto3" json:"dmg"` //会出现 -0的情况
|
||||
}
|
||||
|
||||
func (x *ComModifyHealth) Reset() {
|
||||
@ -1171,6 +1172,13 @@ func (x *ComModifyHealth) GetMhp() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ComModifyHealth) GetSealHp() int32 {
|
||||
if x != nil {
|
||||
return x.SealHp
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *ComModifyHealth) GetDmg() bool {
|
||||
if x != nil {
|
||||
return x.Dmg
|
||||
@ -1796,7 +1804,7 @@ var file_battle_battle_struct_proto_rawDesc = []byte{
|
||||
0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6f, 0x70, 0x65, 0x72, 0x61,
|
||||
0x74, 0x65, 0x22, 0x1c, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, 0x52, 0x65, 0x62, 0x69, 0x72, 0x74, 0x68,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f,
|
||||
0x22, 0xcd, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x48, 0x65,
|
||||
0x22, 0xe5, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x48, 0x65,
|
||||
0x61, 0x6c, 0x74, 0x68, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x02, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x61, 0x6f, 0x6a,
|
||||
@ -1807,58 +1815,59 @@ var file_battle_battle_struct_proto_rawDesc = []byte{
|
||||
0x64, 0x69, 0x66, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x75, 0x6d, 0x18,
|
||||
0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x6e, 0x68,
|
||||
0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6e, 0x68, 0x70, 0x12, 0x10, 0x0a, 0x03,
|
||||
0x6d, 0x68, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6d, 0x68, 0x70, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x64, 0x6d, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x6d, 0x67,
|
||||
0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x54, 0x65, 0x61, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b,
|
||||
0x6d, 0x68, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6d, 0x68, 0x70, 0x12, 0x16,
|
||||
0x0a, 0x06, 0x73, 0x65, 0x61, 0x6c, 0x48, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
||||
0x73, 0x65, 0x61, 0x6c, 0x48, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x6d, 0x67, 0x18, 0x0a, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x6d, 0x67, 0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x54,
|
||||
0x65, 0x61, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x34,
|
||||
0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74,
|
||||
0x6f, 0x72, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x79, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x65,
|
||||
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x6f,
|
||||
0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
||||
0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x08,
|
||||
0x43, 0x6f, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x64,
|
||||
0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65,
|
||||
0x49, 0x64, 0x22, 0x7f, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
|
||||
0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x52, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x52, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65,
|
||||
0x12, 0x21, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f,
|
||||
0x6c, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x45, 0x66,
|
||||
0x66, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61,
|
||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74,
|
||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45,
|
||||
0x6d, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72,
|
||||
0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x44, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66,
|
||||
0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69,
|
||||
0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
||||
0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0e,
|
||||
0x43, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x72,
|
||||
0x6f, 0x6c, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x53, 0x68, 0x69, 0x65, 0x6c,
|
||||
0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0xab, 0x01, 0x0a, 0x0e, 0x45, 0x66,
|
||||
0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b,
|
||||
0x45, 0x66, 0x66, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0f, 0x0a,
|
||||
0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c,
|
||||
0x0a, 0x08, 0x49, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06,
|
||||
0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x5f,
|
||||
0x47, 0x61, 0x69, 0x6e, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x43, 0x6f,
|
||||
0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x10, 0x05, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x5f, 0x41,
|
||||
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x69, 0x66,
|
||||
0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x69, 0x73,
|
||||
0x70, 0x65, 0x72, 0x73, 0x65, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x47, 0x61, 0x69, 0x6e, 0x5f,
|
||||
0x72, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x09, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
|
||||
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x0e, 0x43, 0x6f,
|
||||
0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
|
||||
0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
||||
0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65,
|
||||
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
||||
0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x43,
|
||||
0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a,
|
||||
0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||||
0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65,
|
||||
0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||
0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x44,
|
||||
0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x12,
|
||||
0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e,
|
||||
0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
|
||||
0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x02, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e,
|
||||
0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0d,
|
||||
0x43, 0x6f, 0x6d, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a,
|
||||
0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||
0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x2a, 0xab, 0x01, 0x0a, 0x0e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x66, 0x66, 0x5f, 0x53, 0x75, 0x63, 0x63,
|
||||
0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x53, 0x75, 0x63,
|
||||
0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x6d, 0x6d, 0x75, 0x6e, 0x69,
|
||||
0x74, 0x79, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x10, 0x03,
|
||||
0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x5f, 0x47, 0x61, 0x69, 0x6e, 0x10, 0x04, 0x12, 0x0f,
|
||||
0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x10, 0x05, 0x12,
|
||||
0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x5f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x06, 0x12,
|
||||
0x10, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10,
|
||||
0x07, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x10, 0x08, 0x12,
|
||||
0x0e, 0x0a, 0x0a, 0x47, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x09, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -281,7 +281,7 @@ type MainlineChallengeOverResp struct {
|
||||
|
||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //小关ID
|
||||
Star int32 `protobuf:"varint,2,opt,name=star,proto3" json:"star"` //通关星级
|
||||
Reward []*UserAssets `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward"` //奖励
|
||||
Reward []*UserAtno `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward"` //奖励
|
||||
UserExp int32 `protobuf:"varint,4,opt,name=userExp,proto3" json:"userExp"`
|
||||
HeroExp int32 `protobuf:"varint,5,opt,name=heroExp,proto3" json:"heroExp"`
|
||||
}
|
||||
@ -332,7 +332,7 @@ func (x *MainlineChallengeOverResp) GetStar() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MainlineChallengeOverResp) GetReward() []*UserAssets {
|
||||
func (x *MainlineChallengeOverResp) GetReward() []*UserAtno {
|
||||
if x != nil {
|
||||
return x.Reward
|
||||
}
|
||||
@ -408,7 +408,7 @@ type MainlineLevelPassResp struct {
|
||||
|
||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //小关ID
|
||||
Star int32 `protobuf:"varint,2,opt,name=star,proto3" json:"star"` //通关星级
|
||||
Reward []*UserAssets `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward"` //奖励
|
||||
Reward []*UserAtno `protobuf:"bytes,3,rep,name=reward,proto3" json:"reward"` //奖励
|
||||
UserExp int32 `protobuf:"varint,4,opt,name=userExp,proto3" json:"userExp"`
|
||||
HeroExp int32 `protobuf:"varint,5,opt,name=heroExp,proto3" json:"heroExp"`
|
||||
}
|
||||
@ -459,7 +459,7 @@ func (x *MainlineLevelPassResp) GetStar() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MainlineLevelPassResp) GetReward() []*UserAssets {
|
||||
func (x *MainlineLevelPassResp) GetReward() []*UserAtno {
|
||||
if x != nil {
|
||||
return x.Reward
|
||||
}
|
||||
@ -562,7 +562,7 @@ type MainlineReceiveAwardResp struct {
|
||||
Chapter int32 `protobuf:"varint,2,opt,name=chapter,proto3" json:"chapter"` //章节id
|
||||
Group int32 `protobuf:"varint,3,opt,name=group,proto3" json:"group"` //章节id
|
||||
Stage int32 `protobuf:"varint,4,opt,name=stage,proto3" json:"stage"` //目标阶段
|
||||
Reward []*UserAssets `protobuf:"bytes,5,rep,name=reward,proto3" json:"reward"` //奖励
|
||||
Reward []*UserAtno `protobuf:"bytes,5,rep,name=reward,proto3" json:"reward"` //奖励
|
||||
}
|
||||
|
||||
func (x *MainlineReceiveAwardResp) Reset() {
|
||||
@ -625,7 +625,7 @@ func (x *MainlineReceiveAwardResp) GetStage() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *MainlineReceiveAwardResp) GetReward() []*UserAssets {
|
||||
func (x *MainlineReceiveAwardResp) GetReward() []*UserAtno {
|
||||
if x != nil {
|
||||
return x.Reward
|
||||
}
|
||||
@ -661,48 +661,48 @@ var file_mainline_mainline_msg_proto_rawDesc = []byte{
|
||||
0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c,
|
||||
0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
||||
0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52,
|
||||
0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x9e, 0x01, 0x0a, 0x19, 0x4d, 0x61, 0x69, 0x6e,
|
||||
0x06, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x22, 0x9c, 0x01, 0x0a, 0x19, 0x4d, 0x61, 0x69, 0x6e,
|
||||
0x6c, 0x69, 0x6e, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x4f, 0x76, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73,
|
||||
0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12,
|
||||
0x23, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x06, 0x72, 0x65,
|
||||
0x77, 0x61, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18,
|
||||
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18,
|
||||
0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x22, 0x2c, 0x0a, 0x14, 0x4d, 0x61, 0x69, 0x6e,
|
||||
0x6c, 0x69, 0x6e, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6e, 0x6c,
|
||||
0x69, 0x6e, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x23, 0x0a, 0x06, 0x72, 0x65,
|
||||
0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65,
|
||||
0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
|
||||
0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72,
|
||||
0x6f, 0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f,
|
||||
0x45, 0x78, 0x70, 0x22, 0x75, 0x0a, 0x17, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52,
|
||||
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72,
|
||||
0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67,
|
||||
0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x18, 0x4d,
|
||||
0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x77,
|
||||
0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
||||
0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74,
|
||||
0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20,
|
||||
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
|
||||
0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x21, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61,
|
||||
0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18, 0x04, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07,
|
||||
0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68,
|
||||
0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x22, 0x2c, 0x0a, 0x14, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69,
|
||||
0x6e, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
|
||||
0x65, 0x76, 0x65, 0x6c, 0x22, 0x98, 0x01, 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
|
||||
0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
|
||||
0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x21, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61,
|
||||
0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||
0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75,
|
||||
0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73,
|
||||
0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70,
|
||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x22,
|
||||
0x75, 0x0a, 0x17, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69,
|
||||
0x76, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74,
|
||||
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65,
|
||||
0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72,
|
||||
0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x69, 0x6e, 0x6c,
|
||||
0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52,
|
||||
0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61,
|
||||
0x70, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x70,
|
||||
0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
|
||||
0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12,
|
||||
0x21, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||
0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61,
|
||||
0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -733,16 +733,16 @@ var file_mainline_mainline_msg_proto_goTypes = []interface{}{
|
||||
(*BattleFormation)(nil), // 11: BattleFormation
|
||||
(*BattleInfo)(nil), // 12: BattleInfo
|
||||
(*BattleReport)(nil), // 13: BattleReport
|
||||
(*UserAssets)(nil), // 14: UserAssets
|
||||
(*UserAtno)(nil), // 14: UserAtno
|
||||
}
|
||||
var file_mainline_mainline_msg_proto_depIdxs = []int32{
|
||||
10, // 0: MainlineInfoResp.info:type_name -> DBMainline
|
||||
11, // 1: MainlineChallengeReq.battle:type_name -> BattleFormation
|
||||
12, // 2: MainlineChallengeResp.info:type_name -> BattleInfo
|
||||
13, // 3: MainlineChallengeOverReq.report:type_name -> BattleReport
|
||||
14, // 4: MainlineChallengeOverResp.reward:type_name -> UserAssets
|
||||
14, // 5: MainlineLevelPassResp.reward:type_name -> UserAssets
|
||||
14, // 6: MainlineReceiveAwardResp.reward:type_name -> UserAssets
|
||||
14, // 4: MainlineChallengeOverResp.reward:type_name -> UserAtno
|
||||
14, // 5: MainlineLevelPassResp.reward:type_name -> UserAtno
|
||||
14, // 6: MainlineReceiveAwardResp.reward:type_name -> UserAtno
|
||||
7, // [7:7] is the sub-list for method output_type
|
||||
7, // [7:7] is the sub-list for method input_type
|
||||
7, // [7:7] is the sub-list for extension type_name
|
||||
|
@ -630,70 +630,6 @@ func (x *DBStonehengeBookAward) GetStage() map[int32]bool {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 特权
|
||||
type DBStonehengePrivilege struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
|
||||
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
|
||||
Privilege map[int32]int32 `protobuf:"bytes,4,rep,name=privilege,proto3" json:"privilege" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) Reset() {
|
||||
*x = DBStonehengePrivilege{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DBStonehengePrivilege) ProtoMessage() {}
|
||||
|
||||
func (x *DBStonehengePrivilege) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_db_proto_msgTypes[6]
|
||||
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 DBStonehengePrivilege.ProtoReflect.Descriptor instead.
|
||||
func (*DBStonehengePrivilege) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_db_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) GetUid() string {
|
||||
if x != nil {
|
||||
return x.Uid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBStonehengePrivilege) GetPrivilege() map[int32]int32 {
|
||||
if x != nil {
|
||||
return x.Privilege
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_stonehenge_stonehenge_db_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
@ -858,23 +794,11 @@ var file_stonehenge_stonehenge_db_proto_rawDesc = []byte{
|
||||
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, 0x22, 0xbc, 0x01, 0x0a, 0x15, 0x44, 0x42, 0x53,
|
||||
0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65,
|
||||
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, 0x43, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67,
|
||||
0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e,
|
||||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x2e,
|
||||
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
|
||||
0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x1a, 0x3c, 0x0a, 0x0e, 0x50, 0x72, 0x69,
|
||||
0x76, 0x69, 0x6c, 0x65, 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, 0x05, 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,
|
||||
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 (
|
||||
@ -890,7 +814,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, 23)
|
||||
var file_stonehenge_stonehenge_db_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
|
||||
var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||
(StonehengePrivilege)(0), // 0: StonehengePrivilege
|
||||
(*RoomData)(nil), // 1: RoomData
|
||||
@ -899,52 +823,49 @@ var file_stonehenge_stonehenge_db_proto_goTypes = []interface{}{
|
||||
(*DBStoneBoss)(nil), // 4: DBStoneBoss
|
||||
(*DBStonehengeBook)(nil), // 5: DBStonehengeBook
|
||||
(*DBStonehengeBookAward)(nil), // 6: DBStonehengeBookAward
|
||||
(*DBStonehengePrivilege)(nil), // 7: DBStonehengePrivilege
|
||||
nil, // 8: RoomData.EventidEntry
|
||||
nil, // 9: RoomData.BoxEntry
|
||||
nil, // 10: RoomData.ShopEntry
|
||||
nil, // 11: RoomData.PassiveEntry
|
||||
nil, // 12: DBStonehenge.UserbuffEntry
|
||||
nil, // 13: DBStonehenge.HeroEntry
|
||||
nil, // 14: DBStonehenge.RewardEntry
|
||||
nil, // 15: DBStonehenge.AddweightEntry
|
||||
nil, // 16: DBStonehenge.TalentEntry
|
||||
nil, // 17: DBStonehenge.TalentpropertyEntry
|
||||
nil, // 18: DBStonehenge.WeeklyrewardEntry
|
||||
nil, // 19: DBStonehenge.TaskEntry
|
||||
nil, // 20: DBStoneBoss.BossstageEntry
|
||||
nil, // 21: DBStonehengeBook.AwardEntry
|
||||
nil, // 22: DBStonehengeBookAward.StageEntry
|
||||
nil, // 23: DBStonehengePrivilege.PrivilegeEntry
|
||||
(*BattleRole)(nil), // 24: BattleRole
|
||||
nil, // 7: RoomData.EventidEntry
|
||||
nil, // 8: RoomData.BoxEntry
|
||||
nil, // 9: RoomData.ShopEntry
|
||||
nil, // 10: RoomData.PassiveEntry
|
||||
nil, // 11: DBStonehenge.UserbuffEntry
|
||||
nil, // 12: DBStonehenge.HeroEntry
|
||||
nil, // 13: DBStonehenge.RewardEntry
|
||||
nil, // 14: DBStonehenge.AddweightEntry
|
||||
nil, // 15: DBStonehenge.TalentEntry
|
||||
nil, // 16: DBStonehenge.TalentpropertyEntry
|
||||
nil, // 17: DBStonehenge.WeeklyrewardEntry
|
||||
nil, // 18: DBStonehenge.TaskEntry
|
||||
nil, // 19: DBStoneBoss.BossstageEntry
|
||||
nil, // 20: DBStonehengeBook.AwardEntry
|
||||
nil, // 21: DBStonehengeBookAward.StageEntry
|
||||
(*BattleRole)(nil), // 22: BattleRole
|
||||
}
|
||||
var file_stonehenge_stonehenge_db_proto_depIdxs = []int32{
|
||||
8, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||
9, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||||
10, // 2: RoomData.shop:type_name -> RoomData.ShopEntry
|
||||
11, // 3: RoomData.passive:type_name -> RoomData.PassiveEntry
|
||||
7, // 0: RoomData.eventid:type_name -> RoomData.EventidEntry
|
||||
8, // 1: RoomData.box:type_name -> RoomData.BoxEntry
|
||||
9, // 2: RoomData.shop:type_name -> RoomData.ShopEntry
|
||||
10, // 3: RoomData.passive:type_name -> RoomData.PassiveEntry
|
||||
1, // 4: DBStonehenge.rooms:type_name -> RoomData
|
||||
12, // 5: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||||
13, // 6: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||||
14, // 7: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||||
15, // 8: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||||
16, // 9: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||
17, // 10: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||
11, // 5: DBStonehenge.userbuff:type_name -> DBStonehenge.UserbuffEntry
|
||||
12, // 6: DBStonehenge.hero:type_name -> DBStonehenge.HeroEntry
|
||||
13, // 7: DBStonehenge.reward:type_name -> DBStonehenge.RewardEntry
|
||||
14, // 8: DBStonehenge.addweight:type_name -> DBStonehenge.AddweightEntry
|
||||
15, // 9: DBStonehenge.talent:type_name -> DBStonehenge.TalentEntry
|
||||
16, // 10: DBStonehenge.talentproperty:type_name -> DBStonehenge.TalentpropertyEntry
|
||||
0, // 11: DBStonehenge.privilege:type_name -> StonehengePrivilege
|
||||
18, // 12: DBStonehenge.weeklyreward:type_name -> DBStonehenge.WeeklyrewardEntry
|
||||
19, // 13: DBStonehenge.task:type_name -> DBStonehenge.TaskEntry
|
||||
20, // 14: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||
21, // 15: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||||
22, // 16: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||||
23, // 17: DBStonehengePrivilege.privilege:type_name -> DBStonehengePrivilege.PrivilegeEntry
|
||||
24, // 18: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||
3, // 19: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||
6, // 20: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||||
21, // [21:21] is the sub-list for method output_type
|
||||
21, // [21:21] is the sub-list for method input_type
|
||||
21, // [21:21] is the sub-list for extension type_name
|
||||
21, // [21:21] is the sub-list for extension extendee
|
||||
0, // [0:21] is the sub-list for field type_name
|
||||
17, // 12: DBStonehenge.weeklyreward:type_name -> DBStonehenge.WeeklyrewardEntry
|
||||
18, // 13: DBStonehenge.task:type_name -> DBStonehenge.TaskEntry
|
||||
19, // 14: DBStoneBoss.bossstage:type_name -> DBStoneBoss.BossstageEntry
|
||||
20, // 15: DBStonehengeBook.award:type_name -> DBStonehengeBook.AwardEntry
|
||||
21, // 16: DBStonehengeBookAward.stage:type_name -> DBStonehengeBookAward.StageEntry
|
||||
22, // 17: DBStonehenge.HeroEntry.value:type_name -> BattleRole
|
||||
3, // 18: DBStoneBoss.BossstageEntry.value:type_name -> StageData
|
||||
6, // 19: DBStonehengeBook.AwardEntry.value:type_name -> DBStonehengeBookAward
|
||||
20, // [20:20] is the sub-list for method output_type
|
||||
20, // [20:20] is the sub-list for method input_type
|
||||
20, // [20:20] is the sub-list for extension type_name
|
||||
20, // [20:20] is the sub-list for extension extendee
|
||||
0, // [0:20] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stonehenge_stonehenge_db_proto_init() }
|
||||
@ -1026,18 +947,6 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stonehenge_stonehenge_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DBStonehengePrivilege); 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{
|
||||
@ -1045,7 +954,7 @@ func file_stonehenge_stonehenge_db_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_stonehenge_stonehenge_db_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 23,
|
||||
NumMessages: 21,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
@ -1678,93 +1678,6 @@ func (x *StonehengeTaskReceiveResp) GetAward() []*UserAssets {
|
||||
return nil
|
||||
}
|
||||
|
||||
//获取特权列表
|
||||
type StonehengePrivilegeInfoReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoReq) Reset() {
|
||||
*x = StonehengePrivilegeInfoReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StonehengePrivilegeInfoReq) ProtoMessage() {}
|
||||
|
||||
func (x *StonehengePrivilegeInfoReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use StonehengePrivilegeInfoReq.ProtoReflect.Descriptor instead.
|
||||
func (*StonehengePrivilegeInfoReq) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{30}
|
||||
}
|
||||
|
||||
// 秘境特权信息
|
||||
type StonehengePrivilegeInfoResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Info *DBStonehengePrivilege `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) Reset() {
|
||||
*x = StonehengePrivilegeInfoResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*StonehengePrivilegeInfoResp) ProtoMessage() {}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31]
|
||||
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 StonehengePrivilegeInfoResp.ProtoReflect.Descriptor instead.
|
||||
func (*StonehengePrivilegeInfoResp) Descriptor() ([]byte, []int) {
|
||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{31}
|
||||
}
|
||||
|
||||
func (x *StonehengePrivilegeInfoResp) GetInfo() *DBStonehengePrivilege {
|
||||
if x != nil {
|
||||
return x.Info
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||
@ -1985,14 +1898,8 @@ var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{
|
||||
0x61, 0x73, 0x6b, 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, 0x22, 0x1c, 0x0a, 0x1a, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e,
|
||||
0x67, 0x65, 0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52,
|
||||
0x65, 0x71, 0x22, 0x49, 0x0a, 0x1b, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65,
|
||||
0x50, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73,
|
||||
0x70, 0x12, 0x2a, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x16, 0x2e, 0x44, 0x42, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x50, 0x72,
|
||||
0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -2007,7 +1914,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, 41)
|
||||
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
|
||||
var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
||||
(*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq
|
||||
(*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp
|
||||
@ -2039,68 +1946,64 @@ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
||||
(*StonehengeTaskInfoResp)(nil), // 27: StonehengeTaskInfoResp
|
||||
(*StonehengeTaskReceiveReq)(nil), // 28: StonehengeTaskReceiveReq
|
||||
(*StonehengeTaskReceiveResp)(nil), // 29: StonehengeTaskReceiveResp
|
||||
(*StonehengePrivilegeInfoReq)(nil), // 30: StonehengePrivilegeInfoReq
|
||||
(*StonehengePrivilegeInfoResp)(nil), // 31: StonehengePrivilegeInfoResp
|
||||
nil, // 32: StonehengeEnterLevelResp.HeroEntry
|
||||
nil, // 33: StonehengeEventResp.HeroEntry
|
||||
nil, // 34: StonehengeEventResp.UserbuffEntry
|
||||
nil, // 35: StonehengeStoreResp.ShopEntry
|
||||
nil, // 36: StonehengeActivateTalentResp.TalentEntry
|
||||
nil, // 37: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
nil, // 38: StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
nil, // 39: StonehengeTaskInfoResp.TaskEntry
|
||||
nil, // 40: StonehengeTaskReceiveResp.TaskEntry
|
||||
(*DBStonehenge)(nil), // 41: DBStonehenge
|
||||
(*DBStoneBoss)(nil), // 42: DBStoneBoss
|
||||
(*RoomData)(nil), // 43: RoomData
|
||||
(*BattleReport)(nil), // 44: BattleReport
|
||||
(*UserAtno)(nil), // 45: UserAtno
|
||||
(*BattleFormation)(nil), // 46: BattleFormation
|
||||
(*BattleInfo)(nil), // 47: BattleInfo
|
||||
(StonehengePrivilege)(0), // 48: StonehengePrivilege
|
||||
(*DBStonehengeBook)(nil), // 49: DBStonehengeBook
|
||||
(*UserAssets)(nil), // 50: UserAssets
|
||||
(*ConIProgress)(nil), // 51: ConIProgress
|
||||
(*DBStonehengePrivilege)(nil), // 52: DBStonehengePrivilege
|
||||
(*BattleRole)(nil), // 53: BattleRole
|
||||
nil, // 30: StonehengeEnterLevelResp.HeroEntry
|
||||
nil, // 31: StonehengeEventResp.HeroEntry
|
||||
nil, // 32: StonehengeEventResp.UserbuffEntry
|
||||
nil, // 33: StonehengeStoreResp.ShopEntry
|
||||
nil, // 34: StonehengeActivateTalentResp.TalentEntry
|
||||
nil, // 35: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
nil, // 36: StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
nil, // 37: StonehengeTaskInfoResp.TaskEntry
|
||||
nil, // 38: StonehengeTaskReceiveResp.TaskEntry
|
||||
(*DBStonehenge)(nil), // 39: DBStonehenge
|
||||
(*DBStoneBoss)(nil), // 40: DBStoneBoss
|
||||
(*RoomData)(nil), // 41: RoomData
|
||||
(*BattleReport)(nil), // 42: BattleReport
|
||||
(*UserAtno)(nil), // 43: UserAtno
|
||||
(*BattleFormation)(nil), // 44: BattleFormation
|
||||
(*BattleInfo)(nil), // 45: BattleInfo
|
||||
(StonehengePrivilege)(0), // 46: StonehengePrivilege
|
||||
(*DBStonehengeBook)(nil), // 47: DBStonehengeBook
|
||||
(*UserAssets)(nil), // 48: UserAssets
|
||||
(*ConIProgress)(nil), // 49: ConIProgress
|
||||
(*BattleRole)(nil), // 50: BattleRole
|
||||
}
|
||||
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
||||
41, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||
42, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||
32, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||
43, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||
43, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||
44, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||
43, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||
45, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||
33, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||
34, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||
43, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||
41, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||
45, // 12: StonehengeFinishResp.reward:type_name -> UserAtno
|
||||
46, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||
47, // 14: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||
43, // 15: StonehengeStoryResp.room:type_name -> RoomData
|
||||
35, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
||||
36, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||
37, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
48, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||
49, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
||||
50, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets
|
||||
38, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
50, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
||||
51, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress
|
||||
39, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry
|
||||
40, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry
|
||||
50, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets
|
||||
52, // 28: StonehengePrivilegeInfoResp.info:type_name -> DBStonehengePrivilege
|
||||
53, // 29: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||
53, // 30: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||
31, // [31:31] is the sub-list for method output_type
|
||||
31, // [31:31] is the sub-list for method input_type
|
||||
31, // [31:31] is the sub-list for extension type_name
|
||||
31, // [31:31] is the sub-list for extension extendee
|
||||
0, // [0:31] is the sub-list for field type_name
|
||||
39, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||
40, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||
30, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||
41, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||
41, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||
42, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||
41, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||
43, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||
31, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||
32, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||
41, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||
39, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||
43, // 12: StonehengeFinishResp.reward:type_name -> UserAtno
|
||||
44, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||
45, // 14: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||
41, // 15: StonehengeStoryResp.room:type_name -> RoomData
|
||||
33, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
||||
34, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||
35, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||
46, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||
47, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
||||
48, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets
|
||||
36, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||
48, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
||||
49, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress
|
||||
37, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry
|
||||
38, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry
|
||||
48, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets
|
||||
50, // 28: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||
50, // 29: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole
|
||||
30, // [30:30] is the sub-list for method output_type
|
||||
30, // [30:30] is the sub-list for method input_type
|
||||
30, // [30:30] is the sub-list for extension type_name
|
||||
30, // [30:30] is the sub-list for extension extendee
|
||||
0, // [0:30] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_stonehenge_stonehenge_msg_proto_init() }
|
||||
@ -2474,30 +2377,6 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_stonehenge_stonehenge_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StonehengePrivilegeInfoReq); 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[31].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*StonehengePrivilegeInfoResp); 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{
|
||||
@ -2505,7 +2384,7 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 41,
|
||||
NumMessages: 39,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user