上传武馆柱子解锁限制
This commit is contained in:
parent
e88401e98d
commit
7da333d4a4
@ -40,18 +40,34 @@ func (this *apiComp) UnLock(session comm.IUserSession, req *pb.MartialhallUnLock
|
|||||||
case 2:
|
case 2:
|
||||||
pillar = mart.Pillar2
|
pillar = mart.Pillar2
|
||||||
filed = "pillar2"
|
filed = "pillar2"
|
||||||
|
if !mart.Pillar1.Isunlock {
|
||||||
|
code = pb.ErrorCode_MartialhallNoUnlocked
|
||||||
|
return
|
||||||
|
}
|
||||||
break
|
break
|
||||||
case 3:
|
case 3:
|
||||||
pillar = mart.Pillar3
|
pillar = mart.Pillar3
|
||||||
filed = "pillar3"
|
filed = "pillar3"
|
||||||
|
if !mart.Pillar1.Isunlock || !mart.Pillar2.Isunlock {
|
||||||
|
code = pb.ErrorCode_MartialhallNoUnlocked
|
||||||
|
return
|
||||||
|
}
|
||||||
break
|
break
|
||||||
case 4:
|
case 4:
|
||||||
pillar = mart.Pillar4
|
pillar = mart.Pillar4
|
||||||
filed = "pillar4"
|
filed = "pillar4"
|
||||||
|
if !mart.Pillar1.Isunlock || !mart.Pillar2.Isunlock || !mart.Pillar3.Isunlock {
|
||||||
|
code = pb.ErrorCode_MartialhallNoUnlocked
|
||||||
|
return
|
||||||
|
}
|
||||||
break
|
break
|
||||||
case 5:
|
case 5:
|
||||||
pillar = mart.Pillar5
|
pillar = mart.Pillar5
|
||||||
filed = "pillar5"
|
filed = "pillar5"
|
||||||
|
if !mart.Pillar1.Isunlock || !mart.Pillar2.Isunlock || !mart.Pillar3.Isunlock || !mart.Pillar4.Isunlock {
|
||||||
|
code = pb.ErrorCode_MartialhallNoUnlocked
|
||||||
|
return
|
||||||
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
if pillar.Isunlock {
|
if pillar.Isunlock {
|
||||||
|
@ -41,11 +41,11 @@ func (this *modelMartialhall) queryUserMartialhall(uid string) (result *pb.DBMar
|
|||||||
Id: primitive.NewObjectID().Hex(),
|
Id: primitive.NewObjectID().Hex(),
|
||||||
Uid: uid,
|
Uid: uid,
|
||||||
Lv: 1,
|
Lv: 1,
|
||||||
Pillar1: &pb.DBPillar{},
|
Pillar1: &pb.DBPillar{Index: 1},
|
||||||
Pillar2: &pb.DBPillar{},
|
Pillar2: &pb.DBPillar{Index: 2},
|
||||||
Pillar3: &pb.DBPillar{},
|
Pillar3: &pb.DBPillar{Index: 3},
|
||||||
Pillar4: &pb.DBPillar{},
|
Pillar4: &pb.DBPillar{Index: 4},
|
||||||
Pillar5: &pb.DBPillar{},
|
Pillar5: &pb.DBPillar{Index: 5},
|
||||||
}
|
}
|
||||||
if err = this.Add(uid, result); err != nil {
|
if err = this.Add(uid, result); err != nil {
|
||||||
this.module.Errorln(err)
|
this.module.Errorln(err)
|
||||||
|
@ -147,6 +147,7 @@ const (
|
|||||||
ErrorCode_MartialhallNotUnlocked ErrorCode = 2000 //没有解锁
|
ErrorCode_MartialhallNotUnlocked ErrorCode = 2000 //没有解锁
|
||||||
ErrorCode_MartialhallInUse ErrorCode = 2001 //已经在使用
|
ErrorCode_MartialhallInUse ErrorCode = 2001 //已经在使用
|
||||||
ErrorCode_MartialhallUnlocked ErrorCode = 2002 //已解锁
|
ErrorCode_MartialhallUnlocked ErrorCode = 2002 //已解锁
|
||||||
|
ErrorCode_MartialhallNoUnlocked ErrorCode = 2003 //有未解锁柱子
|
||||||
// 美食馆
|
// 美食馆
|
||||||
ErrorCode_GourmetMoreOrderTime ErrorCode = 2101 // 超过订单时长
|
ErrorCode_GourmetMoreOrderTime ErrorCode = 2101 // 超过订单时长
|
||||||
ErrorCode_GourmetSkillMaxLv ErrorCode = 2102 // 技能已经达到满级
|
ErrorCode_GourmetSkillMaxLv ErrorCode = 2102 // 技能已经达到满级
|
||||||
@ -274,6 +275,7 @@ var (
|
|||||||
2000: "MartialhallNotUnlocked",
|
2000: "MartialhallNotUnlocked",
|
||||||
2001: "MartialhallInUse",
|
2001: "MartialhallInUse",
|
||||||
2002: "MartialhallUnlocked",
|
2002: "MartialhallUnlocked",
|
||||||
|
2003: "MartialhallNoUnlocked",
|
||||||
2101: "GourmetMoreOrderTime",
|
2101: "GourmetMoreOrderTime",
|
||||||
2102: "GourmetSkillMaxLv",
|
2102: "GourmetSkillMaxLv",
|
||||||
2201: "RtaskFinished",
|
2201: "RtaskFinished",
|
||||||
@ -396,6 +398,7 @@ var (
|
|||||||
"MartialhallNotUnlocked": 2000,
|
"MartialhallNotUnlocked": 2000,
|
||||||
"MartialhallInUse": 2001,
|
"MartialhallInUse": 2001,
|
||||||
"MartialhallUnlocked": 2002,
|
"MartialhallUnlocked": 2002,
|
||||||
|
"MartialhallNoUnlocked": 2003,
|
||||||
"GourmetMoreOrderTime": 2101,
|
"GourmetMoreOrderTime": 2101,
|
||||||
"GourmetSkillMaxLv": 2102,
|
"GourmetSkillMaxLv": 2102,
|
||||||
"RtaskFinished": 2201,
|
"RtaskFinished": 2201,
|
||||||
@ -437,7 +440,7 @@ var File_errorcode_proto protoreflect.FileDescriptor
|
|||||||
|
|
||||||
var file_errorcode_proto_rawDesc = []byte{
|
var file_errorcode_proto_rawDesc = []byte{
|
||||||
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
0x0a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
0x6f, 0x2a, 0x92, 0x14, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
0x6f, 0x2a, 0xae, 0x14, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
||||||
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
|
0x0b, 0x0a, 0x07, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d,
|
||||||
0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x0a, 0x12,
|
0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x10, 0x0a, 0x12,
|
||||||
0x1b, 0x0a, 0x17, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
0x1b, 0x0a, 0x17, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
||||||
@ -588,18 +591,20 @@ var file_errorcode_proto_rawDesc = []byte{
|
|||||||
0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x10, 0xd0, 0x0f, 0x12, 0x15, 0x0a, 0x10, 0x4d, 0x61,
|
0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x10, 0xd0, 0x0f, 0x12, 0x15, 0x0a, 0x10, 0x4d, 0x61,
|
||||||
0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x10, 0xd1,
|
0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x49, 0x6e, 0x55, 0x73, 0x65, 0x10, 0xd1,
|
||||||
0x0f, 0x12, 0x18, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c,
|
0x0f, 0x12, 0x18, 0x0a, 0x13, 0x4d, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c,
|
||||||
0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x10, 0xd2, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x47,
|
0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x10, 0xd2, 0x0f, 0x12, 0x1a, 0x0a, 0x15, 0x4d,
|
||||||
0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x4d, 0x6f, 0x72, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54,
|
0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x4e, 0x6f, 0x55, 0x6e, 0x6c, 0x6f,
|
||||||
0x69, 0x6d, 0x65, 0x10, 0xb5, 0x10, 0x12, 0x16, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65,
|
0x63, 0x6b, 0x65, 0x64, 0x10, 0xd3, 0x0f, 0x12, 0x19, 0x0a, 0x14, 0x47, 0x6f, 0x75, 0x72, 0x6d,
|
||||||
0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x4d, 0x61, 0x78, 0x4c, 0x76, 0x10, 0xb6, 0x10, 0x12, 0x12,
|
0x65, 0x74, 0x4d, 0x6f, 0x72, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x10,
|
||||||
0x0a, 0x0d, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x10,
|
0xb5, 0x10, 0x12, 0x16, 0x0a, 0x11, 0x47, 0x6f, 0x75, 0x72, 0x6d, 0x65, 0x74, 0x53, 0x6b, 0x69,
|
||||||
0x99, 0x11, 0x12, 0x14, 0x0a, 0x0f, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x55, 0x6e, 0x46, 0x69, 0x6e,
|
0x6c, 0x6c, 0x4d, 0x61, 0x78, 0x4c, 0x76, 0x10, 0xb6, 0x10, 0x12, 0x12, 0x0a, 0x0d, 0x52, 0x74,
|
||||||
0x69, 0x73, 0x68, 0x65, 0x64, 0x10, 0x9a, 0x11, 0x12, 0x11, 0x0a, 0x0c, 0x52, 0x74, 0x61, 0x73,
|
0x61, 0x73, 0x6b, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x10, 0x99, 0x11, 0x12, 0x14,
|
||||||
0x6b, 0x4e, 0x6f, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x10, 0x9b, 0x11, 0x12, 0x12, 0x0a, 0x0d, 0x52,
|
0x0a, 0x0f, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x55, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65,
|
||||||
0x74, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x10, 0x9c, 0x11, 0x12,
|
0x64, 0x10, 0x9a, 0x11, 0x12, 0x11, 0x0a, 0x0c, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x4e, 0x6f, 0x52,
|
||||||
0x15, 0x0a, 0x10, 0x52, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x65, 0x4e, 0x6f, 0x46, 0x69, 0x6e,
|
0x74, 0x61, 0x73, 0x6b, 0x10, 0x9b, 0x11, 0x12, 0x12, 0x0a, 0x0d, 0x52, 0x74, 0x61, 0x73, 0x6b,
|
||||||
0x69, 0x73, 0x68, 0x10, 0x9d, 0x11, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
|
0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x65, 0x64, 0x10, 0x9c, 0x11, 0x12, 0x15, 0x0a, 0x10, 0x52,
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x65, 0x4e, 0x6f, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x10,
|
||||||
|
0x9d, 0x11, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
|
||||||
|
0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -75,13 +75,14 @@ type DBPillar struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Isunlock bool `protobuf:"varint,1,opt,name=isunlock,proto3" json:"isunlock"` //是否解锁
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index"` //柱子下标
|
||||||
State PillarState `protobuf:"varint,2,opt,name=state,proto3,enum=PillarState" json:"state"` //状态
|
Isunlock bool `protobuf:"varint,2,opt,name=isunlock,proto3" json:"isunlock"` //是否解锁
|
||||||
Hero string `protobuf:"bytes,3,opt,name=hero,proto3" json:"hero"` //当前练功英雄
|
State PillarState `protobuf:"varint,3,opt,name=state,proto3,enum=PillarState" json:"state"` //状态
|
||||||
Start int64 `protobuf:"varint,4,opt,name=start,proto3" json:"start"` //开始时间
|
Hero string `protobuf:"bytes,4,opt,name=hero,proto3" json:"hero"` //当前练功英雄
|
||||||
End int64 `protobuf:"varint,5,opt,name=end,proto3" json:"end"` //结束时间
|
Start int64 `protobuf:"varint,5,opt,name=start,proto3" json:"start"` //开始时间
|
||||||
Lastbill int64 `protobuf:"varint,6,opt,name=lastbill,proto3" json:"lastbill"` //上次结账时间
|
End int64 `protobuf:"varint,6,opt,name=end,proto3" json:"end"` //结束时间
|
||||||
Reward int32 `protobuf:"varint,7,opt,name=reward,proto3" json:"reward"` //奖励
|
Lastbill int64 `protobuf:"varint,7,opt,name=lastbill,proto3" json:"lastbill"` //上次结账时间
|
||||||
|
Reward int32 `protobuf:"varint,8,opt,name=reward,proto3" json:"reward"` //奖励
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DBPillar) Reset() {
|
func (x *DBPillar) Reset() {
|
||||||
@ -116,6 +117,13 @@ func (*DBPillar) Descriptor() ([]byte, []int) {
|
|||||||
return file_martialhall_martialhall_db_proto_rawDescGZIP(), []int{0}
|
return file_martialhall_martialhall_db_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *DBPillar) GetIndex() int32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Index
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
func (x *DBPillar) GetIsunlock() bool {
|
func (x *DBPillar) GetIsunlock() bool {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Isunlock
|
return x.Isunlock
|
||||||
@ -274,38 +282,40 @@ var File_martialhall_martialhall_db_proto protoreflect.FileDescriptor
|
|||||||
var file_martialhall_martialhall_db_proto_rawDesc = []byte{
|
var file_martialhall_martialhall_db_proto_rawDesc = []byte{
|
||||||
0x0a, 0x20, 0x6d, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x2f, 0x6d, 0x61,
|
0x0a, 0x20, 0x6d, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x2f, 0x6d, 0x61,
|
||||||
0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f,
|
||||||
0x74, 0x6f, 0x22, 0xba, 0x01, 0x0a, 0x08, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x12,
|
0x74, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x08, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x12,
|
||||||
0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28,
|
0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05,
|
||||||
0x08, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x22, 0x0a, 0x05, 0x73,
|
0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63,
|
||||||
0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0c, 0x2e, 0x50, 0x69, 0x6c,
|
0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63,
|
||||||
0x6c, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
|
0x6b, 0x12, 0x22, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
|
||||||
0x12, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68,
|
0x32, 0x0c, 0x2e, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
|
||||||
0x65, 0x72, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01,
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x04, 0x20,
|
||||||
0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64,
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
|
||||||
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c,
|
0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12,
|
||||||
0x61, 0x73, 0x74, 0x62, 0x69, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c,
|
0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x65, 0x6e,
|
||||||
0x61, 0x73, 0x74, 0x62, 0x69, 0x6c, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72,
|
0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x62, 0x69, 0x6c, 0x6c, 0x18, 0x07, 0x20,
|
||||||
0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x22,
|
0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x61, 0x73, 0x74, 0x62, 0x69, 0x6c, 0x6c, 0x12, 0x16, 0x0a,
|
||||||
0xfa, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x4d, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c,
|
0x06, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x72,
|
||||||
0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
|
0x65, 0x77, 0x61, 0x72, 0x64, 0x22, 0xfa, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x4d, 0x61, 0x72, 0x74,
|
||||||
0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
0x69, 0x61, 0x6c, 0x68, 0x61, 0x6c, 0x6c, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
||||||
0x75, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02,
|
||||||
0x02, 0x6c, 0x76, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x18, 0x04,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18,
|
||||||
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c,
|
||||||
|
0x6c, 0x61, 0x72, 0x31, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50,
|
||||||
|
0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x12, 0x23,
|
||||||
|
0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
||||||
|
0x09, 0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c,
|
||||||
|
0x61, 0x72, 0x32, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x18, 0x06,
|
||||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52,
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52,
|
||||||
0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x31, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c,
|
0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c,
|
||||||
0x61, 0x72, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x69,
|
0x61, 0x72, 0x34, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x69,
|
||||||
0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32, 0x12, 0x23, 0x0a,
|
0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x34, 0x12, 0x23, 0x0a,
|
||||||
0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09,
|
0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x35, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09,
|
||||||
0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61,
|
0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61,
|
||||||
0x72, 0x33, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x34, 0x18, 0x07, 0x20,
|
0x72, 0x35, 0x2a, 0x31, 0x0a, 0x0b, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74,
|
||||||
0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07,
|
0x65, 0x12, 0x09, 0x0a, 0x05, 0x4e, 0x6f, 0x55, 0x73, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06,
|
||||||
0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x34, 0x12, 0x23, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61,
|
0x55, 0x73, 0x65, 0x69, 0x6e, 0x67, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65,
|
||||||
0x72, 0x35, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x44, 0x42, 0x50, 0x69, 0x6c,
|
0x69, 0x76, 0x65, 0x10, 0x02, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70,
|
||||||
0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x35, 0x2a, 0x31, 0x0a, 0x0b,
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x4e,
|
|
||||||
0x6f, 0x55, 0x73, 0x65, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x73, 0x65, 0x69, 0x6e, 0x67,
|
|
||||||
0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x10, 0x02, 0x42,
|
|
||||||
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Loading…
Reference in New Issue
Block a user