Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
1b2ab62a96
@ -24,7 +24,8 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MainlineCh
|
|||||||
var (
|
var (
|
||||||
conf *cfg.GameMainStageData
|
conf *cfg.GameMainStageData
|
||||||
info *pb.DBMainline
|
info *pb.DBMainline
|
||||||
aeward []*pb.UserAssets = make([]*pb.UserAssets, 0)
|
atno []*pb.UserAtno
|
||||||
|
aeward []*pb.UserAtno = make([]*pb.UserAtno, 0)
|
||||||
isWin bool
|
isWin bool
|
||||||
first bool // 判断是否是首通
|
first bool // 判断是否是首通
|
||||||
star int32 // 评星
|
star int32 // 评星
|
||||||
@ -114,40 +115,43 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.MainlineCh
|
|||||||
this.module.modelMline.updateprogress(info)
|
this.module.modelMline.updateprogress(info)
|
||||||
|
|
||||||
if first { // 发奖
|
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)
|
this.module.Debugf("Mline first DispenseRes err:+%v", conf.Firstaward)
|
||||||
}
|
}
|
||||||
for _, v := range conf.Firstaward {
|
aeward = append(aeward, atno...)
|
||||||
aeward = append(aeward, &pb.UserAssets{
|
// for _, v := range conf.Firstaward {
|
||||||
A: v.A,
|
// aeward = append(aeward, &pb.UserAssets{
|
||||||
T: v.T,
|
// A: v.A,
|
||||||
N: v.N,
|
// T: v.T,
|
||||||
})
|
// N: v.N,
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
} else {
|
} 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)
|
this.module.Debugf("Mline Commonaward DispenseRes err:+%v", conf.Commonaward)
|
||||||
}
|
}
|
||||||
for _, v := range conf.Commonaward {
|
aeward = append(aeward, atno...)
|
||||||
aeward = append(aeward, &pb.UserAssets{
|
// for _, v := range conf.Commonaward {
|
||||||
A: v.A,
|
// aeward = append(aeward, &pb.UserAssets{
|
||||||
T: v.T,
|
// A: v.A,
|
||||||
N: v.N,
|
// T: v.T,
|
||||||
})
|
// N: v.N,
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||||
if lotteryward := this.module.ModuleTools.GetGroupDataByLottery(conf.Lotteryward, user.Vip, user.Lv); len(lotteryward) > 0 {
|
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)
|
this.module.Debugf("Mline lotteryward DispenseRes err:+%v", lotteryward)
|
||||||
}
|
}
|
||||||
for _, v := range lotteryward {
|
aeward = append(aeward, atno...)
|
||||||
aeward = append(aeward, &pb.UserAssets{
|
// for _, v := range lotteryward {
|
||||||
A: v.A,
|
// aeward = append(aeward, &pb.UserAssets{
|
||||||
T: v.T,
|
// A: v.A,
|
||||||
N: v.N,
|
// T: v.T,
|
||||||
})
|
// N: v.N,
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
// 加英雄经验
|
// 加英雄经验
|
||||||
|
@ -24,7 +24,8 @@ func (this *apiComp) LevelPass(session comm.IUserSession, req *pb.MainlineLevelP
|
|||||||
var (
|
var (
|
||||||
conf *cfg.GameMainStageData
|
conf *cfg.GameMainStageData
|
||||||
info *pb.DBMainline
|
info *pb.DBMainline
|
||||||
aeward []*pb.UserAssets = make([]*pb.UserAssets, 0)
|
atno []*pb.UserAtno
|
||||||
|
aeward []*pb.UserAtno = make([]*pb.UserAtno, 0)
|
||||||
first bool // 判断是否是首通
|
first bool // 判断是否是首通
|
||||||
star int32 // 评星
|
star int32 // 评星
|
||||||
tasks []*pb.BuriedParam = make([]*pb.BuriedParam, 0)
|
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
|
info.Lastlevel[conf.Chapterid] = req.Level
|
||||||
this.module.modelMline.updateprogress(info)
|
this.module.modelMline.updateprogress(info)
|
||||||
if first { // 发奖
|
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)
|
this.module.Debugf("Mline first DispenseRes err:+%v", conf.Firstaward)
|
||||||
}
|
}
|
||||||
for _, v := range conf.Firstaward {
|
aeward = append(aeward, atno...)
|
||||||
aeward = append(aeward, &pb.UserAssets{
|
// for _, v := range conf.Firstaward {
|
||||||
A: v.A,
|
// aeward = append(aeward, &pb.UserAssets{
|
||||||
T: v.T,
|
// A: v.A,
|
||||||
N: v.N,
|
// T: v.T,
|
||||||
})
|
// N: v.N,
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
} else {
|
} 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)
|
this.module.Debugf("Mline Commonaward DispenseRes err:+%v", conf.Commonaward)
|
||||||
}
|
}
|
||||||
for _, v := range conf.Commonaward {
|
aeward = append(aeward, atno...)
|
||||||
aeward = append(aeward, &pb.UserAssets{
|
|
||||||
A: v.A,
|
|
||||||
T: v.T,
|
|
||||||
N: v.N,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
user := this.module.ModuleUser.GetUser(session.GetUserId())
|
||||||
if lotteryward := this.module.ModuleTools.GetGroupDataByLottery(conf.Lotteryward, user.Vip, user.Lv); len(lotteryward) > 0 {
|
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)
|
this.module.Debugf("Mline lotteryward DispenseRes err:+%v", lotteryward)
|
||||||
}
|
}
|
||||||
for _, v := range lotteryward {
|
aeward = append(aeward, atno...)
|
||||||
aeward = append(aeward, &pb.UserAssets{
|
|
||||||
A: v.A,
|
|
||||||
T: v.T,
|
|
||||||
N: v.N,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
userExp, _ = this.module.ModuleUser.ConsumePsAddExp(session, consumPs)
|
userExp, _ = this.module.ModuleUser.ConsumePsAddExp(session, consumPs)
|
||||||
session.SendMsg(string(this.module.GetType()), "levelpass", &pb.MainlineLevelPassResp{
|
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
|
awardConfs []*cfg.GameMainStarrewardData
|
||||||
awardid int32
|
awardid int32
|
||||||
awardConf *cfg.GameMainStarrewardData
|
awardConf *cfg.GameMainStarrewardData
|
||||||
reward []*pb.UserAssets
|
reward []*pb.UserAtno
|
||||||
|
atno []*pb.UserAtno
|
||||||
pass int32
|
pass int32
|
||||||
ok bool
|
ok bool
|
||||||
err error
|
err error
|
||||||
@ -126,17 +127,18 @@ func (this *apiComp) ReceiveAward(session comm.IUserSession, req *pb.MainlineRec
|
|||||||
return
|
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
|
return
|
||||||
}
|
}
|
||||||
reward = make([]*pb.UserAssets, 0)
|
reward = make([]*pb.UserAtno, 0)
|
||||||
for _, v := range awardConf.Reward {
|
reward = append(reward, atno...)
|
||||||
reward = append(reward, &pb.UserAssets{
|
// for _, v := range awardConf.Reward {
|
||||||
A: v.A,
|
// reward = append(reward, &pb.UserAssets{
|
||||||
T: v.T,
|
// A: v.A,
|
||||||
N: v.N,
|
// T: v.T,
|
||||||
})
|
// N: v.N,
|
||||||
}
|
// })
|
||||||
|
// }
|
||||||
if err = this.module.modelMline.updateMainlineData(session.GetUserId(), info); err != nil {
|
if err = this.module.modelMline.updateMainlineData(session.GetUserId(), info); err != nil {
|
||||||
errdata = &pb.ErrorData{
|
errdata = &pb.ErrorData{
|
||||||
Code: pb.ErrorCode_DBError,
|
Code: pb.ErrorCode_DBError,
|
||||||
|
@ -121,8 +121,8 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.ShopCenterReceiv
|
|||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
drop = fconf.Group
|
|
||||||
}
|
}
|
||||||
|
drop = fconf.Group
|
||||||
break
|
break
|
||||||
case 6, 7, 8:
|
case 6, 7, 8:
|
||||||
if fconf, err = this.module.configure.getGameShopCenterFund(req.Pid); err != nil {
|
if fconf, err = this.module.configure.getGameShopCenterFund(req.Pid); err != nil {
|
||||||
|
@ -508,7 +508,7 @@ type ComStartAction struct {
|
|||||||
Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target"` //预选攻击目标
|
Target int32 `protobuf:"varint,2,opt,name=target,proto3" json:"target"` //预选攻击目标
|
||||||
CurRound int32 `protobuf:"varint,3,opt,name=curRound,proto3" json:"curRound"` //当前回合
|
CurRound int32 `protobuf:"varint,3,opt,name=curRound,proto3" json:"curRound"` //当前回合
|
||||||
CanAtk bool `protobuf:"varint,4,opt,name=canAtk,proto3" json:"canAtk"` //是否能攻击
|
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() {
|
func (x *ComStartAction) Reset() {
|
||||||
@ -1080,7 +1080,8 @@ type ComModifyHealth struct {
|
|||||||
Num float32 `protobuf:"fixed32,6,opt,name=num,proto3" json:"num"`
|
Num float32 `protobuf:"fixed32,6,opt,name=num,proto3" json:"num"`
|
||||||
Nhp int32 `protobuf:"varint,7,opt,name=nhp,proto3" json:"nhp"`
|
Nhp int32 `protobuf:"varint,7,opt,name=nhp,proto3" json:"nhp"`
|
||||||
Mhp int32 `protobuf:"varint,8,opt,name=mhp,proto3" json:"mhp"`
|
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() {
|
func (x *ComModifyHealth) Reset() {
|
||||||
@ -1171,6 +1172,13 @@ func (x *ComModifyHealth) GetMhp() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ComModifyHealth) GetSealHp() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.SealHp
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
func (x *ComModifyHealth) GetDmg() bool {
|
func (x *ComModifyHealth) GetDmg() bool {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Dmg
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
0x6d, 0x68, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6d, 0x68, 0x70, 0x12, 0x16,
|
||||||
0x0a, 0x03, 0x64, 0x6d, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x64, 0x6d, 0x67,
|
0x0a, 0x06, 0x73, 0x65, 0x61, 0x6c, 0x48, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
|
||||||
0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x54, 0x65, 0x61, 0x63, 0x68, 0x54, 0x61, 0x73, 0x6b,
|
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, 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,
|
0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x08, 0x43, 0x6f, 0x6d, 0x53, 0x74, 0x6f,
|
0x05, 0x52, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65, 0x49, 0x64, 0x22, 0x7f, 0x0a, 0x0e, 0x43, 0x6f,
|
||||||
0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02,
|
0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04,
|
||||||
0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x18, 0x02, 0x20,
|
0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x08,
|
0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x43, 0x6f, 0x6d, 0x47, 0x75, 0x69, 0x64, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x75, 0x69, 0x64,
|
0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
||||||
0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x67, 0x75, 0x69, 0x64, 0x65,
|
0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65,
|
||||||
0x49, 0x64, 0x22, 0x7f, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52,
|
0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
||||||
0x6f, 0x6c, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
|
0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x43,
|
||||||
0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x6e, 0x74, 0x72,
|
0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a,
|
||||||
0x79, 0x52, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x74, 0x72,
|
0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||||
0x79, 0x52, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65,
|
0x52, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
||||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65,
|
0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65,
|
||||||
0x12, 0x21, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45, 0x6d, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74,
|
||||||
0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x05, 0x72, 0x6f,
|
0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18,
|
||||||
0x6c, 0x65, 0x73, 0x22, 0x43, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x45, 0x66,
|
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x44,
|
||||||
0x66, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x4e, 0x61,
|
0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x12,
|
||||||
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74,
|
0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e,
|
||||||
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
|
0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04,
|
||||||
0x28, 0x05, 0x52, 0x04, 0x73, 0x69, 0x64, 0x65, 0x22, 0x2c, 0x0a, 0x10, 0x43, 0x6f, 0x6d, 0x45,
|
0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
||||||
0x6d, 0x69, 0x74, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x18, 0x0a, 0x07,
|
0x52, 0x02, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e,
|
||||||
0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72,
|
0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18,
|
||||||
0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x22, 0x44, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x45, 0x66, 0x66,
|
0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0d,
|
||||||
0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x12, 0x23, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
|
0x43, 0x6f, 0x6d, 0x53, 0x68, 0x69, 0x65, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0f, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69,
|
0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12,
|
||||||
0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02,
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||||
0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x74, 0x6f, 0x22, 0x26, 0x0a, 0x0e,
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75,
|
||||||
0x43, 0x6f, 0x6d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x14,
|
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75,
|
||||||
0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x72,
|
0x65, 0x2a, 0xab, 0x01, 0x0a, 0x0e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73,
|
||||||
0x6f, 0x6c, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x53, 0x68, 0x69, 0x65, 0x6c,
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x45, 0x66, 0x66, 0x5f, 0x53, 0x75, 0x63, 0x63,
|
||||||
0x64, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x53, 0x75, 0x63,
|
||||||
0x28, 0x05, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x6d, 0x6d, 0x75, 0x6e, 0x69,
|
||||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1a, 0x0a,
|
0x74, 0x79, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x10, 0x03,
|
||||||
0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x5f, 0x47, 0x61, 0x69, 0x6e, 0x10, 0x04, 0x12, 0x0f,
|
||||||
0x08, 0x63, 0x75, 0x72, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0xab, 0x01, 0x0a, 0x0e, 0x45, 0x66,
|
0x0a, 0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x10, 0x05, 0x12,
|
||||||
0x66, 0x65, 0x63, 0x74, 0x54, 0x69, 0x70, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b,
|
0x0e, 0x0a, 0x0a, 0x4e, 0x6f, 0x74, 0x5f, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x10, 0x06, 0x12,
|
||||||
0x45, 0x66, 0x66, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0f, 0x0a,
|
0x10, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x10,
|
||||||
0x0b, 0x4e, 0x6f, 0x74, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x12, 0x0c,
|
0x07, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x69, 0x73, 0x70, 0x65, 0x72, 0x73, 0x65, 0x10, 0x08, 0x12,
|
||||||
0x0a, 0x08, 0x49, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06,
|
0x0e, 0x0a, 0x0a, 0x47, 0x61, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x10, 0x09, 0x42,
|
||||||
0x52, 0x65, 0x73, 0x69, 0x73, 0x74, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x6f, 0x74, 0x5f,
|
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
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 (
|
var (
|
||||||
|
@ -281,7 +281,7 @@ type MainlineChallengeOverResp struct {
|
|||||||
|
|
||||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //小关ID
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //小关ID
|
||||||
Star int32 `protobuf:"varint,2,opt,name=star,proto3" json:"star"` //通关星级
|
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"`
|
UserExp int32 `protobuf:"varint,4,opt,name=userExp,proto3" json:"userExp"`
|
||||||
HeroExp int32 `protobuf:"varint,5,opt,name=heroExp,proto3" json:"heroExp"`
|
HeroExp int32 `protobuf:"varint,5,opt,name=heroExp,proto3" json:"heroExp"`
|
||||||
}
|
}
|
||||||
@ -332,7 +332,7 @@ func (x *MainlineChallengeOverResp) GetStar() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MainlineChallengeOverResp) GetReward() []*UserAssets {
|
func (x *MainlineChallengeOverResp) GetReward() []*UserAtno {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Reward
|
return x.Reward
|
||||||
}
|
}
|
||||||
@ -408,7 +408,7 @@ type MainlineLevelPassResp struct {
|
|||||||
|
|
||||||
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //小关ID
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //小关ID
|
||||||
Star int32 `protobuf:"varint,2,opt,name=star,proto3" json:"star"` //通关星级
|
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"`
|
UserExp int32 `protobuf:"varint,4,opt,name=userExp,proto3" json:"userExp"`
|
||||||
HeroExp int32 `protobuf:"varint,5,opt,name=heroExp,proto3" json:"heroExp"`
|
HeroExp int32 `protobuf:"varint,5,opt,name=heroExp,proto3" json:"heroExp"`
|
||||||
}
|
}
|
||||||
@ -459,7 +459,7 @@ func (x *MainlineLevelPassResp) GetStar() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MainlineLevelPassResp) GetReward() []*UserAssets {
|
func (x *MainlineLevelPassResp) GetReward() []*UserAtno {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Reward
|
return x.Reward
|
||||||
}
|
}
|
||||||
@ -562,7 +562,7 @@ type MainlineReceiveAwardResp struct {
|
|||||||
Chapter int32 `protobuf:"varint,2,opt,name=chapter,proto3" json:"chapter"` //章节id
|
Chapter int32 `protobuf:"varint,2,opt,name=chapter,proto3" json:"chapter"` //章节id
|
||||||
Group int32 `protobuf:"varint,3,opt,name=group,proto3" json:"group"` //章节id
|
Group int32 `protobuf:"varint,3,opt,name=group,proto3" json:"group"` //章节id
|
||||||
Stage int32 `protobuf:"varint,4,opt,name=stage,proto3" json:"stage"` //目标阶段
|
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() {
|
func (x *MainlineReceiveAwardResp) Reset() {
|
||||||
@ -625,7 +625,7 @@ func (x *MainlineReceiveAwardResp) GetStage() int32 {
|
|||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MainlineReceiveAwardResp) GetReward() []*UserAssets {
|
func (x *MainlineReceiveAwardResp) GetReward() []*UserAtno {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Reward
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
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,
|
0x21, 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,
|
0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x77, 0x61, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18,
|
0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18, 0x04, 0x20,
|
||||||
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18,
|
0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07,
|
||||||
0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68,
|
||||||
0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x22, 0x2c, 0x0a, 0x14, 0x4d, 0x61, 0x69, 0x6e,
|
0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x22, 0x2c, 0x0a, 0x14, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69,
|
||||||
0x6c, 0x69, 0x6e, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71,
|
0x6e, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x12, 0x14,
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
|
||||||
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6e, 0x6c,
|
0x65, 0x76, 0x65, 0x6c, 0x22, 0x98, 0x01, 0x0a, 0x15, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e,
|
||||||
0x69, 0x6e, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70,
|
0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x61, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
|
||||||
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
|
||||||
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02,
|
0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x02, 0x20, 0x01,
|
||||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x23, 0x0a, 0x06, 0x72, 0x65,
|
0x28, 0x05, 0x52, 0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x21, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x77, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65,
|
0x72, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
|
||||||
0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12,
|
0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x75,
|
||||||
0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
|
0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73,
|
||||||
0x52, 0x07, 0x75, 0x73, 0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72,
|
0x65, 0x72, 0x45, 0x78, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70,
|
||||||
0x6f, 0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f,
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68, 0x65, 0x72, 0x6f, 0x45, 0x78, 0x70, 0x22,
|
||||||
0x45, 0x78, 0x70, 0x22, 0x75, 0x0a, 0x17, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52,
|
0x75, 0x0a, 0x17, 0x4d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69,
|
||||||
0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14,
|
0x76, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74,
|
||||||
0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72,
|
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65,
|
||||||
0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18,
|
0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x14,
|
0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72,
|
||||||
0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67,
|
0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
||||||
0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20,
|
0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x9b, 0x01, 0x0a, 0x18, 0x4d,
|
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x4d, 0x61, 0x69, 0x6e, 0x6c,
|
||||||
0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x77,
|
0x69, 0x6e, 0x65, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x41, 0x77, 0x61, 0x72, 0x64, 0x52,
|
||||||
0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65,
|
0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
|
||||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a,
|
0x28, 0x05, 0x52, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x68, 0x61,
|
||||||
0x07, 0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
0x70, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x68, 0x61, 0x70,
|
||||||
0x63, 0x68, 0x61, 0x70, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70,
|
0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x03, 0x20, 0x01,
|
||||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a,
|
0x28, 0x05, 0x52, 0x05, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
|
||||||
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74,
|
0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x12,
|
||||||
0x61, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20,
|
0x21, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
||||||
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73,
|
0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e, 0x6f, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61,
|
||||||
0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62,
|
0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -733,16 +733,16 @@ var file_mainline_mainline_msg_proto_goTypes = []interface{}{
|
|||||||
(*BattleFormation)(nil), // 11: BattleFormation
|
(*BattleFormation)(nil), // 11: BattleFormation
|
||||||
(*BattleInfo)(nil), // 12: BattleInfo
|
(*BattleInfo)(nil), // 12: BattleInfo
|
||||||
(*BattleReport)(nil), // 13: BattleReport
|
(*BattleReport)(nil), // 13: BattleReport
|
||||||
(*UserAssets)(nil), // 14: UserAssets
|
(*UserAtno)(nil), // 14: UserAtno
|
||||||
}
|
}
|
||||||
var file_mainline_mainline_msg_proto_depIdxs = []int32{
|
var file_mainline_mainline_msg_proto_depIdxs = []int32{
|
||||||
10, // 0: MainlineInfoResp.info:type_name -> DBMainline
|
10, // 0: MainlineInfoResp.info:type_name -> DBMainline
|
||||||
11, // 1: MainlineChallengeReq.battle:type_name -> BattleFormation
|
11, // 1: MainlineChallengeReq.battle:type_name -> BattleFormation
|
||||||
12, // 2: MainlineChallengeResp.info:type_name -> BattleInfo
|
12, // 2: MainlineChallengeResp.info:type_name -> BattleInfo
|
||||||
13, // 3: MainlineChallengeOverReq.report:type_name -> BattleReport
|
13, // 3: MainlineChallengeOverReq.report:type_name -> BattleReport
|
||||||
14, // 4: MainlineChallengeOverResp.reward:type_name -> UserAssets
|
14, // 4: MainlineChallengeOverResp.reward:type_name -> UserAtno
|
||||||
14, // 5: MainlineLevelPassResp.reward:type_name -> UserAssets
|
14, // 5: MainlineLevelPassResp.reward:type_name -> UserAtno
|
||||||
14, // 6: MainlineReceiveAwardResp.reward:type_name -> UserAssets
|
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 output_type
|
||||||
7, // [7:7] is the sub-list for method input_type
|
7, // [7:7] is the sub-list for method input_type
|
||||||
7, // [7:7] is the sub-list for extension type_name
|
7, // [7:7] is the sub-list for extension type_name
|
||||||
|
@ -1678,101 +1678,6 @@ func (x *StonehengeTaskReceiveResp) GetAward() []*UserAssets {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// 重置三选一
|
|
||||||
type StonehengeResetBuffReq struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Eventid int32 `protobuf:"varint,1,opt,name=eventid,proto3" json:"eventid"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffReq) Reset() {
|
|
||||||
*x = StonehengeResetBuffReq{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffReq) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*StonehengeResetBuffReq) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffReq) 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 StonehengeResetBuffReq.ProtoReflect.Descriptor instead.
|
|
||||||
func (*StonehengeResetBuffReq) Descriptor() ([]byte, []int) {
|
|
||||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{30}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffReq) GetEventid() int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Eventid
|
|
||||||
}
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
type StonehengeResetBuffResp struct {
|
|
||||||
state protoimpl.MessageState
|
|
||||||
sizeCache protoimpl.SizeCache
|
|
||||||
unknownFields protoimpl.UnknownFields
|
|
||||||
|
|
||||||
Selectbuff []int32 `protobuf:"varint,1,rep,packed,name=selectbuff,proto3" json:"selectbuff"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffResp) Reset() {
|
|
||||||
*x = StonehengeResetBuffResp{}
|
|
||||||
if protoimpl.UnsafeEnabled {
|
|
||||||
mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31]
|
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
||||||
ms.StoreMessageInfo(mi)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffResp) String() string {
|
|
||||||
return protoimpl.X.MessageStringOf(x)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (*StonehengeResetBuffResp) ProtoMessage() {}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffResp) 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 StonehengeResetBuffResp.ProtoReflect.Descriptor instead.
|
|
||||||
func (*StonehengeResetBuffResp) Descriptor() ([]byte, []int) {
|
|
||||||
return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{31}
|
|
||||||
}
|
|
||||||
|
|
||||||
func (x *StonehengeResetBuffResp) GetSelectbuff() []int32 {
|
|
||||||
if x != nil {
|
|
||||||
return x.Selectbuff
|
|
||||||
}
|
|
||||||
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{
|
||||||
@ -1993,15 +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,
|
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,
|
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,
|
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||||
0x3a, 0x02, 0x38, 0x01, 0x22, 0x32, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e,
|
0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||||
0x67, 0x65, 0x52, 0x65, 0x73, 0x65, 0x74, 0x42, 0x75, 0x66, 0x66, 0x52, 0x65, 0x71, 0x12, 0x18,
|
0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
||||||
0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x22, 0x39, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x6e,
|
|
||||||
0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x65, 0x74, 0x42, 0x75, 0x66, 0x66, 0x52,
|
|
||||||
0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x62, 0x75, 0x66,
|
|
||||||
0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x62,
|
|
||||||
0x75, 0x66, 0x66, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
||||||
0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -2016,7 +1914,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, 41)
|
var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
|
||||||
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
|
||||||
@ -2048,61 +1946,59 @@ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{
|
|||||||
(*StonehengeTaskInfoResp)(nil), // 27: StonehengeTaskInfoResp
|
(*StonehengeTaskInfoResp)(nil), // 27: StonehengeTaskInfoResp
|
||||||
(*StonehengeTaskReceiveReq)(nil), // 28: StonehengeTaskReceiveReq
|
(*StonehengeTaskReceiveReq)(nil), // 28: StonehengeTaskReceiveReq
|
||||||
(*StonehengeTaskReceiveResp)(nil), // 29: StonehengeTaskReceiveResp
|
(*StonehengeTaskReceiveResp)(nil), // 29: StonehengeTaskReceiveResp
|
||||||
(*StonehengeResetBuffReq)(nil), // 30: StonehengeResetBuffReq
|
nil, // 30: StonehengeEnterLevelResp.HeroEntry
|
||||||
(*StonehengeResetBuffResp)(nil), // 31: StonehengeResetBuffResp
|
nil, // 31: StonehengeEventResp.HeroEntry
|
||||||
nil, // 32: StonehengeEnterLevelResp.HeroEntry
|
nil, // 32: StonehengeEventResp.UserbuffEntry
|
||||||
nil, // 33: StonehengeEventResp.HeroEntry
|
nil, // 33: StonehengeStoreResp.ShopEntry
|
||||||
nil, // 34: StonehengeEventResp.UserbuffEntry
|
nil, // 34: StonehengeActivateTalentResp.TalentEntry
|
||||||
nil, // 35: StonehengeStoreResp.ShopEntry
|
nil, // 35: StonehengeActivateTalentResp.TalentpropertyEntry
|
||||||
nil, // 36: StonehengeActivateTalentResp.TalentEntry
|
nil, // 36: StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||||
nil, // 37: StonehengeActivateTalentResp.TalentpropertyEntry
|
nil, // 37: StonehengeTaskInfoResp.TaskEntry
|
||||||
nil, // 38: StonehengeWeekAwardResp.WeeklyrewardEntry
|
nil, // 38: StonehengeTaskReceiveResp.TaskEntry
|
||||||
nil, // 39: StonehengeTaskInfoResp.TaskEntry
|
(*DBStonehenge)(nil), // 39: DBStonehenge
|
||||||
nil, // 40: StonehengeTaskReceiveResp.TaskEntry
|
(*DBStoneBoss)(nil), // 40: DBStoneBoss
|
||||||
(*DBStonehenge)(nil), // 41: DBStonehenge
|
(*RoomData)(nil), // 41: RoomData
|
||||||
(*DBStoneBoss)(nil), // 42: DBStoneBoss
|
(*BattleReport)(nil), // 42: BattleReport
|
||||||
(*RoomData)(nil), // 43: RoomData
|
(*UserAtno)(nil), // 43: UserAtno
|
||||||
(*BattleReport)(nil), // 44: BattleReport
|
(*BattleFormation)(nil), // 44: BattleFormation
|
||||||
(*UserAtno)(nil), // 45: UserAtno
|
(*BattleInfo)(nil), // 45: BattleInfo
|
||||||
(*BattleFormation)(nil), // 46: BattleFormation
|
(StonehengePrivilege)(0), // 46: StonehengePrivilege
|
||||||
(*BattleInfo)(nil), // 47: BattleInfo
|
(*DBStonehengeBook)(nil), // 47: DBStonehengeBook
|
||||||
(StonehengePrivilege)(0), // 48: StonehengePrivilege
|
(*UserAssets)(nil), // 48: UserAssets
|
||||||
(*DBStonehengeBook)(nil), // 49: DBStonehengeBook
|
(*ConIProgress)(nil), // 49: ConIProgress
|
||||||
(*UserAssets)(nil), // 50: UserAssets
|
(*BattleRole)(nil), // 50: BattleRole
|
||||||
(*ConIProgress)(nil), // 51: ConIProgress
|
|
||||||
(*BattleRole)(nil), // 52: BattleRole
|
|
||||||
}
|
}
|
||||||
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{
|
||||||
41, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
39, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge
|
||||||
42, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
40, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss
|
||||||
32, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
30, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry
|
||||||
43, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
41, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData
|
||||||
43, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
41, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData
|
||||||
44, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
42, // 5: StonehengeEventReq.report:type_name -> BattleReport
|
||||||
43, // 6: StonehengeEventResp.room:type_name -> RoomData
|
41, // 6: StonehengeEventResp.room:type_name -> RoomData
|
||||||
45, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
43, // 7: StonehengeEventResp.reward:type_name -> UserAtno
|
||||||
33, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
31, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry
|
||||||
34, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
32, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry
|
||||||
43, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
41, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData
|
||||||
41, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
39, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge
|
||||||
45, // 12: StonehengeFinishResp.reward:type_name -> UserAtno
|
43, // 12: StonehengeFinishResp.reward:type_name -> UserAtno
|
||||||
46, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation
|
44, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation
|
||||||
47, // 14: StonehengeBattleResp.info:type_name -> BattleInfo
|
45, // 14: StonehengeBattleResp.info:type_name -> BattleInfo
|
||||||
43, // 15: StonehengeStoryResp.room:type_name -> RoomData
|
41, // 15: StonehengeStoryResp.room:type_name -> RoomData
|
||||||
35, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
33, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry
|
||||||
36, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
34, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry
|
||||||
37, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
35, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry
|
||||||
48, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
46, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege
|
||||||
49, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
47, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook
|
||||||
50, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets
|
48, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets
|
||||||
38, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
36, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry
|
||||||
50, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
48, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets
|
||||||
51, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress
|
49, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress
|
||||||
39, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry
|
37, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry
|
||||||
40, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry
|
38, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry
|
||||||
50, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets
|
48, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets
|
||||||
52, // 28: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
50, // 28: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole
|
||||||
52, // 29: StonehengeEventResp.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 output_type
|
||||||
30, // [30:30] is the sub-list for method input_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 type_name
|
||||||
@ -2481,30 +2377,6 @@ func file_stonehenge_stonehenge_msg_proto_init() {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
file_stonehenge_stonehenge_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
||||||
switch v := v.(*StonehengeResetBuffReq); 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.(*StonehengeResetBuffResp); 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{
|
||||||
@ -2512,7 +2384,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: 41,
|
NumMessages: 39,
|
||||||
NumExtensions: 0,
|
NumExtensions: 0,
|
||||||
NumServices: 0,
|
NumServices: 0,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user