999 lines
36 KiB
Go
999 lines
36 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: practice/practice_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 DBPracticePillar struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index"` //柱子下标
|
|
Lv int32 `protobuf:"varint,2,opt,name=lv,proto3" json:"lv"` //柱子等级
|
|
Isunlock int32 `protobuf:"varint,3,opt,name=isunlock,proto3" json:"isunlock"` //是否解锁 0不能解锁 1可解锁 2已解锁
|
|
Uid string `protobuf:"bytes,4,opt,name=uid,proto3" json:"uid"` //英雄uid
|
|
Hero string `protobuf:"bytes,5,opt,name=hero,proto3" json:"hero"` //当前练功英雄
|
|
Teacher string `protobuf:"bytes,6,opt,name=teacher,proto3" json:"teacher"` //教习
|
|
Prop string `protobuf:"bytes,7,opt,name=prop,proto3" json:"prop"` //道具
|
|
Start int64 `protobuf:"varint,8,opt,name=start,proto3" json:"start"` //开始时间
|
|
End int64 `protobuf:"varint,9,opt,name=end,proto3" json:"end"` //结束时间
|
|
Expend int64 `protobuf:"varint,10,opt,name=expend,proto3" json:"expend"` //经验上限时间
|
|
Usenum int32 `protobuf:"varint,11,opt,name=usenum,proto3" json:"usenum"` //已使用次数
|
|
Lastusetime int64 `protobuf:"varint,12,opt,name=lastusetime,proto3" json:"lastusetime"` //上一次使用时间
|
|
}
|
|
|
|
func (x *DBPracticePillar) Reset() {
|
|
*x = DBPracticePillar{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticePillar) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticePillar) ProtoMessage() {}
|
|
|
|
func (x *DBPracticePillar) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_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 DBPracticePillar.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticePillar) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetIndex() int32 {
|
|
if x != nil {
|
|
return x.Index
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetIsunlock() int32 {
|
|
if x != nil {
|
|
return x.Isunlock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetHero() string {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetTeacher() string {
|
|
if x != nil {
|
|
return x.Teacher
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetProp() string {
|
|
if x != nil {
|
|
return x.Prop
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetStart() int64 {
|
|
if x != nil {
|
|
return x.Start
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetEnd() int64 {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetExpend() int64 {
|
|
if x != nil {
|
|
return x.Expend
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetUsenum() int32 {
|
|
if x != nil {
|
|
return x.Usenum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticePillar) GetLastusetime() int64 {
|
|
if x != nil {
|
|
return x.Lastusetime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//熊猫武馆教习
|
|
type DBPracticeTeacher struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` //id
|
|
Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid"` //配置id
|
|
Student string `protobuf:"bytes,3,opt,name=student,proto3" json:"student"` //学员id 有表示正在教学,没有表示没有教学
|
|
}
|
|
|
|
func (x *DBPracticeTeacher) Reset() {
|
|
*x = DBPracticeTeacher{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticeTeacher) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticeTeacher) ProtoMessage() {}
|
|
|
|
func (x *DBPracticeTeacher) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_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 DBPracticeTeacher.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticeTeacher) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DBPracticeTeacher) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeTeacher) GetCid() string {
|
|
if x != nil {
|
|
return x.Cid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeTeacher) GetStudent() string {
|
|
if x != nil {
|
|
return x.Student
|
|
}
|
|
return ""
|
|
}
|
|
|
|
//雕像
|
|
type DBPracticeStatuer struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
|
|
Figure int32 `protobuf:"varint,2,opt,name=figure,proto3" json:"figure"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
|
Unionname string `protobuf:"bytes,4,opt,name=unionname,proto3" json:"unionname"`
|
|
Sex int32 `protobuf:"varint,5,opt,name=sex,proto3" json:"sex"`
|
|
Skin string `protobuf:"bytes,6,opt,name=skin,proto3" json:"skin"`
|
|
End int64 `protobuf:"varint,7,opt,name=end,proto3" json:"end"`
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) Reset() {
|
|
*x = DBPracticeStatuer{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticeStatuer) ProtoMessage() {}
|
|
|
|
func (x *DBPracticeStatuer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_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 DBPracticeStatuer.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticeStatuer) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetFigure() int32 {
|
|
if x != nil {
|
|
return x.Figure
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetUnionname() string {
|
|
if x != nil {
|
|
return x.Unionname
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetSex() int32 {
|
|
if x != nil {
|
|
return x.Sex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetSkin() string {
|
|
if x != nil {
|
|
return x.Skin
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeStatuer) GetEnd() int64 {
|
|
if x != nil {
|
|
return x.End
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//武官资源数据
|
|
type DBPracticeRes struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pid string `protobuf:"bytes,1,opt,name=pid,proto3" json:"pid"`
|
|
State int32 `protobuf:"varint,2,opt,name=state,proto3" json:"state"` //0 未使用 1 正在使用
|
|
Usenum int32 `protobuf:"varint,3,opt,name=usenum,proto3" json:"usenum"` //已使用次数
|
|
Lastusetime int64 `protobuf:"varint,4,opt,name=lastusetime,proto3" json:"lastusetime"` //最后使用时间
|
|
}
|
|
|
|
func (x *DBPracticeRes) Reset() {
|
|
*x = DBPracticeRes{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticeRes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticeRes) ProtoMessage() {}
|
|
|
|
func (x *DBPracticeRes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_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 DBPracticeRes.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticeRes) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *DBPracticeRes) GetPid() string {
|
|
if x != nil {
|
|
return x.Pid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeRes) GetState() int32 {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRes) GetUsenum() int32 {
|
|
if x != nil {
|
|
return x.Usenum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRes) GetLastusetime() int64 {
|
|
if x != nil {
|
|
return x.Lastusetime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//练功房
|
|
type DBPracticeRoom 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"` //用户id
|
|
Gymaction int32 `protobuf:"varint,3,opt,name=gymaction,proto3" json:"gymaction"` //健身房动作
|
|
Gymrefresh int32 `protobuf:"varint,4,opt,name=gymrefresh,proto3" json:"gymrefresh"` //健身房刷新次数
|
|
Lastrefresh int64 `protobuf:"varint,5,opt,name=lastrefresh,proto3" json:"lastrefresh"` //最后刷新时间
|
|
Lastgymtime int64 `protobuf:"varint,6,opt,name=lastgymtime,proto3" json:"lastgymtime"` //上一次每日一练的时间
|
|
Full map[int32]int32 `protobuf:"bytes,7,rep,name=full,proto3" json:"full" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //满级登记
|
|
Knapsack map[string]*DBPracticeRes `protobuf:"bytes,8,rep,name=knapsack,proto3" json:"knapsack" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //资源
|
|
Pillar1 *DBPracticePillar `protobuf:"bytes,9,opt,name=pillar1,proto3" json:"pillar1"` //柱子1
|
|
Pillar2 *DBPracticePillar `protobuf:"bytes,10,opt,name=pillar2,proto3" json:"pillar2"` //柱子2
|
|
Pillar3 *DBPracticePillar `protobuf:"bytes,11,opt,name=pillar3,proto3" json:"pillar3"` //柱子3
|
|
Pillarf *DBPracticePillar `protobuf:"bytes,12,opt,name=pillarf,proto3" json:"pillarf"` //好友柱子
|
|
Statuers []*DBPracticeStatuer `protobuf:"bytes,13,rep,name=statuers,proto3" json:"statuers"` //武馆雕像
|
|
Currnpc int32 `protobuf:"varint,14,opt,name=currnpc,proto3" json:"currnpc"` //当前npc
|
|
Npcstate int32 `protobuf:"varint,15,opt,name=npcstate,proto3" json:"npcstate"` //npc状态 -1未开启 0 未挑战 1 挑战失败 2挑战成功 3 CD中
|
|
Refresh int64 `protobuf:"varint,16,opt,name=refresh,proto3" json:"refresh"` //刷新时间
|
|
Battlenum int32 `protobuf:"varint,17,opt,name=battlenum,proto3" json:"battlenum"` //战斗次数
|
|
Captain int32 `protobuf:"varint,18,opt,name=captain,proto3" json:"captain"` //战斗征信队长位
|
|
Formation []*BattleRole `protobuf:"bytes,19,rep,name=formation,proto3" json:"formation"` //战斗阵型
|
|
}
|
|
|
|
func (x *DBPracticeRoom) Reset() {
|
|
*x = DBPracticeRoom{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticeRoom) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticeRoom) ProtoMessage() {}
|
|
|
|
func (x *DBPracticeRoom) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_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 DBPracticeRoom.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticeRoom) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetGymaction() int32 {
|
|
if x != nil {
|
|
return x.Gymaction
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetGymrefresh() int32 {
|
|
if x != nil {
|
|
return x.Gymrefresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetLastrefresh() int64 {
|
|
if x != nil {
|
|
return x.Lastrefresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetLastgymtime() int64 {
|
|
if x != nil {
|
|
return x.Lastgymtime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetFull() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Full
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetKnapsack() map[string]*DBPracticeRes {
|
|
if x != nil {
|
|
return x.Knapsack
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetPillar1() *DBPracticePillar {
|
|
if x != nil {
|
|
return x.Pillar1
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetPillar2() *DBPracticePillar {
|
|
if x != nil {
|
|
return x.Pillar2
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetPillar3() *DBPracticePillar {
|
|
if x != nil {
|
|
return x.Pillar3
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetPillarf() *DBPracticePillar {
|
|
if x != nil {
|
|
return x.Pillarf
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetStatuers() []*DBPracticeStatuer {
|
|
if x != nil {
|
|
return x.Statuers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetCurrnpc() int32 {
|
|
if x != nil {
|
|
return x.Currnpc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetNpcstate() int32 {
|
|
if x != nil {
|
|
return x.Npcstate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetRefresh() int64 {
|
|
if x != nil {
|
|
return x.Refresh
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetBattlenum() int32 {
|
|
if x != nil {
|
|
return x.Battlenum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetCaptain() int32 {
|
|
if x != nil {
|
|
return x.Captain
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeRoom) GetFormation() []*BattleRole {
|
|
if x != nil {
|
|
return x.Formation
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DBPracticeQiecuoInvite struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
|
|
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp"`
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoInvite) Reset() {
|
|
*x = DBPracticeQiecuoInvite{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoInvite) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticeQiecuoInvite) ProtoMessage() {}
|
|
|
|
func (x *DBPracticeQiecuoInvite) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_db_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 DBPracticeQiecuoInvite.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticeQiecuoInvite) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoInvite) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoInvite) GetTimestamp() int64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//切磋请求记录
|
|
type DBPracticeQiecuoRecord 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"` //发起人id
|
|
Targets []*DBPracticeQiecuoInvite `protobuf:"bytes,3,rep,name=targets,proto3" json:"targets"`
|
|
Status int32 `protobuf:"varint,4,opt,name=status,proto3" json:"status"` //0邀请中 1战斗中
|
|
Battid string `protobuf:"bytes,5,opt,name=battid,proto3" json:"battid"`
|
|
Member []string `protobuf:"bytes,6,rep,name=member,proto3" json:"member"` //接受方id
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) Reset() {
|
|
*x = DBPracticeQiecuoRecord{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_practice_practice_db_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBPracticeQiecuoRecord) ProtoMessage() {}
|
|
|
|
func (x *DBPracticeQiecuoRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_practice_practice_db_proto_msgTypes[6]
|
|
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 DBPracticeQiecuoRecord.ProtoReflect.Descriptor instead.
|
|
func (*DBPracticeQiecuoRecord) Descriptor() ([]byte, []int) {
|
|
return file_practice_practice_db_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) GetUid() string {
|
|
if x != nil {
|
|
return x.Uid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) GetTargets() []*DBPracticeQiecuoInvite {
|
|
if x != nil {
|
|
return x.Targets
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) GetStatus() int32 {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) GetBattid() string {
|
|
if x != nil {
|
|
return x.Battid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBPracticeQiecuoRecord) GetMember() []string {
|
|
if x != nil {
|
|
return x.Member
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_practice_practice_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_practice_practice_db_proto_rawDesc = []byte{
|
|
0x0a, 0x1a, 0x70, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x61, 0x63, 0x74,
|
|
0x69, 0x63, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62, 0x61,
|
|
0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x64, 0x62, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa2, 0x02, 0x0a, 0x10, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74,
|
|
0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64,
|
|
0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x76, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x08, 0x69, 0x73, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75,
|
|
0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a,
|
|
0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x72,
|
|
0x6f, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x74, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70,
|
|
0x72, 0x6f, 0x70, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x72, 0x6f, 0x70, 0x12,
|
|
0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e,
|
|
0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x65, 0x6e, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x06, 0x75, 0x73, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x75,
|
|
0x73, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61,
|
|
0x73, 0x74, 0x75, 0x73, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x4f, 0x0a, 0x11, 0x44, 0x42, 0x50,
|
|
0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x54, 0x65, 0x61, 0x63, 0x68, 0x65, 0x72, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10,
|
|
0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64,
|
|
0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x07, 0x73, 0x74, 0x75, 0x64, 0x65, 0x6e, 0x74, 0x22, 0xa7, 0x01, 0x0a, 0x11, 0x44,
|
|
0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72,
|
|
0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
|
|
0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x06, 0x66, 0x69, 0x67, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c,
|
|
0x0a, 0x09, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03,
|
|
0x73, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x12,
|
|
0x0a, 0x04, 0x73, 0x6b, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6b,
|
|
0x69, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x03, 0x65, 0x6e, 0x64, 0x22, 0x71, 0x0a, 0x0d, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69,
|
|
0x63, 0x65, 0x52, 0x65, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a,
|
|
0x06, 0x75, 0x73, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75,
|
|
0x73, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x75, 0x73, 0x65,
|
|
0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74,
|
|
0x75, 0x73, 0x65, 0x74, 0x69, 0x6d, 0x65, 0x22, 0xbb, 0x06, 0x0a, 0x0e, 0x44, 0x42, 0x50, 0x72,
|
|
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 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, 0x1c, 0x0a, 0x09,
|
|
0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x09, 0x67, 0x79, 0x6d, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x67, 0x79,
|
|
0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
|
|
0x67, 0x79, 0x6d, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x6c, 0x61,
|
|
0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0b, 0x6c, 0x61, 0x73, 0x74, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0b,
|
|
0x6c, 0x61, 0x73, 0x74, 0x67, 0x79, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x67, 0x79, 0x6d, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x2d,
|
|
0x0a, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x44,
|
|
0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x2e, 0x46, 0x75,
|
|
0x6c, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x12, 0x39, 0x0a,
|
|
0x08, 0x6b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x1d, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d,
|
|
0x2e, 0x4b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08,
|
|
0x6b, 0x6e, 0x61, 0x70, 0x73, 0x61, 0x63, 0x6b, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c,
|
|
0x61, 0x72, 0x31, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72,
|
|
0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69,
|
|
0x6c, 0x6c, 0x61, 0x72, 0x31, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x32,
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74,
|
|
0x69, 0x63, 0x65, 0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61,
|
|
0x72, 0x32, 0x12, 0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x18, 0x0b, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65,
|
|
0x50, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x33, 0x12,
|
|
0x2b, 0x0a, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x11, 0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x50, 0x69, 0x6c,
|
|
0x6c, 0x61, 0x72, 0x52, 0x07, 0x70, 0x69, 0x6c, 0x6c, 0x61, 0x72, 0x66, 0x12, 0x2e, 0x0a, 0x08,
|
|
0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
|
|
0x2e, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x65, 0x72, 0x52, 0x08, 0x73, 0x74, 0x61, 0x74, 0x75, 0x65, 0x72, 0x73, 0x12, 0x18, 0x0a, 0x07,
|
|
0x63, 0x75, 0x72, 0x72, 0x6e, 0x70, 0x63, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63,
|
|
0x75, 0x72, 0x72, 0x6e, 0x70, 0x63, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x70, 0x63, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6e, 0x70, 0x63, 0x73, 0x74, 0x61,
|
|
0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x18, 0x10, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09,
|
|
0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x09, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x61,
|
|
0x70, 0x74, 0x61, 0x69, 0x6e, 0x18, 0x12, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x63, 0x61, 0x70,
|
|
0x74, 0x61, 0x69, 0x6e, 0x12, 0x29, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
|
0x52, 0x6f, 0x6c, 0x65, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
|
|
0x37, 0x0a, 0x09, 0x46, 0x75, 0x6c, 0x6c, 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, 0x4b, 0x0a, 0x0d, 0x4b, 0x6e, 0x61, 0x70,
|
|
0x73, 0x61, 0x63, 0x6b, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x50,
|
|
0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x48, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74,
|
|
0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x12,
|
|
0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69,
|
|
0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22,
|
|
0xb5, 0x01, 0x0a, 0x16, 0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69,
|
|
0x65, 0x63, 0x75, 0x6f, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 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, 0x31, 0x0a, 0x07,
|
|
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
|
|
0x44, 0x42, 0x50, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x51, 0x69, 0x65, 0x63, 0x75, 0x6f,
|
|
0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12,
|
|
0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x69,
|
|
0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x69, 0x64, 0x12,
|
|
0x16, 0x0a, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52,
|
|
0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_practice_practice_db_proto_rawDescOnce sync.Once
|
|
file_practice_practice_db_proto_rawDescData = file_practice_practice_db_proto_rawDesc
|
|
)
|
|
|
|
func file_practice_practice_db_proto_rawDescGZIP() []byte {
|
|
file_practice_practice_db_proto_rawDescOnce.Do(func() {
|
|
file_practice_practice_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_practice_practice_db_proto_rawDescData)
|
|
})
|
|
return file_practice_practice_db_proto_rawDescData
|
|
}
|
|
|
|
var file_practice_practice_db_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
|
|
var file_practice_practice_db_proto_goTypes = []interface{}{
|
|
(*DBPracticePillar)(nil), // 0: DBPracticePillar
|
|
(*DBPracticeTeacher)(nil), // 1: DBPracticeTeacher
|
|
(*DBPracticeStatuer)(nil), // 2: DBPracticeStatuer
|
|
(*DBPracticeRes)(nil), // 3: DBPracticeRes
|
|
(*DBPracticeRoom)(nil), // 4: DBPracticeRoom
|
|
(*DBPracticeQiecuoInvite)(nil), // 5: DBPracticeQiecuoInvite
|
|
(*DBPracticeQiecuoRecord)(nil), // 6: DBPracticeQiecuoRecord
|
|
nil, // 7: DBPracticeRoom.FullEntry
|
|
nil, // 8: DBPracticeRoom.KnapsackEntry
|
|
(*BattleRole)(nil), // 9: BattleRole
|
|
}
|
|
var file_practice_practice_db_proto_depIdxs = []int32{
|
|
7, // 0: DBPracticeRoom.full:type_name -> DBPracticeRoom.FullEntry
|
|
8, // 1: DBPracticeRoom.knapsack:type_name -> DBPracticeRoom.KnapsackEntry
|
|
0, // 2: DBPracticeRoom.pillar1:type_name -> DBPracticePillar
|
|
0, // 3: DBPracticeRoom.pillar2:type_name -> DBPracticePillar
|
|
0, // 4: DBPracticeRoom.pillar3:type_name -> DBPracticePillar
|
|
0, // 5: DBPracticeRoom.pillarf:type_name -> DBPracticePillar
|
|
2, // 6: DBPracticeRoom.statuers:type_name -> DBPracticeStatuer
|
|
9, // 7: DBPracticeRoom.formation:type_name -> BattleRole
|
|
5, // 8: DBPracticeQiecuoRecord.targets:type_name -> DBPracticeQiecuoInvite
|
|
3, // 9: DBPracticeRoom.KnapsackEntry.value:type_name -> DBPracticeRes
|
|
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_practice_practice_db_proto_init() }
|
|
func file_practice_practice_db_proto_init() {
|
|
if File_practice_practice_db_proto != nil {
|
|
return
|
|
}
|
|
file_battle_battle_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_practice_practice_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticePillar); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_practice_practice_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticeTeacher); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_practice_practice_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticeStatuer); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_practice_practice_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticeRes); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_practice_practice_db_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticeRoom); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_practice_practice_db_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticeQiecuoInvite); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_practice_practice_db_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBPracticeQiecuoRecord); 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_practice_practice_db_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 9,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_practice_practice_db_proto_goTypes,
|
|
DependencyIndexes: file_practice_practice_db_proto_depIdxs,
|
|
MessageInfos: file_practice_practice_db_proto_msgTypes,
|
|
}.Build()
|
|
File_practice_practice_db_proto = out.File
|
|
file_practice_practice_db_proto_rawDesc = nil
|
|
file_practice_practice_db_proto_goTypes = nil
|
|
file_practice_practice_db_proto_depIdxs = nil
|
|
}
|