874 lines
31 KiB
Go
874 lines
31 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: battle/battle_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 BattleType int32
|
|
|
|
const (
|
|
BattleType_nil BattleType = 0
|
|
BattleType_pve BattleType = 1 //pve
|
|
BattleType_pvp BattleType = 2 //异步pvp
|
|
BattleType_pvb BattleType = 3 //boos战斗
|
|
BattleType_eve BattleType = 4 //eve对战
|
|
BattleType_rtpvp BattleType = 5 //实时pvp
|
|
BattleType_lpev BattleType = 6 //连续战斗
|
|
)
|
|
|
|
// Enum value maps for BattleType.
|
|
var (
|
|
BattleType_name = map[int32]string{
|
|
0: "nil",
|
|
1: "pve",
|
|
2: "pvp",
|
|
3: "pvb",
|
|
4: "eve",
|
|
5: "rtpvp",
|
|
6: "lpev",
|
|
}
|
|
BattleType_value = map[string]int32{
|
|
"nil": 0,
|
|
"pve": 1,
|
|
"pvp": 2,
|
|
"pvb": 3,
|
|
"eve": 4,
|
|
"rtpvp": 5,
|
|
"lpev": 6,
|
|
}
|
|
)
|
|
|
|
func (x BattleType) Enum() *BattleType {
|
|
p := new(BattleType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x BattleType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (BattleType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_battle_battle_db_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (BattleType) Type() protoreflect.EnumType {
|
|
return &file_battle_battle_db_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x BattleType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use BattleType.Descriptor instead.
|
|
func (BattleType) EnumDescriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
//玩法类型
|
|
type PlayType int32
|
|
|
|
const (
|
|
PlayType_null PlayType = 0 //无效类型
|
|
PlayType_mainline PlayType = 1 //主线玩法
|
|
PlayType_pagoda PlayType = 2 //爬塔
|
|
PlayType_rtask PlayType = 3 //随机任务战斗
|
|
PlayType_hunting PlayType = 4 //狩猎
|
|
PlayType_viking PlayType = 5 //维京远征
|
|
PlayType_moonfantasy PlayType = 6 //月之秘境
|
|
PlayType_arena PlayType = 7 //竞技场
|
|
PlayType_academy PlayType = 8 //联盟学院
|
|
PlayType_heroteaching PlayType = 9 //英雄教学
|
|
PlayType_combat PlayType = 10 //新关卡
|
|
PlayType_enchant PlayType = 11 //附魔副本
|
|
PlayType_sociaty PlayType = 12 //工会战
|
|
PlayType_friendsmeet PlayType = 13 //好友切磋
|
|
PlayType_practicenpc PlayType = 14 //武馆NPC
|
|
)
|
|
|
|
// Enum value maps for PlayType.
|
|
var (
|
|
PlayType_name = map[int32]string{
|
|
0: "null",
|
|
1: "mainline",
|
|
2: "pagoda",
|
|
3: "rtask",
|
|
4: "hunting",
|
|
5: "viking",
|
|
6: "moonfantasy",
|
|
7: "arena",
|
|
8: "academy",
|
|
9: "heroteaching",
|
|
10: "combat",
|
|
11: "enchant",
|
|
12: "sociaty",
|
|
13: "friendsmeet",
|
|
14: "practicenpc",
|
|
}
|
|
PlayType_value = map[string]int32{
|
|
"null": 0,
|
|
"mainline": 1,
|
|
"pagoda": 2,
|
|
"rtask": 3,
|
|
"hunting": 4,
|
|
"viking": 5,
|
|
"moonfantasy": 6,
|
|
"arena": 7,
|
|
"academy": 8,
|
|
"heroteaching": 9,
|
|
"combat": 10,
|
|
"enchant": 11,
|
|
"sociaty": 12,
|
|
"friendsmeet": 13,
|
|
"practicenpc": 14,
|
|
}
|
|
)
|
|
|
|
func (x PlayType) Enum() *PlayType {
|
|
p := new(PlayType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PlayType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PlayType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_battle_battle_db_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (PlayType) Type() protoreflect.EnumType {
|
|
return &file_battle_battle_db_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x PlayType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PlayType.Descriptor instead.
|
|
func (PlayType) EnumDescriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
//战斗状态
|
|
type BBattleState int32
|
|
|
|
const (
|
|
BBattleState_in BBattleState = 0
|
|
BBattleState_end BBattleState = 2
|
|
)
|
|
|
|
// Enum value maps for BBattleState.
|
|
var (
|
|
BBattleState_name = map[int32]string{
|
|
0: "in",
|
|
2: "end",
|
|
}
|
|
BBattleState_value = map[string]int32{
|
|
"in": 0,
|
|
"end": 2,
|
|
}
|
|
)
|
|
|
|
func (x BBattleState) Enum() *BBattleState {
|
|
p := new(BBattleState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x BBattleState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (BBattleState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_battle_battle_db_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (BBattleState) Type() protoreflect.EnumType {
|
|
return &file_battle_battle_db_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x BBattleState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use BBattleState.Descriptor instead.
|
|
func (BBattleState) EnumDescriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
//战斗阵型信息
|
|
type DBBattleComp int32
|
|
|
|
const (
|
|
DBBattleComp_draw DBBattleComp = 0 //平局
|
|
DBBattleComp_red DBBattleComp = 1 //红方
|
|
DBBattleComp_bule DBBattleComp = 2 //蓝方
|
|
)
|
|
|
|
// Enum value maps for DBBattleComp.
|
|
var (
|
|
DBBattleComp_name = map[int32]string{
|
|
0: "draw",
|
|
1: "red",
|
|
2: "bule",
|
|
}
|
|
DBBattleComp_value = map[string]int32{
|
|
"draw": 0,
|
|
"red": 1,
|
|
"bule": 2,
|
|
}
|
|
)
|
|
|
|
func (x DBBattleComp) Enum() *DBBattleComp {
|
|
p := new(DBBattleComp)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x DBBattleComp) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (DBBattleComp) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_battle_battle_db_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (DBBattleComp) Type() protoreflect.EnumType {
|
|
return &file_battle_battle_db_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x DBBattleComp) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use DBBattleComp.Descriptor instead.
|
|
func (DBBattleComp) EnumDescriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type BattleRole struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid"` // 临时id
|
|
Oid string `protobuf:"bytes,2,opt,name=oid,proto3" json:"oid"` // 玩家英雄数据库id
|
|
Pos int32 `protobuf:"varint,3,opt,name=pos,proto3" json:"pos"` // 站位坐标
|
|
HeroID string `protobuf:"bytes,4,opt,name=heroID,proto3" json:"heroID" bson:"heroID"` //英雄的配置表ID
|
|
Star int32 `protobuf:"varint,5,opt,name=star,proto3" json:"star"` // 英雄星级
|
|
Lv int32 `protobuf:"varint,6,opt,name=lv,proto3" json:"lv"` // 英雄等级
|
|
CaptainSkill int32 `protobuf:"varint,7,opt,name=captainSkill,proto3" json:"captainSkill" bson:"captainSkill"` //队长技能
|
|
MainSuitSkill int32 `protobuf:"varint,8,opt,name=mainSuitSkill,proto3" json:"mainSuitSkill" bson:"mainSuitSkill"` /// 主套装技能
|
|
SubSuitSkill int32 `protobuf:"varint,9,opt,name=subSuitSkill,proto3" json:"subSuitSkill" bson:"subSuitSkill"` /// 副套装技能
|
|
NormalSkill []*SkillData `protobuf:"bytes,10,rep,name=normalSkill,proto3" json:"normalSkill" bson:"normalSkill"` //普通技能
|
|
EquipSkill []*SkillData `protobuf:"bytes,11,rep,name=equipSkill,proto3" json:"equipSkill" bson:"equipSkill"` //普通技能
|
|
PandaBuff int32 `protobuf:"varint,12,opt,name=PandaBuff,proto3" json:"PandaBuff"` //熊猫buff技能id
|
|
Property map[int32]int32 `protobuf:"bytes,13,rep,name=property,proto3" json:"property" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` //基础属性
|
|
Ishelp bool `protobuf:"varint,14,opt,name=ishelp,proto3" json:"ishelp"` //是否是助战英雄
|
|
Isboos int32 `protobuf:"varint,15,opt,name=isboos,proto3" json:"isboos"` //是否是boos
|
|
Monsterid int32 `protobuf:"varint,16,opt,name=monsterid,proto3" json:"monsterid"` //怪物id
|
|
Currhp int32 `protobuf:"varint,17,opt,name=currhp,proto3" json:"currhp"` //当前血量
|
|
}
|
|
|
|
func (x *BattleRole) Reset() {
|
|
*x = BattleRole{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_battle_battle_db_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BattleRole) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BattleRole) ProtoMessage() {}
|
|
|
|
func (x *BattleRole) ProtoReflect() protoreflect.Message {
|
|
mi := &file_battle_battle_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 BattleRole.ProtoReflect.Descriptor instead.
|
|
func (*BattleRole) Descriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *BattleRole) GetTid() int32 {
|
|
if x != nil {
|
|
return x.Tid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetOid() string {
|
|
if x != nil {
|
|
return x.Oid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BattleRole) GetPos() int32 {
|
|
if x != nil {
|
|
return x.Pos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetHeroID() string {
|
|
if x != nil {
|
|
return x.HeroID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BattleRole) GetStar() int32 {
|
|
if x != nil {
|
|
return x.Star
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetLv() int32 {
|
|
if x != nil {
|
|
return x.Lv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetCaptainSkill() int32 {
|
|
if x != nil {
|
|
return x.CaptainSkill
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetMainSuitSkill() int32 {
|
|
if x != nil {
|
|
return x.MainSuitSkill
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetSubSuitSkill() int32 {
|
|
if x != nil {
|
|
return x.SubSuitSkill
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetNormalSkill() []*SkillData {
|
|
if x != nil {
|
|
return x.NormalSkill
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BattleRole) GetEquipSkill() []*SkillData {
|
|
if x != nil {
|
|
return x.EquipSkill
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BattleRole) GetPandaBuff() int32 {
|
|
if x != nil {
|
|
return x.PandaBuff
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetProperty() map[int32]int32 {
|
|
if x != nil {
|
|
return x.Property
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BattleRole) GetIshelp() bool {
|
|
if x != nil {
|
|
return x.Ishelp
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BattleRole) GetIsboos() int32 {
|
|
if x != nil {
|
|
return x.Isboos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetMonsterid() int32 {
|
|
if x != nil {
|
|
return x.Monsterid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BattleRole) GetCurrhp() int32 {
|
|
if x != nil {
|
|
return x.Currhp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//战斗阵型信息
|
|
type DBBattleFormt struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Leadpos int32 `protobuf:"varint,1,opt,name=leadpos,proto3" json:"leadpos"` //队长位置
|
|
Team []*BattleRole `protobuf:"bytes,2,rep,name=team,proto3" json:"team"` //自己的战队
|
|
Systeam []*BattleRole `protobuf:"bytes,3,rep,name=systeam,proto3" json:"systeam"` //系统辅助战队
|
|
Backupteam []*BattleRole `protobuf:"bytes,4,rep,name=backupteam,proto3" json:"backupteam"` //后援战队
|
|
}
|
|
|
|
func (x *DBBattleFormt) Reset() {
|
|
*x = DBBattleFormt{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_battle_battle_db_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBBattleFormt) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBBattleFormt) ProtoMessage() {}
|
|
|
|
func (x *DBBattleFormt) ProtoReflect() protoreflect.Message {
|
|
mi := &file_battle_battle_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 DBBattleFormt.ProtoReflect.Descriptor instead.
|
|
func (*DBBattleFormt) Descriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *DBBattleFormt) GetLeadpos() int32 {
|
|
if x != nil {
|
|
return x.Leadpos
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *DBBattleFormt) GetTeam() []*BattleRole {
|
|
if x != nil {
|
|
return x.Team
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBBattleFormt) GetSysteam() []*BattleRole {
|
|
if x != nil {
|
|
return x.Systeam
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBBattleFormt) GetBackupteam() []*BattleRole {
|
|
if x != nil {
|
|
return x.Backupteam
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//战斗记录
|
|
type DBBattleRecord struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id"` //战斗记录id
|
|
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"` //战斗标题
|
|
Btype BattleType `protobuf:"varint,3,opt,name=btype,proto3,enum=BattleType" json:"btype"` //战斗类型
|
|
Ptype PlayType `protobuf:"varint,4,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` //玩法类型
|
|
Plevel string `protobuf:"bytes,5,opt,name=plevel,proto3" json:"plevel"` //玩法关卡
|
|
State BBattleState `protobuf:"varint,6,opt,name=state,proto3,enum=BBattleState" json:"state"` //战斗状态
|
|
RedCompId string `protobuf:"bytes,7,opt,name=redCompId,proto3" json:"redCompId"` //红方阵营id
|
|
Redflist []*DBBattleFormt `protobuf:"bytes,8,rep,name=redflist,proto3" json:"redflist"` //红方阵型列表
|
|
BlueCompId string `protobuf:"bytes,9,opt,name=blueCompId,proto3" json:"blueCompId"` //蓝方阵营id
|
|
Buleflist []*DBBattleFormt `protobuf:"bytes,10,rep,name=buleflist,proto3" json:"buleflist"` //红方阵型列表
|
|
Roundresult []DBBattleComp `protobuf:"varint,11,rep,packed,name=roundresult,proto3,enum=DBBattleComp" json:"roundresult"` //战斗场次结果
|
|
Result DBBattleComp `protobuf:"varint,12,opt,name=result,proto3,enum=DBBattleComp" json:"result"` //最终结果
|
|
Tasks []int32 `protobuf:"varint,13,rep,packed,name=tasks,proto3" json:"tasks"` //任务列表
|
|
}
|
|
|
|
func (x *DBBattleRecord) Reset() {
|
|
*x = DBBattleRecord{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_battle_battle_db_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DBBattleRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DBBattleRecord) ProtoMessage() {}
|
|
|
|
func (x *DBBattleRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_battle_battle_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 DBBattleRecord.ProtoReflect.Descriptor instead.
|
|
func (*DBBattleRecord) Descriptor() ([]byte, []int) {
|
|
return file_battle_battle_db_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetTitle() string {
|
|
if x != nil {
|
|
return x.Title
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetBtype() BattleType {
|
|
if x != nil {
|
|
return x.Btype
|
|
}
|
|
return BattleType_nil
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetPtype() PlayType {
|
|
if x != nil {
|
|
return x.Ptype
|
|
}
|
|
return PlayType_null
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetPlevel() string {
|
|
if x != nil {
|
|
return x.Plevel
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetState() BBattleState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return BBattleState_in
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetRedCompId() string {
|
|
if x != nil {
|
|
return x.RedCompId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetRedflist() []*DBBattleFormt {
|
|
if x != nil {
|
|
return x.Redflist
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetBlueCompId() string {
|
|
if x != nil {
|
|
return x.BlueCompId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetBuleflist() []*DBBattleFormt {
|
|
if x != nil {
|
|
return x.Buleflist
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetRoundresult() []DBBattleComp {
|
|
if x != nil {
|
|
return x.Roundresult
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetResult() DBBattleComp {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return DBBattleComp_draw
|
|
}
|
|
|
|
func (x *DBBattleRecord) GetTasks() []int32 {
|
|
if x != nil {
|
|
return x.Tasks
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_battle_battle_db_proto protoreflect.FileDescriptor
|
|
|
|
var file_battle_battle_db_proto_rawDesc = []byte{
|
|
0x0a, 0x16, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f,
|
|
0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70,
|
|
0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbe, 0x04, 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52,
|
|
0x6f, 0x6c, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x03, 0x74, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x03, 0x6f, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72,
|
|
0x6f, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49,
|
|
0x44, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x74, 0x61, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x04, 0x73, 0x74, 0x61, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x76, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x02, 0x6c, 0x76, 0x12, 0x22, 0x0a, 0x0c, 0x63, 0x61, 0x70, 0x74, 0x61, 0x69, 0x6e,
|
|
0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x63, 0x61, 0x70,
|
|
0x74, 0x61, 0x69, 0x6e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x24, 0x0a, 0x0d, 0x6d, 0x61, 0x69,
|
|
0x6e, 0x53, 0x75, 0x69, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x0d, 0x6d, 0x61, 0x69, 0x6e, 0x53, 0x75, 0x69, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12,
|
|
0x22, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x53, 0x75, 0x69, 0x74, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x18,
|
|
0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x53, 0x75, 0x69, 0x74, 0x53, 0x6b,
|
|
0x69, 0x6c, 0x6c, 0x12, 0x2c, 0x0a, 0x0b, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x53, 0x6b, 0x69,
|
|
0x6c, 0x6c, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c,
|
|
0x44, 0x61, 0x74, 0x61, 0x52, 0x0b, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x53, 0x6b, 0x69, 0x6c,
|
|
0x6c, 0x12, 0x2a, 0x0a, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x18,
|
|
0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x44, 0x61, 0x74,
|
|
0x61, 0x52, 0x0a, 0x65, 0x71, 0x75, 0x69, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x12, 0x1c, 0x0a,
|
|
0x09, 0x50, 0x61, 0x6e, 0x64, 0x61, 0x42, 0x75, 0x66, 0x66, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x09, 0x50, 0x61, 0x6e, 0x64, 0x61, 0x42, 0x75, 0x66, 0x66, 0x12, 0x35, 0x0a, 0x08, 0x70,
|
|
0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e,
|
|
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65,
|
|
0x72, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
|
|
0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x68, 0x65, 0x6c, 0x70, 0x18, 0x0e, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x68, 0x65, 0x6c, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73,
|
|
0x62, 0x6f, 0x6f, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x69, 0x73, 0x62, 0x6f,
|
|
0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x69, 0x64, 0x18,
|
|
0x10, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x6f, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x69, 0x64,
|
|
0x12, 0x16, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x72, 0x68, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x06, 0x63, 0x75, 0x72, 0x72, 0x68, 0x70, 0x1a, 0x3b, 0x0a, 0x0d, 0x50, 0x72, 0x6f, 0x70,
|
|
0x65, 0x72, 0x74, 0x79, 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, 0x9e, 0x01, 0x0a, 0x0d, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74,
|
|
0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70,
|
|
0x6f, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6c, 0x65, 0x61, 0x64, 0x70, 0x6f,
|
|
0x73, 0x12, 0x1f, 0x0a, 0x04, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x74, 0x65,
|
|
0x61, 0x6d, 0x12, 0x25, 0x0a, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x03, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65,
|
|
0x52, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x61, 0x6d, 0x12, 0x2b, 0x0a, 0x0a, 0x62, 0x61, 0x63,
|
|
0x6b, 0x75, 0x70, 0x74, 0x65, 0x61, 0x6d, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e,
|
|
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x0a, 0x62, 0x61, 0x63, 0x6b,
|
|
0x75, 0x70, 0x74, 0x65, 0x61, 0x6d, 0x22, 0xbd, 0x03, 0x0a, 0x0e, 0x44, 0x42, 0x42, 0x61, 0x74,
|
|
0x74, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74,
|
|
0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12,
|
|
0x21, 0x0a, 0x05, 0x62, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0b,
|
|
0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x62, 0x74, 0x79,
|
|
0x70, 0x65, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74,
|
|
0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x05, 0x73,
|
|
0x74, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x42, 0x42, 0x61,
|
|
0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x64, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x2a,
|
|
0x0a, 0x08, 0x72, 0x65, 0x64, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74,
|
|
0x52, 0x08, 0x72, 0x65, 0x64, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x6c,
|
|
0x75, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x62, 0x6c, 0x75, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x75,
|
|
0x6c, 0x65, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
|
|
0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x09, 0x62,
|
|
0x75, 0x6c, 0x65, 0x66, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x6e,
|
|
0x64, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x0d, 0x2e,
|
|
0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x52, 0x0b, 0x72, 0x6f,
|
|
0x75, 0x6e, 0x64, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65, 0x73,
|
|
0x75, 0x6c, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x42, 0x61,
|
|
0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74,
|
|
0x12, 0x14, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x05, 0x52,
|
|
0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2a, 0x4e, 0x0a, 0x0a, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65,
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x07, 0x0a, 0x03, 0x6e, 0x69, 0x6c, 0x10, 0x00, 0x12, 0x07, 0x0a,
|
|
0x03, 0x70, 0x76, 0x65, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x70, 0x76, 0x70, 0x10, 0x02, 0x12,
|
|
0x07, 0x0a, 0x03, 0x70, 0x76, 0x62, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x76, 0x65, 0x10,
|
|
0x04, 0x12, 0x09, 0x0a, 0x05, 0x72, 0x74, 0x70, 0x76, 0x70, 0x10, 0x05, 0x12, 0x08, 0x0a, 0x04,
|
|
0x6c, 0x70, 0x65, 0x76, 0x10, 0x06, 0x2a, 0xd5, 0x01, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x79, 0x54,
|
|
0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x6e, 0x75, 0x6c, 0x6c, 0x10, 0x00, 0x12, 0x0c, 0x0a,
|
|
0x08, 0x6d, 0x61, 0x69, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x70,
|
|
0x61, 0x67, 0x6f, 0x64, 0x61, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x72, 0x74, 0x61, 0x73, 0x6b,
|
|
0x10, 0x03, 0x12, 0x0b, 0x0a, 0x07, 0x68, 0x75, 0x6e, 0x74, 0x69, 0x6e, 0x67, 0x10, 0x04, 0x12,
|
|
0x0a, 0x0a, 0x06, 0x76, 0x69, 0x6b, 0x69, 0x6e, 0x67, 0x10, 0x05, 0x12, 0x0f, 0x0a, 0x0b, 0x6d,
|
|
0x6f, 0x6f, 0x6e, 0x66, 0x61, 0x6e, 0x74, 0x61, 0x73, 0x79, 0x10, 0x06, 0x12, 0x09, 0x0a, 0x05,
|
|
0x61, 0x72, 0x65, 0x6e, 0x61, 0x10, 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x61, 0x63, 0x61, 0x64, 0x65,
|
|
0x6d, 0x79, 0x10, 0x08, 0x12, 0x10, 0x0a, 0x0c, 0x68, 0x65, 0x72, 0x6f, 0x74, 0x65, 0x61, 0x63,
|
|
0x68, 0x69, 0x6e, 0x67, 0x10, 0x09, 0x12, 0x0a, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74,
|
|
0x10, 0x0a, 0x12, 0x0b, 0x0a, 0x07, 0x65, 0x6e, 0x63, 0x68, 0x61, 0x6e, 0x74, 0x10, 0x0b, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x79, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b,
|
|
0x66, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x73, 0x6d, 0x65, 0x65, 0x74, 0x10, 0x0d, 0x12, 0x0f, 0x0a,
|
|
0x0b, 0x70, 0x72, 0x61, 0x63, 0x74, 0x69, 0x63, 0x65, 0x6e, 0x70, 0x63, 0x10, 0x0e, 0x2a, 0x1f,
|
|
0x0a, 0x0c, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x06,
|
|
0x0a, 0x02, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x10, 0x02, 0x2a,
|
|
0x2b, 0x0a, 0x0c, 0x44, 0x42, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x12,
|
|
0x08, 0x0a, 0x04, 0x64, 0x72, 0x61, 0x77, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x72, 0x65, 0x64,
|
|
0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x62, 0x75, 0x6c, 0x65, 0x10, 0x02, 0x42, 0x06, 0x5a, 0x04,
|
|
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_battle_battle_db_proto_rawDescOnce sync.Once
|
|
file_battle_battle_db_proto_rawDescData = file_battle_battle_db_proto_rawDesc
|
|
)
|
|
|
|
func file_battle_battle_db_proto_rawDescGZIP() []byte {
|
|
file_battle_battle_db_proto_rawDescOnce.Do(func() {
|
|
file_battle_battle_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_battle_battle_db_proto_rawDescData)
|
|
})
|
|
return file_battle_battle_db_proto_rawDescData
|
|
}
|
|
|
|
var file_battle_battle_db_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
|
|
var file_battle_battle_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_battle_battle_db_proto_goTypes = []interface{}{
|
|
(BattleType)(0), // 0: BattleType
|
|
(PlayType)(0), // 1: PlayType
|
|
(BBattleState)(0), // 2: BBattleState
|
|
(DBBattleComp)(0), // 3: DBBattleComp
|
|
(*BattleRole)(nil), // 4: BattleRole
|
|
(*DBBattleFormt)(nil), // 5: DBBattleFormt
|
|
(*DBBattleRecord)(nil), // 6: DBBattleRecord
|
|
nil, // 7: BattleRole.PropertyEntry
|
|
(*SkillData)(nil), // 8: SkillData
|
|
}
|
|
var file_battle_battle_db_proto_depIdxs = []int32{
|
|
8, // 0: BattleRole.normalSkill:type_name -> SkillData
|
|
8, // 1: BattleRole.equipSkill:type_name -> SkillData
|
|
7, // 2: BattleRole.property:type_name -> BattleRole.PropertyEntry
|
|
4, // 3: DBBattleFormt.team:type_name -> BattleRole
|
|
4, // 4: DBBattleFormt.systeam:type_name -> BattleRole
|
|
4, // 5: DBBattleFormt.backupteam:type_name -> BattleRole
|
|
0, // 6: DBBattleRecord.btype:type_name -> BattleType
|
|
1, // 7: DBBattleRecord.ptype:type_name -> PlayType
|
|
2, // 8: DBBattleRecord.state:type_name -> BBattleState
|
|
5, // 9: DBBattleRecord.redflist:type_name -> DBBattleFormt
|
|
5, // 10: DBBattleRecord.buleflist:type_name -> DBBattleFormt
|
|
3, // 11: DBBattleRecord.roundresult:type_name -> DBBattleComp
|
|
3, // 12: DBBattleRecord.result:type_name -> DBBattleComp
|
|
13, // [13:13] is the sub-list for method output_type
|
|
13, // [13:13] is the sub-list for method input_type
|
|
13, // [13:13] is the sub-list for extension type_name
|
|
13, // [13:13] is the sub-list for extension extendee
|
|
0, // [0:13] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_battle_battle_db_proto_init() }
|
|
func file_battle_battle_db_proto_init() {
|
|
if File_battle_battle_db_proto != nil {
|
|
return
|
|
}
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_battle_battle_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BattleRole); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_battle_battle_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBBattleFormt); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_battle_battle_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DBBattleRecord); 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_battle_battle_db_proto_rawDesc,
|
|
NumEnums: 4,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_battle_battle_db_proto_goTypes,
|
|
DependencyIndexes: file_battle_battle_db_proto_depIdxs,
|
|
EnumInfos: file_battle_battle_db_proto_enumTypes,
|
|
MessageInfos: file_battle_battle_db_proto_msgTypes,
|
|
}.Build()
|
|
File_battle_battle_db_proto = out.File
|
|
file_battle_battle_db_proto_rawDesc = nil
|
|
file_battle_battle_db_proto_goTypes = nil
|
|
file_battle_battle_db_proto_depIdxs = nil
|
|
}
|