羁绊等级需要手动激活
This commit is contained in:
parent
33784184b7
commit
cc32aaa029
@ -25,14 +25,14 @@ func (this *apiComp) ActivationFetter(session comm.IUserSession, req *pb.Library
|
||||
code = pb.ErrorCode_LibraryNoData
|
||||
return
|
||||
}
|
||||
if fetter.Activation {
|
||||
if fetter.Fidlv != 0 {
|
||||
code = pb.ErrorCode_LibraryActivation
|
||||
return
|
||||
}
|
||||
fetter.Activation = true
|
||||
fetter.Fidlv = 1
|
||||
|
||||
mapData := make(map[string]interface{}, 0)
|
||||
mapData["activation"] = fetter.Activation
|
||||
mapData["fidlv"] = fetter.Fidlv
|
||||
|
||||
this.module.modelLibrary.modifyLibraryDataByObjId(session.GetUserId(), fetter.Id, mapData)
|
||||
rsp.Data = fetter
|
||||
|
@ -7,27 +7,27 @@ import (
|
||||
)
|
||||
|
||||
//参数校验
|
||||
func (this *apiComp) GetRewardCheck(session comm.IUserSession, req *pb.LibraryGetRewardReq) (code pb.ErrorCode) {
|
||||
if req.ObjId == "" || req.Fetterlv == 0 {
|
||||
func (this *apiComp) FetterLvUpCheck(session comm.IUserSession, req *pb.LibraryFetterLvUpReq) (code pb.ErrorCode) {
|
||||
if req.LibOid == "" {
|
||||
code = pb.ErrorCode_ReqParameterError
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// 羁绊等级奖励
|
||||
func (this *apiComp) GetReward(session comm.IUserSession, req *pb.LibraryGetRewardReq) (code pb.ErrorCode, data *pb.ErrorData) {
|
||||
func (this *apiComp) FetterLvUp(session comm.IUserSession, req *pb.LibraryFetterLvUpReq) (code pb.ErrorCode, data *pb.ErrorData) {
|
||||
|
||||
var (
|
||||
totalFetterLv int32 //羁绊总等级
|
||||
)
|
||||
code = this.GetRewardCheck(session, req)
|
||||
code = this.FetterLvUpCheck(session, req)
|
||||
if code != pb.ErrorCode_Success {
|
||||
return // 参数校验失败直接返回
|
||||
}
|
||||
// 配置校验
|
||||
|
||||
rsp := &pb.LibraryGetRewardResp{}
|
||||
fetter := this.module.getLibraryByObjID(session.GetUserId(), req.ObjId)
|
||||
rsp := &pb.LibraryFetterLvUpResp{}
|
||||
fetter := this.module.getLibraryByObjID(session.GetUserId(), req.LibOid)
|
||||
if fetter == nil {
|
||||
code = pb.ErrorCode_LibraryNoData
|
||||
return
|
||||
@ -38,22 +38,23 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.LibraryGetRewa
|
||||
}
|
||||
}
|
||||
totalFetterLv = 0
|
||||
conf := this.module.configure.GetFriendData(fetter.Fid, req.Fetterlv)
|
||||
conf := this.module.configure.GetFriendData(fetter.Fid, fetter.Fidlv+1)
|
||||
if len(conf) == 0 {
|
||||
code = pb.ErrorCode_ConfigNoFound
|
||||
return
|
||||
} else {
|
||||
fetter.Fidlv += 1
|
||||
if conf[0].FavorabilityLv > totalFetterLv {
|
||||
code = pb.ErrorCode_LibraryLvReward
|
||||
return
|
||||
}
|
||||
}
|
||||
if _, ok := fetter.Prize[req.Fetterlv]; ok {
|
||||
if _, ok := fetter.Prize[fetter.Fidlv]; ok {
|
||||
code = pb.ErrorCode_LibraryReward
|
||||
return
|
||||
}
|
||||
|
||||
fetter.Prize[req.Fetterlv] = 1
|
||||
fetter.Prize[fetter.Fidlv] = 1
|
||||
// 发奖
|
||||
|
||||
hProperty := make(map[string][]*cfg.Gameatr, 0)
|
||||
@ -71,8 +72,9 @@ func (this *apiComp) GetReward(session comm.IUserSession, req *pb.LibraryGetRewa
|
||||
this.module.ModuleHero.AddHeroFetterAttribute(session, hProperty)
|
||||
mapData := make(map[string]interface{}, 0)
|
||||
mapData["prize"] = fetter.Prize
|
||||
mapData["fidlv"] = fetter.Fidlv
|
||||
this.module.ModifyLibraryData(session.GetUserId(), fetter.Id, mapData) // 更新内存信息
|
||||
rsp.Data = fetter
|
||||
session.SendMsg(string(this.module.GetType()), LibraryGetRewardResp, rsp)
|
||||
session.SendMsg(string(this.module.GetType()), "fetterlvup", rsp)
|
||||
return
|
||||
}
|
@ -113,6 +113,8 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.VikingChal
|
||||
if cfg != nil && cfg.Star == v {
|
||||
del = append(del, v1.O)
|
||||
}
|
||||
} else if v1.A == "item" { //补充 自动出售道具
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ type DBLibrary struct {
|
||||
Herofetter map[string]string `protobuf:"bytes,4,rep,name=herofetter,proto3" json:"herofetter" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // key: hid value: DBHeroFetter ObjID
|
||||
Prize map[int32]int32 `protobuf:"bytes,5,rep,name=prize,proto3" json:"prize" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //是否领奖 key 好感度等级
|
||||
Storyid int32 `protobuf:"varint,6,opt,name=storyid,proto3" json:"storyid"` // 故事id 用来判断是否领奖
|
||||
Activation bool `protobuf:"varint,7,opt,name=activation,proto3" json:"activation"` // 是否激活
|
||||
Fidlv int32 `protobuf:"varint,7,opt,name=fidlv,proto3" json:"fidlv"` // 羁绊领奖等级
|
||||
}
|
||||
|
||||
func (x *DBLibrary) Reset() {
|
||||
@ -108,11 +108,11 @@ func (x *DBLibrary) GetStoryid() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DBLibrary) GetActivation() bool {
|
||||
func (x *DBLibrary) GetFidlv() int32 {
|
||||
if x != nil {
|
||||
return x.Activation
|
||||
return x.Fidlv
|
||||
}
|
||||
return false
|
||||
return 0
|
||||
}
|
||||
|
||||
// 羁绊英雄数据
|
||||
@ -398,7 +398,7 @@ var File_library_library_db_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_library_library_db_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72,
|
||||
0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdb, 0x02, 0x0a, 0x09, 0x44,
|
||||
0x79, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x02, 0x0a, 0x09, 0x44,
|
||||
0x42, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 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, 0x10, 0x0a, 0x03, 0x66, 0x69,
|
||||
@ -411,55 +411,55 @@ var file_library_library_db_proto_rawDesc = []byte{
|
||||
0x61, 0x72, 0x79, 0x2e, 0x50, 0x72, 0x69, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
|
||||
0x70, 0x72, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x69, 0x64,
|
||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x69, 0x64, 0x12,
|
||||
0x1e, 0x0a, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20,
|
||||
0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
|
||||
0x3d, 0x0a, 0x0f, 0x48, 0x65, 0x72, 0x6f, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x45, 0x6e, 0x74,
|
||||
0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x14, 0x0a, 0x05, 0x66, 0x69, 0x64, 0x6c, 0x76, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||
0x66, 0x69, 0x64, 0x6c, 0x76, 0x1a, 0x3d, 0x0a, 0x0f, 0x48, 0x65, 0x72, 0x6f, 0x66, 0x65, 0x74,
|
||||
0x74, 0x65, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
|
||||
0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
||||
0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x7a, 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, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x38,
|
||||
0x0a, 0x0a, 0x50, 0x72, 0x69, 0x7a, 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, 0x22, 0xbe, 0x02, 0x0a, 0x0c, 0x44, 0x42, 0x48,
|
||||
0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 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, 0x16, 0x0a, 0x06, 0x68,
|
||||
0x65, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72,
|
||||
0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x04,
|
||||
0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a,
|
||||
0x07, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x6c, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07,
|
||||
0x66, 0x61, 0x76, 0x6f, 0x72, 0x6c, 0x76, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x61, 0x76, 0x6f, 0x72,
|
||||
0x65, 0x78, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x61, 0x76, 0x6f, 0x72,
|
||||
0x65, 0x78, 0x70, 0x12, 0x34, 0x0a, 0x07, 0x6c, 0x76, 0x70, 0x72, 0x69, 0x7a, 0x65, 0x18, 0x08,
|
||||
0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74,
|
||||
0x74, 0x65, 0x72, 0x2e, 0x4c, 0x76, 0x70, 0x72, 0x69, 0x7a, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
||||
0x52, 0x07, 0x6c, 0x76, 0x70, 0x72, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x69, 0x76,
|
||||
0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x67, 0x69,
|
||||
0x76, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65,
|
||||
0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x3a, 0x0a,
|
||||
0x0c, 0x4c, 0x76, 0x70, 0x72, 0x69, 0x7a, 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, 0x22, 0xbe, 0x01, 0x0a, 0x0d, 0x44, 0x42,
|
||||
0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x73, 0x74, 0x6f, 0x72, 0x79, 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, 0x3e, 0x0a,
|
||||
0x0a, 0x66, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28,
|
||||
0x0b, 0x32, 0x1e, 0x2e, 0x44, 0x42, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x73, 0x74, 0x6f, 0x72,
|
||||
0x79, 0x2e, 0x46, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x45, 0x6e, 0x74, 0x72,
|
||||
0x79, 0x52, 0x0a, 0x66, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x1a, 0x4b, 0x0a,
|
||||
0x0f, 0x46, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 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, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,
|
||||
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x23, 0x0a, 0x0b, 0x46, 0x65,
|
||||
0x74, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x73,
|
||||
0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22,
|
||||
0x3c, 0x0a, 0x0a, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a,
|
||||
0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74,
|
||||
0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x06, 0x5a,
|
||||
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xbe,
|
||||
0x02, 0x0a, 0x0c, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 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, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x69, 0x73,
|
||||
0x74, 0x6f, 0x72, 0x79, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74,
|
||||
0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x6c, 0x76, 0x18, 0x05,
|
||||
0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x6c, 0x76, 0x12, 0x1a, 0x0a,
|
||||
0x08, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x65, 0x78, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52,
|
||||
0x08, 0x66, 0x61, 0x76, 0x6f, 0x72, 0x65, 0x78, 0x70, 0x12, 0x34, 0x0a, 0x07, 0x6c, 0x76, 0x70,
|
||||
0x72, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x48,
|
||||
0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x76, 0x70, 0x72, 0x69, 0x7a,
|
||||
0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x6c, 0x76, 0x70, 0x72, 0x69, 0x7a, 0x65, 0x12,
|
||||
0x1c, 0x0a, 0x09, 0x67, 0x69, 0x76, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x09, 0x67, 0x69, 0x76, 0x65, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
|
||||
0x05, 0x63, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x74,
|
||||
0x69, 0x6d, 0x65, 0x1a, 0x3a, 0x0a, 0x0c, 0x4c, 0x76, 0x70, 0x72, 0x69, 0x7a, 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, 0x22,
|
||||
0xbe, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x73, 0x74, 0x6f, 0x72,
|
||||
0x79, 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, 0x3e, 0x0a, 0x0a, 0x66, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73,
|
||||
0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x44, 0x42, 0x46, 0x65, 0x74, 0x74,
|
||||
0x65, 0x72, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x46, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 0x61,
|
||||
0x73, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x66, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x1a, 0x4b, 0x0a, 0x0f, 0x46, 0x65, 0x65, 0x74, 0x65, 0x72, 0x54, 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, 0x22, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72,
|
||||
0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
|
||||
0x22, 0x23, 0x0a, 0x0b, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05,
|
||||
0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x3c, 0x0a, 0x0a, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x54,
|
||||
0x61, 0x73, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
||||
0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x61,
|
||||
0x74, 0x75, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
||||
0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
|
@ -192,109 +192,6 @@ func (x *LibraryGetFetterListResp) GetData() []*DBHeroFetter {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 领取羁绊等级奖励
|
||||
type LibraryGetRewardReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
ObjId string `protobuf:"bytes,1,opt,name=objId,proto3" json:"objId"` // DBLibrary 的ObjID
|
||||
Fetterlv int32 `protobuf:"varint,2,opt,name=fetterlv,proto3" json:"fetterlv"` // 羁绊等级
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardReq) Reset() {
|
||||
*x = LibraryGetRewardReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*LibraryGetRewardReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryGetRewardReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[4]
|
||||
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 LibraryGetRewardReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryGetRewardReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardReq) GetObjId() string {
|
||||
if x != nil {
|
||||
return x.ObjId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardReq) GetFetterlv() int32 {
|
||||
if x != nil {
|
||||
return x.Fetterlv
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type LibraryGetRewardResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Data *DBLibrary `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardResp) Reset() {
|
||||
*x = LibraryGetRewardResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*LibraryGetRewardResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryGetRewardResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[5]
|
||||
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 LibraryGetRewardResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryGetRewardResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *LibraryGetRewardResp) GetData() *DBLibrary {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 领取剧情奖励
|
||||
type LibraryGetStoryRewardReq struct {
|
||||
state protoimpl.MessageState
|
||||
@ -308,7 +205,7 @@ type LibraryGetStoryRewardReq struct {
|
||||
func (x *LibraryGetStoryRewardReq) Reset() {
|
||||
*x = LibraryGetStoryRewardReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[6]
|
||||
mi := &file_library_library_msg_proto_msgTypes[4]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -321,7 +218,7 @@ func (x *LibraryGetStoryRewardReq) String() string {
|
||||
func (*LibraryGetStoryRewardReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryGetStoryRewardReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[6]
|
||||
mi := &file_library_library_msg_proto_msgTypes[4]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -334,7 +231,7 @@ func (x *LibraryGetStoryRewardReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryGetStoryRewardReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryGetStoryRewardReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{6}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{4}
|
||||
}
|
||||
|
||||
func (x *LibraryGetStoryRewardReq) GetOid() string {
|
||||
@ -362,7 +259,7 @@ type LibraryGetStoryRewardResp struct {
|
||||
func (x *LibraryGetStoryRewardResp) Reset() {
|
||||
*x = LibraryGetStoryRewardResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[7]
|
||||
mi := &file_library_library_msg_proto_msgTypes[5]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -375,7 +272,7 @@ func (x *LibraryGetStoryRewardResp) String() string {
|
||||
func (*LibraryGetStoryRewardResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryGetStoryRewardResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[7]
|
||||
mi := &file_library_library_msg_proto_msgTypes[5]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -388,7 +285,7 @@ func (x *LibraryGetStoryRewardResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryGetStoryRewardResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryGetStoryRewardResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{7}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{5}
|
||||
}
|
||||
|
||||
func (x *LibraryGetStoryRewardResp) GetData() *DBHeroFetter {
|
||||
@ -412,7 +309,7 @@ type LibraryUseGiftReq struct {
|
||||
func (x *LibraryUseGiftReq) Reset() {
|
||||
*x = LibraryUseGiftReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[8]
|
||||
mi := &file_library_library_msg_proto_msgTypes[6]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -425,7 +322,7 @@ func (x *LibraryUseGiftReq) String() string {
|
||||
func (*LibraryUseGiftReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryUseGiftReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[8]
|
||||
mi := &file_library_library_msg_proto_msgTypes[6]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -438,7 +335,7 @@ func (x *LibraryUseGiftReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryUseGiftReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryUseGiftReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{8}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{6}
|
||||
}
|
||||
|
||||
func (x *LibraryUseGiftReq) GetHeroid() string {
|
||||
@ -473,7 +370,7 @@ type LibraryUseGiftResp struct {
|
||||
func (x *LibraryUseGiftResp) Reset() {
|
||||
*x = LibraryUseGiftResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[9]
|
||||
mi := &file_library_library_msg_proto_msgTypes[7]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -486,7 +383,7 @@ func (x *LibraryUseGiftResp) String() string {
|
||||
func (*LibraryUseGiftResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryUseGiftResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[9]
|
||||
mi := &file_library_library_msg_proto_msgTypes[7]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -499,7 +396,7 @@ func (x *LibraryUseGiftResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryUseGiftResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryUseGiftResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{9}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{7}
|
||||
}
|
||||
|
||||
func (x *LibraryUseGiftResp) GetData() *DBHeroFetter {
|
||||
@ -521,7 +418,7 @@ type LibraryActivationFetterReq struct {
|
||||
func (x *LibraryActivationFetterReq) Reset() {
|
||||
*x = LibraryActivationFetterReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[10]
|
||||
mi := &file_library_library_msg_proto_msgTypes[8]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -534,7 +431,7 @@ func (x *LibraryActivationFetterReq) String() string {
|
||||
func (*LibraryActivationFetterReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryActivationFetterReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[10]
|
||||
mi := &file_library_library_msg_proto_msgTypes[8]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -547,7 +444,7 @@ func (x *LibraryActivationFetterReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryActivationFetterReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryActivationFetterReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{10}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{8}
|
||||
}
|
||||
|
||||
func (x *LibraryActivationFetterReq) GetOid() string {
|
||||
@ -568,7 +465,7 @@ type LibraryActivationFetterResp struct {
|
||||
func (x *LibraryActivationFetterResp) Reset() {
|
||||
*x = LibraryActivationFetterResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[11]
|
||||
mi := &file_library_library_msg_proto_msgTypes[9]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -581,7 +478,7 @@ func (x *LibraryActivationFetterResp) String() string {
|
||||
func (*LibraryActivationFetterResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryActivationFetterResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[11]
|
||||
mi := &file_library_library_msg_proto_msgTypes[9]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -594,7 +491,7 @@ func (x *LibraryActivationFetterResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryActivationFetterResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryActivationFetterResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{11}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{9}
|
||||
}
|
||||
|
||||
func (x *LibraryActivationFetterResp) GetData() *DBLibrary {
|
||||
@ -617,7 +514,7 @@ type LibraryChangePush struct {
|
||||
func (x *LibraryChangePush) Reset() {
|
||||
*x = LibraryChangePush{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[12]
|
||||
mi := &file_library_library_msg_proto_msgTypes[10]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -630,7 +527,7 @@ func (x *LibraryChangePush) String() string {
|
||||
func (*LibraryChangePush) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryChangePush) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[12]
|
||||
mi := &file_library_library_msg_proto_msgTypes[10]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -643,7 +540,7 @@ func (x *LibraryChangePush) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryChangePush.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryChangePush) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{12}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{10}
|
||||
}
|
||||
|
||||
func (x *LibraryChangePush) GetData() []*DBLibrary {
|
||||
@ -673,7 +570,7 @@ type LibraryLvRewardReq struct {
|
||||
func (x *LibraryLvRewardReq) Reset() {
|
||||
*x = LibraryLvRewardReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[13]
|
||||
mi := &file_library_library_msg_proto_msgTypes[11]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -686,7 +583,7 @@ func (x *LibraryLvRewardReq) String() string {
|
||||
func (*LibraryLvRewardReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryLvRewardReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[13]
|
||||
mi := &file_library_library_msg_proto_msgTypes[11]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -699,7 +596,7 @@ func (x *LibraryLvRewardReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryLvRewardReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryLvRewardReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{13}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{11}
|
||||
}
|
||||
|
||||
func (x *LibraryLvRewardReq) GetOid() string {
|
||||
@ -727,7 +624,7 @@ type LibraryLvRewardResp struct {
|
||||
func (x *LibraryLvRewardResp) Reset() {
|
||||
*x = LibraryLvRewardResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[14]
|
||||
mi := &file_library_library_msg_proto_msgTypes[12]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -740,7 +637,7 @@ func (x *LibraryLvRewardResp) String() string {
|
||||
func (*LibraryLvRewardResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryLvRewardResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[14]
|
||||
mi := &file_library_library_msg_proto_msgTypes[12]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -753,7 +650,7 @@ func (x *LibraryLvRewardResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryLvRewardResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryLvRewardResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{14}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{12}
|
||||
}
|
||||
|
||||
func (x *LibraryLvRewardResp) GetData() *DBHeroFetter {
|
||||
@ -775,7 +672,7 @@ type LibraryFetterstoryTaskReq struct {
|
||||
func (x *LibraryFetterstoryTaskReq) Reset() {
|
||||
*x = LibraryFetterstoryTaskReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[15]
|
||||
mi := &file_library_library_msg_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -788,7 +685,7 @@ func (x *LibraryFetterstoryTaskReq) String() string {
|
||||
func (*LibraryFetterstoryTaskReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryFetterstoryTaskReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[15]
|
||||
mi := &file_library_library_msg_proto_msgTypes[13]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -801,7 +698,7 @@ func (x *LibraryFetterstoryTaskReq) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryFetterstoryTaskReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryFetterstoryTaskReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{15}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *LibraryFetterstoryTaskReq) GetFetterId() int32 {
|
||||
@ -822,7 +719,7 @@ type LibraryFetterstoryTaskResp struct {
|
||||
func (x *LibraryFetterstoryTaskResp) Reset() {
|
||||
*x = LibraryFetterstoryTaskResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[16]
|
||||
mi := &file_library_library_msg_proto_msgTypes[14]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -835,7 +732,7 @@ func (x *LibraryFetterstoryTaskResp) String() string {
|
||||
func (*LibraryFetterstoryTaskResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryFetterstoryTaskResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[16]
|
||||
mi := &file_library_library_msg_proto_msgTypes[14]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -848,7 +745,7 @@ func (x *LibraryFetterstoryTaskResp) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use LibraryFetterstoryTaskResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryFetterstoryTaskResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{16}
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{14}
|
||||
}
|
||||
|
||||
func (x *LibraryFetterstoryTaskResp) GetList() []*FetterTask {
|
||||
@ -858,6 +755,101 @@ func (x *LibraryFetterstoryTaskResp) GetList() []*FetterTask {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 手动提升羁绊等级
|
||||
type LibraryFetterLvUpReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
LibOid string `protobuf:"bytes,1,opt,name=libOid,proto3" json:"libOid"` // 羁绊对象id
|
||||
}
|
||||
|
||||
func (x *LibraryFetterLvUpReq) Reset() {
|
||||
*x = LibraryFetterLvUpReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[15]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *LibraryFetterLvUpReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*LibraryFetterLvUpReq) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryFetterLvUpReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[15]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
return ms
|
||||
}
|
||||
return mi.MessageOf(x)
|
||||
}
|
||||
|
||||
// Deprecated: Use LibraryFetterLvUpReq.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryFetterLvUpReq) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{15}
|
||||
}
|
||||
|
||||
func (x *LibraryFetterLvUpReq) GetLibOid() string {
|
||||
if x != nil {
|
||||
return x.LibOid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type LibraryFetterLvUpResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Data *DBLibrary `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
|
||||
}
|
||||
|
||||
func (x *LibraryFetterLvUpResp) Reset() {
|
||||
*x = LibraryFetterLvUpResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_library_library_msg_proto_msgTypes[16]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *LibraryFetterLvUpResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*LibraryFetterLvUpResp) ProtoMessage() {}
|
||||
|
||||
func (x *LibraryFetterLvUpResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_library_library_msg_proto_msgTypes[16]
|
||||
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 LibraryFetterLvUpResp.ProtoReflect.Descriptor instead.
|
||||
func (*LibraryFetterLvUpResp) Descriptor() ([]byte, []int) {
|
||||
return file_library_library_msg_proto_rawDescGZIP(), []int{16}
|
||||
}
|
||||
|
||||
func (x *LibraryFetterLvUpResp) GetData() *DBLibrary {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_library_library_msg_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_library_library_msg_proto_rawDesc = []byte{
|
||||
@ -874,61 +866,60 @@ var file_library_library_msg_proto_rawDesc = []byte{
|
||||
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65, 0x74, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c,
|
||||
0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
||||
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65,
|
||||
0x74, 0x74, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x47, 0x0a, 0x13, 0x4c, 0x69,
|
||||
0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65, 0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65,
|
||||
0x71, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x62, 0x6a, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
||||
0x52, 0x05, 0x6f, 0x62, 0x6a, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x6c, 0x76, 0x22, 0x36, 0x0a, 0x14, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65,
|
||||
0x74, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64,
|
||||
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x4c, 0x69,
|
||||
0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x46, 0x0a, 0x18, 0x4c,
|
||||
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
|
||||
0x74, 0x74, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x46, 0x0a, 0x18, 0x4c, 0x69,
|
||||
0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65, 0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x77,
|
||||
0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74,
|
||||
0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x79, 0x22, 0x3e, 0x0a, 0x19, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65, 0x74,
|
||||
0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12,
|
||||
0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
||||
0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x52, 0x04, 0x64, 0x61,
|
||||
0x74, 0x61, 0x22, 0x59, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x73, 0x65,
|
||||
0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69,
|
||||
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x12,
|
||||
0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
||||
0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18,
|
||||
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x37, 0x0a,
|
||||
0x12, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x73, 0x65, 0x47, 0x69, 0x66, 0x74, 0x52,
|
||||
0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72,
|
||||
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
|
||||
0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x3d, 0x0a, 0x1b, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
|
||||
0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52,
|
||||
0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x5a, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79,
|
||||
0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61,
|
||||
0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x4c, 0x69, 0x62,
|
||||
0x72, 0x61, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x06, 0x66, 0x65,
|
||||
0x74, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x48,
|
||||
0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x22, 0x36, 0x0a, 0x12, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x76, 0x52, 0x65,
|
||||
0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x68, 0x69, 0x73,
|
||||
0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74,
|
||||
0x6f, 0x72, 0x79, 0x22, 0x3e, 0x0a, 0x19, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x47, 0x65,
|
||||
0x74, 0x53, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
|
||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x22, 0x38, 0x0a, 0x13, 0x4c, 0x69, 0x62,
|
||||
0x72, 0x61, 0x72, 0x79, 0x4c, 0x76, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70,
|
||||
0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
||||
0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x52, 0x04, 0x64,
|
||||
0x61, 0x74, 0x61, 0x22, 0x59, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x73,
|
||||
0x65, 0x47, 0x69, 0x66, 0x74, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f,
|
||||
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64,
|
||||
0x12, 0x14, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||
0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
|
||||
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x37,
|
||||
0x0a, 0x12, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x73, 0x65, 0x47, 0x69, 0x66, 0x74,
|
||||
0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2e, 0x0a, 0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61,
|
||||
0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x74, 0x74,
|
||||
0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x22, 0x3d, 0x0a, 0x1b, 0x4c, 0x69, 0x62, 0x72, 0x61,
|
||||
0x72, 0x79, 0x41, 0x63, 0x74, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x65, 0x74, 0x74,
|
||||
0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79,
|
||||
0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x5a, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72,
|
||||
0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x75, 0x73, 0x68, 0x12, 0x1e, 0x0a, 0x04, 0x64,
|
||||
0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x4c, 0x69,
|
||||
0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x06, 0x66,
|
||||
0x65, 0x74, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42,
|
||||
0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x65, 0x74, 0x74,
|
||||
0x65, 0x72, 0x22, 0x36, 0x0a, 0x12, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x76, 0x52,
|
||||
0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18,
|
||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76,
|
||||
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x22, 0x38, 0x0a, 0x13, 0x4c, 0x69,
|
||||
0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x76, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73,
|
||||
0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||
0x0d, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x52, 0x04,
|
||||
0x64, 0x61, 0x74, 0x61, 0x22, 0x37, 0x0a, 0x19, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46,
|
||||
0x65, 0x74, 0x74, 0x65, 0x72, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65,
|
||||
0x71, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x05, 0x52, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3d, 0x0a,
|
||||
0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x73, 0x74,
|
||||
0x6f, 0x72, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x6c,
|
||||
0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x46, 0x65, 0x74, 0x74,
|
||||
0x65, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x61, 0x74, 0x61, 0x22, 0x37, 0x0a, 0x19, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x65,
|
||||
0x74, 0x74, 0x65, 0x72, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71,
|
||||
0x12, 0x1a, 0x0a, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x05, 0x52, 0x08, 0x66, 0x65, 0x74, 0x74, 0x65, 0x72, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1a,
|
||||
0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x73, 0x74, 0x6f,
|
||||
0x72, 0x79, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x6c, 0x69,
|
||||
0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x46, 0x65, 0x74, 0x74, 0x65,
|
||||
0x72, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x2e, 0x0a, 0x14, 0x4c,
|
||||
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x76, 0x55, 0x70,
|
||||
0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x69, 0x62, 0x4f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x69, 0x62, 0x4f, 0x69, 0x64, 0x22, 0x37, 0x0a, 0x15, 0x4c,
|
||||
0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x46, 0x65, 0x74, 0x74, 0x65, 0x72, 0x4c, 0x76, 0x55, 0x70,
|
||||
0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x44, 0x42, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x04,
|
||||
0x64, 0x61, 0x74, 0x61, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
|
||||
0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -949,19 +940,19 @@ var file_library_library_msg_proto_goTypes = []interface{}{
|
||||
(*LibraryGetListResp)(nil), // 1: LibraryGetListResp
|
||||
(*LibraryGetFetterListReq)(nil), // 2: LibraryGetFetterListReq
|
||||
(*LibraryGetFetterListResp)(nil), // 3: LibraryGetFetterListResp
|
||||
(*LibraryGetRewardReq)(nil), // 4: LibraryGetRewardReq
|
||||
(*LibraryGetRewardResp)(nil), // 5: LibraryGetRewardResp
|
||||
(*LibraryGetStoryRewardReq)(nil), // 6: LibraryGetStoryRewardReq
|
||||
(*LibraryGetStoryRewardResp)(nil), // 7: LibraryGetStoryRewardResp
|
||||
(*LibraryUseGiftReq)(nil), // 8: LibraryUseGiftReq
|
||||
(*LibraryUseGiftResp)(nil), // 9: LibraryUseGiftResp
|
||||
(*LibraryActivationFetterReq)(nil), // 10: LibraryActivationFetterReq
|
||||
(*LibraryActivationFetterResp)(nil), // 11: LibraryActivationFetterResp
|
||||
(*LibraryChangePush)(nil), // 12: LibraryChangePush
|
||||
(*LibraryLvRewardReq)(nil), // 13: LibraryLvRewardReq
|
||||
(*LibraryLvRewardResp)(nil), // 14: LibraryLvRewardResp
|
||||
(*LibraryFetterstoryTaskReq)(nil), // 15: LibraryFetterstoryTaskReq
|
||||
(*LibraryFetterstoryTaskResp)(nil), // 16: LibraryFetterstoryTaskResp
|
||||
(*LibraryGetStoryRewardReq)(nil), // 4: LibraryGetStoryRewardReq
|
||||
(*LibraryGetStoryRewardResp)(nil), // 5: LibraryGetStoryRewardResp
|
||||
(*LibraryUseGiftReq)(nil), // 6: LibraryUseGiftReq
|
||||
(*LibraryUseGiftResp)(nil), // 7: LibraryUseGiftResp
|
||||
(*LibraryActivationFetterReq)(nil), // 8: LibraryActivationFetterReq
|
||||
(*LibraryActivationFetterResp)(nil), // 9: LibraryActivationFetterResp
|
||||
(*LibraryChangePush)(nil), // 10: LibraryChangePush
|
||||
(*LibraryLvRewardReq)(nil), // 11: LibraryLvRewardReq
|
||||
(*LibraryLvRewardResp)(nil), // 12: LibraryLvRewardResp
|
||||
(*LibraryFetterstoryTaskReq)(nil), // 13: LibraryFetterstoryTaskReq
|
||||
(*LibraryFetterstoryTaskResp)(nil), // 14: LibraryFetterstoryTaskResp
|
||||
(*LibraryFetterLvUpReq)(nil), // 15: LibraryFetterLvUpReq
|
||||
(*LibraryFetterLvUpResp)(nil), // 16: LibraryFetterLvUpResp
|
||||
(*DBLibrary)(nil), // 17: DBLibrary
|
||||
(*DBHeroFetter)(nil), // 18: DBHeroFetter
|
||||
(*FetterTask)(nil), // 19: FetterTask
|
||||
@ -969,14 +960,14 @@ var file_library_library_msg_proto_goTypes = []interface{}{
|
||||
var file_library_library_msg_proto_depIdxs = []int32{
|
||||
17, // 0: LibraryGetListResp.data:type_name -> DBLibrary
|
||||
18, // 1: LibraryGetFetterListResp.data:type_name -> DBHeroFetter
|
||||
17, // 2: LibraryGetRewardResp.data:type_name -> DBLibrary
|
||||
18, // 3: LibraryGetStoryRewardResp.data:type_name -> DBHeroFetter
|
||||
18, // 4: LibraryUseGiftResp.data:type_name -> DBHeroFetter
|
||||
17, // 5: LibraryActivationFetterResp.data:type_name -> DBLibrary
|
||||
17, // 6: LibraryChangePush.data:type_name -> DBLibrary
|
||||
18, // 7: LibraryChangePush.fetter:type_name -> DBHeroFetter
|
||||
18, // 8: LibraryLvRewardResp.data:type_name -> DBHeroFetter
|
||||
19, // 9: LibraryFetterstoryTaskResp.list:type_name -> FetterTask
|
||||
18, // 2: LibraryGetStoryRewardResp.data:type_name -> DBHeroFetter
|
||||
18, // 3: LibraryUseGiftResp.data:type_name -> DBHeroFetter
|
||||
17, // 4: LibraryActivationFetterResp.data:type_name -> DBLibrary
|
||||
17, // 5: LibraryChangePush.data:type_name -> DBLibrary
|
||||
18, // 6: LibraryChangePush.fetter:type_name -> DBHeroFetter
|
||||
18, // 7: LibraryLvRewardResp.data:type_name -> DBHeroFetter
|
||||
19, // 8: LibraryFetterstoryTaskResp.list:type_name -> FetterTask
|
||||
17, // 9: LibraryFetterLvUpResp.data:type_name -> DBLibrary
|
||||
10, // [10:10] is the sub-list for method output_type
|
||||
10, // [10:10] is the sub-list for method input_type
|
||||
10, // [10:10] is the sub-list for extension type_name
|
||||
@ -1040,30 +1031,6 @@ func file_library_library_msg_proto_init() {
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryGetRewardReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryGetRewardResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryGetStoryRewardReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1075,7 +1042,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryGetStoryRewardResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1087,7 +1054,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryUseGiftReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1099,7 +1066,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryUseGiftResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1111,7 +1078,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryActivationFetterReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1123,7 +1090,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryActivationFetterResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1135,7 +1102,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryChangePush); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1147,7 +1114,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryLvRewardReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1159,7 +1126,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryLvRewardResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1171,7 +1138,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryFetterstoryTaskReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1183,7 +1150,7 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_library_library_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryFetterstoryTaskResp); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -1195,6 +1162,30 @@ func file_library_library_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryFetterLvUpReq); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
case 1:
|
||||
return &v.sizeCache
|
||||
case 2:
|
||||
return &v.unknownFields
|
||||
default:
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_library_library_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*LibraryFetterLvUpResp); 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{
|
||||
|
Loading…
Reference in New Issue
Block a user