go_dreamfactory/pb/caninerabbit_db.pb.go
2023-11-02 14:01:42 +08:00

593 lines
20 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: caninerabbit/caninerabbit_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 DBCanineRabbit struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"`
Rabbitintegral int32 `protobuf:"varint,3,opt,name=rabbitintegral,proto3" json:"rabbitintegral"` //兔子积分
Houndintegral int32 `protobuf:"varint,4,opt,name=houndintegral,proto3" json:"houndintegral"` //猎犬积分
Award map[int32]bool `protobuf:"bytes,5,rep,name=award,proto3" json:"award" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
}
func (x *DBCanineRabbit) Reset() {
*x = DBCanineRabbit{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_db_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCanineRabbit) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCanineRabbit) ProtoMessage() {}
func (x *DBCanineRabbit) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_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 DBCanineRabbit.ProtoReflect.Descriptor instead.
func (*DBCanineRabbit) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_db_proto_rawDescGZIP(), []int{0}
}
func (x *DBCanineRabbit) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *DBCanineRabbit) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBCanineRabbit) GetRabbitintegral() int32 {
if x != nil {
return x.Rabbitintegral
}
return 0
}
func (x *DBCanineRabbit) GetHoundintegral() int32 {
if x != nil {
return x.Houndintegral
}
return 0
}
func (x *DBCanineRabbit) GetAward() map[int32]bool {
if x != nil {
return x.Award
}
return nil
}
//游戏规则
type DBCanineRabbitRules struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
RandomPos bool `protobuf:"varint,1,opt,name=RandomPos,proto3" json:"RandomPos"` //兔子是否是随机坐标
RedType int32 `protobuf:"varint,2,opt,name=RedType,proto3" json:"RedType"` //红方选择 0兔子 1猎犬
Headstart int32 `protobuf:"varint,3,opt,name=Headstart,proto3" json:"Headstart"` //谁先手 0 兔子 1猎犬
}
func (x *DBCanineRabbitRules) Reset() {
*x = DBCanineRabbitRules{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCanineRabbitRules) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCanineRabbitRules) ProtoMessage() {}
func (x *DBCanineRabbitRules) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_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 DBCanineRabbitRules.ProtoReflect.Descriptor instead.
func (*DBCanineRabbitRules) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_db_proto_rawDescGZIP(), []int{1}
}
func (x *DBCanineRabbitRules) GetRandomPos() bool {
if x != nil {
return x.RandomPos
}
return false
}
func (x *DBCanineRabbitRules) GetRedType() int32 {
if x != nil {
return x.RedType
}
return 0
}
func (x *DBCanineRabbitRules) GetHeadstart() int32 {
if x != nil {
return x.Headstart
}
return 0
}
//旗子
type DBCanineRabbitChess struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
Stype int32 `protobuf:"varint,2,opt,name=stype,proto3" json:"stype"` //0兔子 1猎犬
X int32 `protobuf:"varint,3,opt,name=x,proto3" json:"x"`
Y int32 `protobuf:"varint,4,opt,name=y,proto3" json:"y"`
}
func (x *DBCanineRabbitChess) Reset() {
*x = DBCanineRabbitChess{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_db_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCanineRabbitChess) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCanineRabbitChess) ProtoMessage() {}
func (x *DBCanineRabbitChess) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_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 DBCanineRabbitChess.ProtoReflect.Descriptor instead.
func (*DBCanineRabbitChess) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_db_proto_rawDescGZIP(), []int{2}
}
func (x *DBCanineRabbitChess) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *DBCanineRabbitChess) GetStype() int32 {
if x != nil {
return x.Stype
}
return 0
}
func (x *DBCanineRabbitChess) GetX() int32 {
if x != nil {
return x.X
}
return 0
}
func (x *DBCanineRabbitChess) GetY() int32 {
if x != nil {
return x.Y
}
return 0
}
type DBCanineRabbitRoomPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Info *BaseUserInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"` //发起者信息
Ctype int32 `protobuf:"varint,2,opt,name=ctype,proto3" json:"ctype"` //0兔子 1猎犬
Ready bool `protobuf:"varint,3,opt,name=ready,proto3" json:"ready"`
Score int32 `protobuf:"varint,4,opt,name=score,proto3" json:"score"`
Rabbitintegral int32 `protobuf:"varint,5,opt,name=rabbitintegral,proto3" json:"rabbitintegral"` //兔子积分
Houndintegral int32 `protobuf:"varint,6,opt,name=houndintegral,proto3" json:"houndintegral"` //猎犬积分
}
func (x *DBCanineRabbitRoomPlayer) Reset() {
*x = DBCanineRabbitRoomPlayer{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCanineRabbitRoomPlayer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCanineRabbitRoomPlayer) ProtoMessage() {}
func (x *DBCanineRabbitRoomPlayer) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_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 DBCanineRabbitRoomPlayer.ProtoReflect.Descriptor instead.
func (*DBCanineRabbitRoomPlayer) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_db_proto_rawDescGZIP(), []int{3}
}
func (x *DBCanineRabbitRoomPlayer) GetInfo() *BaseUserInfo {
if x != nil {
return x.Info
}
return nil
}
func (x *DBCanineRabbitRoomPlayer) GetCtype() int32 {
if x != nil {
return x.Ctype
}
return 0
}
func (x *DBCanineRabbitRoomPlayer) GetReady() bool {
if x != nil {
return x.Ready
}
return false
}
func (x *DBCanineRabbitRoomPlayer) GetScore() int32 {
if x != nil {
return x.Score
}
return 0
}
func (x *DBCanineRabbitRoomPlayer) GetRabbitintegral() int32 {
if x != nil {
return x.Rabbitintegral
}
return 0
}
func (x *DBCanineRabbitRoomPlayer) GetHoundintegral() int32 {
if x != nil {
return x.Houndintegral
}
return 0
}
//犬兔大赛 房间
type DBCanineRabbitRoom struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Rid string `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid"`
Rules *DBCanineRabbitRules `protobuf:"bytes,2,opt,name=rules,proto3" json:"rules"`
Red *DBCanineRabbitRoomPlayer `protobuf:"bytes,3,opt,name=red,proto3" json:"red"`
Blue *DBCanineRabbitRoomPlayer `protobuf:"bytes,4,opt,name=blue,proto3" json:"blue"`
Chess []*DBCanineRabbitChess `protobuf:"bytes,5,rep,name=chess,proto3" json:"chess"`
}
func (x *DBCanineRabbitRoom) Reset() {
*x = DBCanineRabbitRoom{}
if protoimpl.UnsafeEnabled {
mi := &file_caninerabbit_caninerabbit_db_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBCanineRabbitRoom) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBCanineRabbitRoom) ProtoMessage() {}
func (x *DBCanineRabbitRoom) ProtoReflect() protoreflect.Message {
mi := &file_caninerabbit_caninerabbit_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 DBCanineRabbitRoom.ProtoReflect.Descriptor instead.
func (*DBCanineRabbitRoom) Descriptor() ([]byte, []int) {
return file_caninerabbit_caninerabbit_db_proto_rawDescGZIP(), []int{4}
}
func (x *DBCanineRabbitRoom) GetRid() string {
if x != nil {
return x.Rid
}
return ""
}
func (x *DBCanineRabbitRoom) GetRules() *DBCanineRabbitRules {
if x != nil {
return x.Rules
}
return nil
}
func (x *DBCanineRabbitRoom) GetRed() *DBCanineRabbitRoomPlayer {
if x != nil {
return x.Red
}
return nil
}
func (x *DBCanineRabbitRoom) GetBlue() *DBCanineRabbitRoomPlayer {
if x != nil {
return x.Blue
}
return nil
}
func (x *DBCanineRabbitRoom) GetChess() []*DBCanineRabbitChess {
if x != nil {
return x.Chess
}
return nil
}
var File_caninerabbit_caninerabbit_db_proto protoreflect.FileDescriptor
var file_caninerabbit_caninerabbit_db_proto_rawDesc = []byte{
0x0a, 0x22, 0x63, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x2f, 0x63,
0x61, 0x6e, 0x69, 0x6e, 0x65, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x5f, 0x64, 0x62, 0x2e, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x22, 0xec, 0x01, 0x0a, 0x0e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62,
0x62, 0x69, 0x74, 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, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x69,
0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x72,
0x61, 0x62, 0x62, 0x69, 0x74, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x24, 0x0a,
0x0d, 0x68, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x68, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67,
0x72, 0x61, 0x6c, 0x12, 0x30, 0x0a, 0x05, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x05, 0x20, 0x03,
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62,
0x62, 0x69, 0x74, 0x2e, 0x41, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
0x61, 0x77, 0x61, 0x72, 0x64, 0x1a, 0x38, 0x0a, 0x0a, 0x41, 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,
0x6b, 0x0a, 0x13, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69,
0x74, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x52, 0x61, 0x6e, 0x64, 0x6f, 0x6d,
0x50, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x52, 0x61, 0x6e, 0x64, 0x6f,
0x6d, 0x50, 0x6f, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x52, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x52, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
0x0a, 0x09, 0x48, 0x65, 0x61, 0x64, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
0x05, 0x52, 0x09, 0x48, 0x65, 0x61, 0x64, 0x73, 0x74, 0x61, 0x72, 0x74, 0x22, 0x57, 0x0a, 0x13,
0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x43, 0x68,
0x65, 0x73, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x78, 0x18, 0x03,
0x20, 0x01, 0x28, 0x05, 0x52, 0x01, 0x78, 0x12, 0x0c, 0x0a, 0x01, 0x79, 0x18, 0x04, 0x20, 0x01,
0x28, 0x05, 0x52, 0x01, 0x79, 0x22, 0xcd, 0x01, 0x0a, 0x18, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69,
0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 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, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72,
0x65, 0x61, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x72, 0x65, 0x61, 0x64,
0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x72, 0x61, 0x62, 0x62, 0x69,
0x74, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
0x0e, 0x72, 0x61, 0x62, 0x62, 0x69, 0x74, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12,
0x24, 0x0a, 0x0d, 0x68, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x68, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x74,
0x65, 0x67, 0x72, 0x61, 0x6c, 0x22, 0xda, 0x01, 0x0a, 0x12, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69,
0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x12, 0x10, 0x0a, 0x03,
0x72, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x69, 0x64, 0x12, 0x2a,
0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x52, 0x75,
0x6c, 0x65, 0x73, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x03, 0x72, 0x65,
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69,
0x6e, 0x65, 0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79,
0x65, 0x72, 0x52, 0x03, 0x72, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65,
0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x52, 0x6f, 0x6f, 0x6d, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72,
0x52, 0x04, 0x62, 0x6c, 0x75, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x63, 0x68, 0x65, 0x73, 0x73, 0x18,
0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x43, 0x61, 0x6e, 0x69, 0x6e, 0x65,
0x52, 0x61, 0x62, 0x62, 0x69, 0x74, 0x43, 0x68, 0x65, 0x73, 0x73, 0x52, 0x05, 0x63, 0x68, 0x65,
0x73, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_caninerabbit_caninerabbit_db_proto_rawDescOnce sync.Once
file_caninerabbit_caninerabbit_db_proto_rawDescData = file_caninerabbit_caninerabbit_db_proto_rawDesc
)
func file_caninerabbit_caninerabbit_db_proto_rawDescGZIP() []byte {
file_caninerabbit_caninerabbit_db_proto_rawDescOnce.Do(func() {
file_caninerabbit_caninerabbit_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_caninerabbit_caninerabbit_db_proto_rawDescData)
})
return file_caninerabbit_caninerabbit_db_proto_rawDescData
}
var file_caninerabbit_caninerabbit_db_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_caninerabbit_caninerabbit_db_proto_goTypes = []interface{}{
(*DBCanineRabbit)(nil), // 0: DBCanineRabbit
(*DBCanineRabbitRules)(nil), // 1: DBCanineRabbitRules
(*DBCanineRabbitChess)(nil), // 2: DBCanineRabbitChess
(*DBCanineRabbitRoomPlayer)(nil), // 3: DBCanineRabbitRoomPlayer
(*DBCanineRabbitRoom)(nil), // 4: DBCanineRabbitRoom
nil, // 5: DBCanineRabbit.AwardEntry
(*BaseUserInfo)(nil), // 6: BaseUserInfo
}
var file_caninerabbit_caninerabbit_db_proto_depIdxs = []int32{
5, // 0: DBCanineRabbit.award:type_name -> DBCanineRabbit.AwardEntry
6, // 1: DBCanineRabbitRoomPlayer.info:type_name -> BaseUserInfo
1, // 2: DBCanineRabbitRoom.rules:type_name -> DBCanineRabbitRules
3, // 3: DBCanineRabbitRoom.red:type_name -> DBCanineRabbitRoomPlayer
3, // 4: DBCanineRabbitRoom.blue:type_name -> DBCanineRabbitRoomPlayer
2, // 5: DBCanineRabbitRoom.chess:type_name -> DBCanineRabbitChess
6, // [6:6] is the sub-list for method output_type
6, // [6:6] is the sub-list for method input_type
6, // [6:6] is the sub-list for extension type_name
6, // [6:6] is the sub-list for extension extendee
0, // [0:6] is the sub-list for field type_name
}
func init() { file_caninerabbit_caninerabbit_db_proto_init() }
func file_caninerabbit_caninerabbit_db_proto_init() {
if File_caninerabbit_caninerabbit_db_proto != nil {
return
}
file_comm_proto_init()
if !protoimpl.UnsafeEnabled {
file_caninerabbit_caninerabbit_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCanineRabbit); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCanineRabbitRules); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCanineRabbitChess); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCanineRabbitRoomPlayer); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_caninerabbit_caninerabbit_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBCanineRabbitRoom); 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_caninerabbit_caninerabbit_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 6,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_caninerabbit_caninerabbit_db_proto_goTypes,
DependencyIndexes: file_caninerabbit_caninerabbit_db_proto_depIdxs,
MessageInfos: file_caninerabbit_caninerabbit_db_proto_msgTypes,
}.Build()
File_caninerabbit_caninerabbit_db_proto = out.File
file_caninerabbit_caninerabbit_db_proto_rawDesc = nil
file_caninerabbit_caninerabbit_db_proto_goTypes = nil
file_caninerabbit_caninerabbit_db_proto_depIdxs = nil
}