// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.20.0 // source: catchbugs/catchbugs_db.proto package pb import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) //捉虫子 type DBCatchBugs struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` Integral int32 `protobuf:"varint,3,opt,name=integral,proto3" json:"integral"` Accruedintegral int32 `protobuf:"varint,4,opt,name=accruedintegral,proto3" json:"accruedintegral"` //累计积分 Books map[int32]int32 `protobuf:"bytes,5,rep,name=books,proto3" json:"books" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //图鉴 Weekaward map[int32]bool `protobuf:"bytes,6,rep,name=weekaward,proto3" json:"weekaward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //周奖励 Allaward map[int32]bool `protobuf:"bytes,7,rep,name=allaward,proto3" json:"allaward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //累计奖励 Level int32 `protobuf:"varint,8,opt,name=level,proto3" json:"level"` //本期管卡 Weektime int64 `protobuf:"varint,9,opt,name=weektime,proto3" json:"weektime"` //周期事件 } func (x *DBCatchBugs) Reset() { *x = DBCatchBugs{} if protoimpl.UnsafeEnabled { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBCatchBugs) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBCatchBugs) ProtoMessage() {} func (x *DBCatchBugs) ProtoReflect() protoreflect.Message { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[0] 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 DBCatchBugs.ProtoReflect.Descriptor instead. func (*DBCatchBugs) Descriptor() ([]byte, []int) { return file_catchbugs_catchbugs_db_proto_rawDescGZIP(), []int{0} } func (x *DBCatchBugs) GetId() string { if x != nil { return x.Id } return "" } func (x *DBCatchBugs) GetUid() string { if x != nil { return x.Uid } return "" } func (x *DBCatchBugs) GetIntegral() int32 { if x != nil { return x.Integral } return 0 } func (x *DBCatchBugs) GetAccruedintegral() int32 { if x != nil { return x.Accruedintegral } return 0 } func (x *DBCatchBugs) GetBooks() map[int32]int32 { if x != nil { return x.Books } return nil } func (x *DBCatchBugs) GetWeekaward() map[int32]bool { if x != nil { return x.Weekaward } return nil } func (x *DBCatchBugs) GetAllaward() map[int32]bool { if x != nil { return x.Allaward } return nil } func (x *DBCatchBugs) GetLevel() int32 { if x != nil { return x.Level } return 0 } func (x *DBCatchBugs) GetWeektime() int64 { if x != nil { return x.Weektime } return 0 } //游戏规则 type DBCatchBugsRules struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Skill int32 `protobuf:"varint,1,opt,name=skill,proto3" json:"skill"` Headstart int32 `protobuf:"varint,3,opt,name=headstart,proto3" json:"headstart"` //谁先手 0 红方 1 蓝方 } func (x *DBCatchBugsRules) Reset() { *x = DBCatchBugsRules{} if protoimpl.UnsafeEnabled { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBCatchBugsRules) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBCatchBugsRules) ProtoMessage() {} func (x *DBCatchBugsRules) ProtoReflect() protoreflect.Message { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[1] 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 DBCatchBugsRules.ProtoReflect.Descriptor instead. func (*DBCatchBugsRules) Descriptor() ([]byte, []int) { return file_catchbugs_catchbugs_db_proto_rawDescGZIP(), []int{1} } func (x *DBCatchBugsRules) GetSkill() int32 { if x != nil { return x.Skill } return 0 } func (x *DBCatchBugsRules) GetHeadstart() int32 { if x != nil { return x.Headstart } return 0 } //玩家信息 type DBCatchBugsPlayer struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Info *BaseUserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //发起者信息 Ready bool `protobuf:"varint,2,opt,name=ready,proto3" json:"ready"` Isai bool `protobuf:"varint,3,opt,name=isai,proto3" json:"isai"` //是否是ai Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score"` Integral int32 `protobuf:"varint,5,opt,name=integral,proto3" json:"integral"` //积分 Accruedintegral int32 `protobuf:"varint,6,opt,name=accruedintegral,proto3" json:"accruedintegral"` //累计积分 Lastopencard int32 `protobuf:"varint,7,opt,name=lastopencard,proto3" json:"lastopencard"` Cards []int32 `protobuf:"varint,8,rep,packed,name=cards,proto3" json:"cards"` Coiled int32 `protobuf:"varint,9,opt,name=coiled,proto3" json:"coiled"` //连续成功次数 Books map[int32]int32 `protobuf:"bytes,10,rep,name=books,proto3" json:"books" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //图鉴 Failnum int32 `protobuf:"varint,11,opt,name=failnum,proto3" json:"failnum"` //连续失败多少次 } func (x *DBCatchBugsPlayer) Reset() { *x = DBCatchBugsPlayer{} if protoimpl.UnsafeEnabled { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBCatchBugsPlayer) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBCatchBugsPlayer) ProtoMessage() {} func (x *DBCatchBugsPlayer) ProtoReflect() protoreflect.Message { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[2] 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 DBCatchBugsPlayer.ProtoReflect.Descriptor instead. func (*DBCatchBugsPlayer) Descriptor() ([]byte, []int) { return file_catchbugs_catchbugs_db_proto_rawDescGZIP(), []int{2} } func (x *DBCatchBugsPlayer) GetInfo() *BaseUserInfo { if x != nil { return x.Info } return nil } func (x *DBCatchBugsPlayer) GetReady() bool { if x != nil { return x.Ready } return false } func (x *DBCatchBugsPlayer) GetIsai() bool { if x != nil { return x.Isai } return false } func (x *DBCatchBugsPlayer) GetScore() int32 { if x != nil { return x.Score } return 0 } func (x *DBCatchBugsPlayer) GetIntegral() int32 { if x != nil { return x.Integral } return 0 } func (x *DBCatchBugsPlayer) GetAccruedintegral() int32 { if x != nil { return x.Accruedintegral } return 0 } func (x *DBCatchBugsPlayer) GetLastopencard() int32 { if x != nil { return x.Lastopencard } return 0 } func (x *DBCatchBugsPlayer) GetCards() []int32 { if x != nil { return x.Cards } return nil } func (x *DBCatchBugsPlayer) GetCoiled() int32 { if x != nil { return x.Coiled } return 0 } func (x *DBCatchBugsPlayer) GetBooks() map[int32]int32 { if x != nil { return x.Books } return nil } func (x *DBCatchBugsPlayer) GetFailnum() int32 { if x != nil { return x.Failnum } return 0 } //卡牌 type DBCatchBugsCard struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //唯一id Cid int32 `protobuf:"varint,2,opt,name=cid,proto3" json:"cid"` //卡牌配置id Index int32 `protobuf:"varint,3,opt,name=index,proto3" json:"index"` //坐标转换 x=index%6 y=index/6 Isopen bool `protobuf:"varint,4,opt,name=isopen,proto3" json:"isopen"` //是否开启 } func (x *DBCatchBugsCard) Reset() { *x = DBCatchBugsCard{} if protoimpl.UnsafeEnabled { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBCatchBugsCard) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBCatchBugsCard) ProtoMessage() {} func (x *DBCatchBugsCard) ProtoReflect() protoreflect.Message { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[3] 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 DBCatchBugsCard.ProtoReflect.Descriptor instead. func (*DBCatchBugsCard) Descriptor() ([]byte, []int) { return file_catchbugs_catchbugs_db_proto_rawDescGZIP(), []int{3} } func (x *DBCatchBugsCard) GetId() int32 { if x != nil { return x.Id } return 0 } func (x *DBCatchBugsCard) GetCid() int32 { if x != nil { return x.Cid } return 0 } func (x *DBCatchBugsCard) GetIndex() int32 { if x != nil { return x.Index } return 0 } func (x *DBCatchBugsCard) GetIsopen() bool { if x != nil { return x.Isopen } return false } //犬兔大赛 房间 type DBCatchBugsRoom struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid"` Rules *DBCatchBugsRules `protobuf:"bytes,2,opt,name=rules,proto3" json:"rules"` Red *DBCatchBugsPlayer `protobuf:"bytes,3,opt,name=red,proto3" json:"red"` Blue *DBCatchBugsPlayer `protobuf:"bytes,4,opt,name=blue,proto3" json:"blue"` Backup []*DBCatchBugsCard `protobuf:"bytes,5,rep,name=backup,proto3" json:"backup"` //预备卡牌 Card []*DBCatchBugsCard `protobuf:"bytes,6,rep,name=card,proto3" json:"card"` //桌面卡牌 } func (x *DBCatchBugsRoom) Reset() { *x = DBCatchBugsRoom{} if protoimpl.UnsafeEnabled { mi := &file_catchbugs_catchbugs_db_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DBCatchBugsRoom) String() string { return protoimpl.X.MessageStringOf(x) } func (*DBCatchBugsRoom) ProtoMessage() {} func (x *DBCatchBugsRoom) ProtoReflect() protoreflect.Message { mi := &file_catchbugs_catchbugs_db_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 DBCatchBugsRoom.ProtoReflect.Descriptor instead. func (*DBCatchBugsRoom) Descriptor() ([]byte, []int) { return file_catchbugs_catchbugs_db_proto_rawDescGZIP(), []int{4} } func (x *DBCatchBugsRoom) GetRid() string { if x != nil { return x.Rid } return "" } func (x *DBCatchBugsRoom) GetRules() *DBCatchBugsRules { if x != nil { return x.Rules } return nil } func (x *DBCatchBugsRoom) GetRed() *DBCatchBugsPlayer { if x != nil { return x.Red } return nil } func (x *DBCatchBugsRoom) GetBlue() *DBCatchBugsPlayer { if x != nil { return x.Blue } return nil } func (x *DBCatchBugsRoom) GetBackup() []*DBCatchBugsCard { if x != nil { return x.Backup } return nil } func (x *DBCatchBugsRoom) GetCard() []*DBCatchBugsCard { if x != nil { return x.Card } return nil } var File_catchbugs_catchbugs_db_proto protoreflect.FileDescriptor var file_catchbugs_catchbugs_db_proto_rawDesc = []byte{ 0x0a, 0x1c, 0x63, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x2f, 0x63, 0x61, 0x74, 0x63, 0x68, 0x62, 0x75, 0x67, 0x73, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfe, 0x03, 0x0a, 0x0b, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 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, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x72, 0x75, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x72, 0x75, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x77, 0x65, 0x65, 0x6b, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x2e, 0x57, 0x65, 0x65, 0x6b, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x77, 0x65, 0x65, 0x6b, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x36, 0x0a, 0x08, 0x61, 0x6c, 0x6c, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x2e, 0x41, 0x6c, 0x6c, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x61, 0x6c, 0x6c, 0x61, 0x77, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x77, 0x65, 0x65, 0x6b, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x77, 0x65, 0x65, 0x6b, 0x74, 0x69, 0x6d, 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x42, 0x6f, 0x6f, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3c, 0x0a, 0x0e, 0x57, 0x65, 0x65, 0x6b, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3b, 0x0a, 0x0d, 0x41, 0x6c, 0x6c, 0x61, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x46, 0x0a, 0x10, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x61, 0x64, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x68, 0x65, 0x61, 0x64, 0x73, 0x74, 0x61, 0x72, 0x74, 0x22, 0x97, 0x03, 0x0a, 0x11, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x12, 0x21, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x61, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x61, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x72, 0x75, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0f, 0x61, 0x63, 0x63, 0x72, 0x75, 0x65, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x6f, 0x70, 0x65, 0x6e, 0x63, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x61, 0x72, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x63, 0x61, 0x72, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x6f, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x33, 0x0a, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2e, 0x42, 0x6f, 0x6f, 0x6b, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x6e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x66, 0x61, 0x69, 0x6c, 0x6e, 0x75, 0x6d, 0x1a, 0x38, 0x0a, 0x0a, 0x42, 0x6f, 0x6f, 0x6b, 0x73, 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, 0x61, 0x0a, 0x0f, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x43, 0x61, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x6f, 0x70, 0x65, 0x6e, 0x22, 0xea, 0x01, 0x0a, 0x0f, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x27, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x24, 0x0a, 0x03, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x52, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x43, 0x61, 0x72, 0x64, 0x52, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x24, 0x0a, 0x04, 0x63, 0x61, 0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x74, 0x63, 0x68, 0x42, 0x75, 0x67, 0x73, 0x43, 0x61, 0x72, 0x64, 0x52, 0x04, 0x63, 0x61, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_catchbugs_catchbugs_db_proto_rawDescOnce sync.Once file_catchbugs_catchbugs_db_proto_rawDescData = file_catchbugs_catchbugs_db_proto_rawDesc ) func file_catchbugs_catchbugs_db_proto_rawDescGZIP() []byte { file_catchbugs_catchbugs_db_proto_rawDescOnce.Do(func() { file_catchbugs_catchbugs_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_catchbugs_catchbugs_db_proto_rawDescData) }) return file_catchbugs_catchbugs_db_proto_rawDescData } var file_catchbugs_catchbugs_db_proto_msgTypes = make([]protoimpl.MessageInfo, 9) var file_catchbugs_catchbugs_db_proto_goTypes = []interface{}{ (*DBCatchBugs)(nil), // 0: DBCatchBugs (*DBCatchBugsRules)(nil), // 1: DBCatchBugsRules (*DBCatchBugsPlayer)(nil), // 2: DBCatchBugsPlayer (*DBCatchBugsCard)(nil), // 3: DBCatchBugsCard (*DBCatchBugsRoom)(nil), // 4: DBCatchBugsRoom nil, // 5: DBCatchBugs.BooksEntry nil, // 6: DBCatchBugs.WeekawardEntry nil, // 7: DBCatchBugs.AllawardEntry nil, // 8: DBCatchBugsPlayer.BooksEntry (*BaseUserInfo)(nil), // 9: BaseUserInfo } var file_catchbugs_catchbugs_db_proto_depIdxs = []int32{ 5, // 0: DBCatchBugs.books:type_name -> DBCatchBugs.BooksEntry 6, // 1: DBCatchBugs.weekaward:type_name -> DBCatchBugs.WeekawardEntry 7, // 2: DBCatchBugs.allaward:type_name -> DBCatchBugs.AllawardEntry 9, // 3: DBCatchBugsPlayer.info:type_name -> BaseUserInfo 8, // 4: DBCatchBugsPlayer.books:type_name -> DBCatchBugsPlayer.BooksEntry 1, // 5: DBCatchBugsRoom.rules:type_name -> DBCatchBugsRules 2, // 6: DBCatchBugsRoom.red:type_name -> DBCatchBugsPlayer 2, // 7: DBCatchBugsRoom.blue:type_name -> DBCatchBugsPlayer 3, // 8: DBCatchBugsRoom.backup:type_name -> DBCatchBugsCard 3, // 9: DBCatchBugsRoom.card:type_name -> DBCatchBugsCard 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 10, // [10:10] is the sub-list for extension extendee 0, // [0:10] is the sub-list for field type_name } func init() { file_catchbugs_catchbugs_db_proto_init() } func file_catchbugs_catchbugs_db_proto_init() { if File_catchbugs_catchbugs_db_proto != nil { return } file_comm_proto_init() if !protoimpl.UnsafeEnabled { file_catchbugs_catchbugs_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBCatchBugs); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_catchbugs_catchbugs_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBCatchBugsRules); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_catchbugs_catchbugs_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBCatchBugsPlayer); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_catchbugs_catchbugs_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBCatchBugsCard); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_catchbugs_catchbugs_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DBCatchBugsRoom); 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{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_catchbugs_catchbugs_db_proto_rawDesc, NumEnums: 0, NumMessages: 9, NumExtensions: 0, NumServices: 0, }, GoTypes: file_catchbugs_catchbugs_db_proto_goTypes, DependencyIndexes: file_catchbugs_catchbugs_db_proto_depIdxs, MessageInfos: file_catchbugs_catchbugs_db_proto_msgTypes, }.Build() File_catchbugs_catchbugs_db_proto = out.File file_catchbugs_catchbugs_db_proto_rawDesc = nil file_catchbugs_catchbugs_db_proto_goTypes = nil file_catchbugs_catchbugs_db_proto_depIdxs = nil }