613 lines
23 KiB
Go
613 lines
23 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: capturesheep/capturesheep_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 CaptureSheepRaceType int32
|
|
|
|
const (
|
|
CaptureSheepRaceType_train CaptureSheepRaceType = 0 //训练模式
|
|
CaptureSheepRaceType_ranked CaptureSheepRaceType = 1 //排位模式
|
|
)
|
|
|
|
// Enum value maps for CaptureSheepRaceType.
|
|
var (
|
|
CaptureSheepRaceType_name = map[int32]string{
|
|
0: "train",
|
|
1: "ranked",
|
|
}
|
|
CaptureSheepRaceType_value = map[string]int32{
|
|
"train": 0,
|
|
"ranked": 1,
|
|
}
|
|
)
|
|
|
|
func (x CaptureSheepRaceType) Enum() *CaptureSheepRaceType {
|
|
p := new(CaptureSheepRaceType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CaptureSheepRaceType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CaptureSheepRaceType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_capturesheep_capturesheep_db_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (CaptureSheepRaceType) Type() protoreflect.EnumType {
|
|
return &file_capturesheep_capturesheep_db_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x CaptureSheepRaceType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CaptureSheepRaceType.Descriptor instead.
|
|
func (CaptureSheepRaceType) EnumDescriptor() ([]byte, []int) {
|
|
return file_capturesheep_capturesheep_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//玩家基本信息
|
|
type DBCaptureSheep struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //名字
|
|
Lv int32 `protobuf:"varint,3,opt,name=lv,proto3" json:"lv"` //等级
|
|
Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` //性别
|
|
Skin string `protobuf:"bytes,5,opt,name=skin,proto3" json:"skin"` //时装
|
|
Dan int32 `protobuf:"varint,6,opt,name=dan,proto3" json:"dan"` //段位
|
|
Integral int32 `protobuf:"varint,7,opt,name=integral,proto3" json:"integral"` //当前积分
|
|
Weekintegral int32 `protobuf:"varint,8,opt,name=weekintegral,proto3" json:"weekintegral"` //周积分
|
|
Defmts string `protobuf:"bytes,9,opt,name=defmts,proto3" json:"defmts"` //默认坐骑
|
|
Weektime int64 `protobuf:"varint,10,opt,name=weektime,proto3" json:"weektime"` //周积分重置使用
|
|
Weekreward map[int32]bool `protobuf:"bytes,11,rep,name=weekreward,proto3" json:"weekreward" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //周长奖励领取
|
|
Loc []float64 `protobuf:"fixed64,12,rep,packed,name=loc,proto3" json:"loc"` //地图索引 匹配系统使用
|
|
}
|
|
|
|
func (x *DBCaptureSheep) Reset() {
|
|
*x = DBCaptureSheep{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_capturesheep_capturesheep_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBCaptureSheep) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBCaptureSheep) ProtoMessage() {}
|
|
|
|
func (x *DBCaptureSheep) ProtoReflect() protoreflect.Message {
|
|
mi := &file_capturesheep_capturesheep_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 DBCaptureSheep.ProtoReflect.Descriptor instead.
|
|
func (*DBCaptureSheep) Descriptor() ([]byte, []int) {
|
|
return file_capturesheep_capturesheep_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetSex() int32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetSkin() string {
|
|
if x != nil {
|
|
return x.Skin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetDan() int32 {
|
|
if x != nil {
|
|
return x.Dan
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetIntegral() int32 {
|
|
if x != nil {
|
|
return x.Integral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetWeekintegral() int32 {
|
|
if x != nil {
|
|
return x.Weekintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetDefmts() string {
|
|
if x != nil {
|
|
return x.Defmts
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetWeektime() int64 {
|
|
if x != nil {
|
|
return x.Weektime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetWeekreward() map[int32]bool {
|
|
if x != nil {
|
|
return x.Weekreward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBCaptureSheep) GetLoc() []float64 {
|
|
if x != nil {
|
|
return x.Loc
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CaptureSheepRaceMember struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"` //用户id
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"` //用户名称
|
|
Skin string `protobuf:"bytes,3,opt,name=skin,proto3" json:"skin"` //皮肤
|
|
Sex int32 `protobuf:"varint,4,opt,name=sex,proto3" json:"sex"` //性别
|
|
Dan int32 `protobuf:"varint,5,opt,name=dan,proto3" json:"dan"` //段位
|
|
Integral int32 `protobuf:"varint,6,opt,name=integral,proto3" json:"integral"` //当前积分
|
|
Changeintegral int32 `protobuf:"varint,7,opt,name=changeintegral,proto3" json:"changeintegral"` //变化积分
|
|
Isai bool `protobuf:"varint,8,opt,name=isai,proto3" json:"isai"` //是否是ai数据
|
|
Mount string `protobuf:"bytes,9,opt,name=mount,proto3" json:"mount"` //上阵坐骑 配置id
|
|
Mlv int32 `protobuf:"varint,10,opt,name=mlv,proto3" json:"mlv"` //坐骑等级
|
|
Maxhp int32 `protobuf:"varint,11,opt,name=maxhp,proto3" json:"maxhp"` //初始血量
|
|
Currhp int32 `protobuf:"varint,12,opt,name=currhp,proto3" json:"currhp"` //当前血量
|
|
Scores int32 `protobuf:"varint,13,opt,name=scores,proto3" json:"scores"` //当前分数
|
|
Showscores int32 `protobuf:"varint,14,opt,name=showscores,proto3" json:"showscores"` //表现分数
|
|
Dodge int32 `protobuf:"varint,15,opt,name=dodge,proto3" json:"dodge"` //闪避次数
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) Reset() {
|
|
*x = CaptureSheepRaceMember{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_capturesheep_capturesheep_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CaptureSheepRaceMember) ProtoMessage() {}
|
|
|
|
func (x *CaptureSheepRaceMember) ProtoReflect() protoreflect.Message {
|
|
mi := &file_capturesheep_capturesheep_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 CaptureSheepRaceMember.ProtoReflect.Descriptor instead.
|
|
func (*CaptureSheepRaceMember) Descriptor() ([]byte, []int) {
|
|
return file_capturesheep_capturesheep_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetSkin() string {
|
|
if x != nil {
|
|
return x.Skin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetSex() int32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetDan() int32 {
|
|
if x != nil {
|
|
return x.Dan
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetIntegral() int32 {
|
|
if x != nil {
|
|
return x.Integral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetChangeintegral() int32 {
|
|
if x != nil {
|
|
return x.Changeintegral
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetIsai() bool {
|
|
if x != nil {
|
|
return x.Isai
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetMount() string {
|
|
if x != nil {
|
|
return x.Mount
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetMlv() int32 {
|
|
if x != nil {
|
|
return x.Mlv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetMaxhp() int32 {
|
|
if x != nil {
|
|
return x.Maxhp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetCurrhp() int32 {
|
|
if x != nil {
|
|
return x.Currhp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetScores() int32 {
|
|
if x != nil {
|
|
return x.Scores
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetShowscores() int32 {
|
|
if x != nil {
|
|
return x.Showscores
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CaptureSheepRaceMember) GetDodge() int32 {
|
|
if x != nil {
|
|
return x.Dodge
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//捕养比赛
|
|
type DBCaptureSheepRace struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"`
|
|
Rtype CaptureSheepRaceType `protobuf:"varint,3,opt,name=rtype,proto3,enum=CaptureSheepRaceType" json:"rtype"` //比赛类型
|
|
Trackid int32 `protobuf:"varint,4,opt,name=trackid,proto3" json:"trackid"` //赛道id
|
|
Redmember []*CaptureSheepRaceMember `protobuf:"bytes,6,rep,name=redmember,proto3" json:"redmember"` //红方队伍
|
|
Bulemember []*CaptureSheepRaceMember `protobuf:"bytes,7,rep,name=bulemember,proto3" json:"bulemember"` //蓝方队伍
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) Reset() {
|
|
*x = DBCaptureSheepRace{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_capturesheep_capturesheep_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBCaptureSheepRace) ProtoMessage() {}
|
|
|
|
func (x *DBCaptureSheepRace) ProtoReflect() protoreflect.Message {
|
|
mi := &file_capturesheep_capturesheep_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 DBCaptureSheepRace.ProtoReflect.Descriptor instead.
|
|
func (*DBCaptureSheepRace) Descriptor() ([]byte, []int) {
|
|
return file_capturesheep_capturesheep_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) GetRtype() CaptureSheepRaceType {
|
|
if x != nil {
|
|
return x.Rtype
|
|
}
|
|
return CaptureSheepRaceType_train
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) GetTrackid() int32 {
|
|
if x != nil {
|
|
return x.Trackid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) GetRedmember() []*CaptureSheepRaceMember {
|
|
if x != nil {
|
|
return x.Redmember
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBCaptureSheepRace) GetBulemember() []*CaptureSheepRaceMember {
|
|
if x != nil {
|
|
return x.Bulemember
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_capturesheep_capturesheep_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_capturesheep_capturesheep_db_proto_rawDesc = []byte{
|
|
0x0a, 0x22, 0x63, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x2f, 0x63,
|
|
0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x73, 0x68, 0x65, 0x65, 0x70, 0x5f, 0x64, 0x62, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x03, 0x0a, 0x0e, 0x44, 0x42, 0x43, 0x61, 0x70, 0x74, 0x75,
|
|
0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a,
|
|
0x02, 0x6c, 0x76, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x10, 0x0a,
|
|
0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12,
|
|
0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73,
|
|
0x6b, 0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x03, 0x64, 0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
|
|
0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
|
|
0x6c, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61,
|
|
0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x77, 0x65, 0x65, 0x6b, 0x69, 0x6e, 0x74,
|
|
0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x66, 0x6d, 0x74, 0x73, 0x18,
|
|
0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x66, 0x6d, 0x74, 0x73, 0x12, 0x1a, 0x0a,
|
|
0x08, 0x77, 0x65, 0x65, 0x6b, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x08, 0x77, 0x65, 0x65, 0x6b, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x0a, 0x77, 0x65, 0x65,
|
|
0x6b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
|
|
0x44, 0x42, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x2e, 0x57,
|
|
0x65, 0x65, 0x6b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a,
|
|
0x77, 0x65, 0x65, 0x6b, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x6f,
|
|
0x63, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x01, 0x52, 0x03, 0x6c, 0x6f, 0x63, 0x1a, 0x3d, 0x0a, 0x0f,
|
|
0x57, 0x65, 0x65, 0x6b, 0x72, 0x65, 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, 0xf2, 0x02, 0x0a, 0x16,
|
|
0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x61, 0x63, 0x65,
|
|
0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
|
|
0x73, 0x6b, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x6e,
|
|
0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73,
|
|
0x65, 0x78, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x03, 0x64, 0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c,
|
|
0x12, 0x26, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72,
|
|
0x61, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
|
|
0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x61, 0x69,
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x61, 0x69, 0x12, 0x14, 0x0a, 0x05,
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x6c, 0x76, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x03, 0x6d, 0x6c, 0x76, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x61, 0x78, 0x68, 0x70, 0x18, 0x0b, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x61, 0x78, 0x68, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x75,
|
|
0x72, 0x72, 0x68, 0x70, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x63, 0x75, 0x72, 0x72,
|
|
0x68, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x68,
|
|
0x6f, 0x77, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
|
|
0x73, 0x68, 0x6f, 0x77, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x6f,
|
|
0x64, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x6f, 0x64, 0x67, 0x65,
|
|
0x22, 0xdb, 0x01, 0x0a, 0x12, 0x44, 0x42, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68,
|
|
0x65, 0x65, 0x70, 0x52, 0x61, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x05, 0x72, 0x74, 0x79, 0x70, 0x65,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65,
|
|
0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x72,
|
|
0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x64, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x64, 0x12, 0x35,
|
|
0x0a, 0x09, 0x72, 0x65, 0x64, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x17, 0x2e, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70,
|
|
0x52, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x09, 0x72, 0x65, 0x64, 0x6d,
|
|
0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x0a, 0x62, 0x75, 0x6c, 0x65, 0x6d, 0x65, 0x6d,
|
|
0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x43, 0x61, 0x70, 0x74,
|
|
0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x61, 0x63, 0x65, 0x4d, 0x65, 0x6d, 0x62,
|
|
0x65, 0x72, 0x52, 0x0a, 0x62, 0x75, 0x6c, 0x65, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x2a, 0x2d,
|
|
0x0a, 0x14, 0x43, 0x61, 0x70, 0x74, 0x75, 0x72, 0x65, 0x53, 0x68, 0x65, 0x65, 0x70, 0x52, 0x61,
|
|
0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x10,
|
|
0x00, 0x12, 0x0a, 0x0a, 0x06, 0x72, 0x61, 0x6e, 0x6b, 0x65, 0x64, 0x10, 0x01, 0x42, 0x06, 0x5a,
|
|
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_capturesheep_capturesheep_db_proto_rawDescOnce sync.Once
|
|
file_capturesheep_capturesheep_db_proto_rawDescData = file_capturesheep_capturesheep_db_proto_rawDesc
|
|
)
|
|
|
|
func file_capturesheep_capturesheep_db_proto_rawDescGZIP() []byte {
|
|
file_capturesheep_capturesheep_db_proto_rawDescOnce.Do(func() {
|
|
file_capturesheep_capturesheep_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_capturesheep_capturesheep_db_proto_rawDescData)
|
|
})
|
|
return file_capturesheep_capturesheep_db_proto_rawDescData
|
|
}
|
|
|
|
var file_capturesheep_capturesheep_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_capturesheep_capturesheep_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_capturesheep_capturesheep_db_proto_goTypes = []interface{}{
|
|
(CaptureSheepRaceType)(0), // 0: CaptureSheepRaceType
|
|
(*DBCaptureSheep)(nil), // 1: DBCaptureSheep
|
|
(*CaptureSheepRaceMember)(nil), // 2: CaptureSheepRaceMember
|
|
(*DBCaptureSheepRace)(nil), // 3: DBCaptureSheepRace
|
|
nil, // 4: DBCaptureSheep.WeekrewardEntry
|
|
}
|
|
var file_capturesheep_capturesheep_db_proto_depIdxs = []int32{
|
|
4, // 0: DBCaptureSheep.weekreward:type_name -> DBCaptureSheep.WeekrewardEntry
|
|
0, // 1: DBCaptureSheepRace.rtype:type_name -> CaptureSheepRaceType
|
|
2, // 2: DBCaptureSheepRace.redmember:type_name -> CaptureSheepRaceMember
|
|
2, // 3: DBCaptureSheepRace.bulemember:type_name -> CaptureSheepRaceMember
|
|
4, // [4:4] is the sub-list for method output_type
|
|
4, // [4:4] is the sub-list for method input_type
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
0, // [0:4] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_capturesheep_capturesheep_db_proto_init() }
|
|
func file_capturesheep_capturesheep_db_proto_init() {
|
|
if File_capturesheep_capturesheep_db_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_capturesheep_capturesheep_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBCaptureSheep); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_capturesheep_capturesheep_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CaptureSheepRaceMember); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_capturesheep_capturesheep_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBCaptureSheepRace); 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_capturesheep_capturesheep_db_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_capturesheep_capturesheep_db_proto_goTypes,
|
|
DependencyIndexes: file_capturesheep_capturesheep_db_proto_depIdxs,
|
|
EnumInfos: file_capturesheep_capturesheep_db_proto_enumTypes,
|
|
MessageInfos: file_capturesheep_capturesheep_db_proto_msgTypes,
|
|
}.Build()
|
|
File_capturesheep_capturesheep_db_proto = out.File
|
|
file_capturesheep_capturesheep_db_proto_rawDesc = nil
|
|
file_capturesheep_capturesheep_db_proto_goTypes = nil
|
|
file_capturesheep_capturesheep_db_proto_depIdxs = nil
|
|
}
|