go_dreamfactory/pb/arena_db.pb.go
2022-10-26 12:39:58 +08:00

586 lines
19 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.0
// protoc v3.20.0
// source: arena/arena_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 DBPlayerBattleFormt struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Leadpos int32 `protobuf:"varint,1,opt,name=leadpos,proto3" json:"leadpos"` //队长位置
Formt []*DBHero `protobuf:"bytes,2,rep,name=formt,proto3" json:"formt"`
}
func (x *DBPlayerBattleFormt) Reset() {
*x = DBPlayerBattleFormt{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_db_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBPlayerBattleFormt) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBPlayerBattleFormt) ProtoMessage() {}
func (x *DBPlayerBattleFormt) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_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 DBPlayerBattleFormt.ProtoReflect.Descriptor instead.
func (*DBPlayerBattleFormt) Descriptor() ([]byte, []int) {
return file_arena_arena_db_proto_rawDescGZIP(), []int{0}
}
func (x *DBPlayerBattleFormt) GetLeadpos() int32 {
if x != nil {
return x.Leadpos
}
return 0
}
func (x *DBPlayerBattleFormt) GetFormt() []*DBHero {
if x != nil {
return x.Formt
}
return nil
}
//玩家基本信息
type ArenaPlayer struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
Dan int32 `protobuf:"varint,3,opt,name=dan,proto3" json:"dan"` //段位
Integral int32 `protobuf:"varint,4,opt,name=Integral,proto3" json:"Integral"`
Rank int32 `protobuf:"varint,5,opt,name=rank,proto3" json:"rank"` //排名
Defend *DBPlayerBattleFormt `protobuf:"bytes,6,opt,name=defend,proto3" json:"defend"` //防守
Isai bool `protobuf:"varint,7,opt,name=isai,proto3" json:"isai"` //是否是ai
Mformatid int32 `protobuf:"varint,8,opt,name=mformatid,proto3" json:"mformatid"` // AIId
}
func (x *ArenaPlayer) Reset() {
*x = ArenaPlayer{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_db_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ArenaPlayer) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArenaPlayer) ProtoMessage() {}
func (x *ArenaPlayer) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_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 ArenaPlayer.ProtoReflect.Descriptor instead.
func (*ArenaPlayer) Descriptor() ([]byte, []int) {
return file_arena_arena_db_proto_rawDescGZIP(), []int{1}
}
func (x *ArenaPlayer) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *ArenaPlayer) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ArenaPlayer) GetDan() int32 {
if x != nil {
return x.Dan
}
return 0
}
func (x *ArenaPlayer) GetIntegral() int32 {
if x != nil {
return x.Integral
}
return 0
}
func (x *ArenaPlayer) GetRank() int32 {
if x != nil {
return x.Rank
}
return 0
}
func (x *ArenaPlayer) GetDefend() *DBPlayerBattleFormt {
if x != nil {
return x.Defend
}
return nil
}
func (x *ArenaPlayer) GetIsai() bool {
if x != nil {
return x.Isai
}
return false
}
func (x *ArenaPlayer) GetMformatid() int32 {
if x != nil {
return x.Mformatid
}
return 0
}
//战斗记录
type DBArenaBattleRecord struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Bid string `protobuf:"bytes,1,opt,name=bid,proto3" json:"bid"` //战斗id
Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time"` //战斗时间
Iswin bool `protobuf:"varint,3,opt,name=iswin,proto3" json:"iswin"` //是否胜利
Isdefend bool `protobuf:"varint,4,opt,name=isdefend,proto3" json:"isdefend"` //是否防守
Rivalid string `protobuf:"bytes,5,opt,name=rivalid,proto3" json:"rivalid"` //对手id
Rivalname string `protobuf:"bytes,6,opt,name=rivalname,proto3" json:"rivalname"` //对手名称
}
func (x *DBArenaBattleRecord) Reset() {
*x = DBArenaBattleRecord{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_db_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBArenaBattleRecord) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBArenaBattleRecord) ProtoMessage() {}
func (x *DBArenaBattleRecord) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_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 DBArenaBattleRecord.ProtoReflect.Descriptor instead.
func (*DBArenaBattleRecord) Descriptor() ([]byte, []int) {
return file_arena_arena_db_proto_rawDescGZIP(), []int{2}
}
func (x *DBArenaBattleRecord) GetBid() string {
if x != nil {
return x.Bid
}
return ""
}
func (x *DBArenaBattleRecord) GetTime() int64 {
if x != nil {
return x.Time
}
return 0
}
func (x *DBArenaBattleRecord) GetIswin() bool {
if x != nil {
return x.Iswin
}
return false
}
func (x *DBArenaBattleRecord) GetIsdefend() bool {
if x != nil {
return x.Isdefend
}
return false
}
func (x *DBArenaBattleRecord) GetRivalid() string {
if x != nil {
return x.Rivalid
}
return ""
}
func (x *DBArenaBattleRecord) GetRivalname() string {
if x != nil {
return x.Rivalname
}
return ""
}
//竞技场用户数据
type DBArenaUser 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"` //玩家名称
Integral int32 `protobuf:"varint,3,opt,name=integral,proto3" json:"integral"` //积分
Ticket int32 `protobuf:"varint,4,opt,name=ticket,proto3" json:"ticket"` //挑战券
Dan int32 `protobuf:"varint,5,opt,name=dan,proto3" json:"dan"` //段位
Attack *DBPlayerBattleFormt `protobuf:"bytes,6,opt,name=attack,proto3" json:"attack"` //进攻阵型
Defend *DBPlayerBattleFormt `protobuf:"bytes,7,opt,name=defend,proto3" json:"defend"` //防守阵型
Streak int32 `protobuf:"varint,8,opt,name=streak,proto3" json:"streak"` //连胜
Attackrate int32 `protobuf:"varint,9,opt,name=attackrate,proto3" json:"attackrate"` //进攻胜率
Defendrate int32 `protobuf:"varint,10,opt,name=defendrate,proto3" json:"defendrate"` //防守胜率
Rank int32 `protobuf:"varint,11,opt,name=rank,proto3" json:"rank"` //排名
Buynum int32 `protobuf:"varint,12,opt,name=buynum,proto3" json:"buynum"` //购买次数
Record []*DBArenaBattleRecord `protobuf:"bytes,13,rep,name=record,proto3" json:"record"` //战斗记录
}
func (x *DBArenaUser) Reset() {
*x = DBArenaUser{}
if protoimpl.UnsafeEnabled {
mi := &file_arena_arena_db_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DBArenaUser) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DBArenaUser) ProtoMessage() {}
func (x *DBArenaUser) ProtoReflect() protoreflect.Message {
mi := &file_arena_arena_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 DBArenaUser.ProtoReflect.Descriptor instead.
func (*DBArenaUser) Descriptor() ([]byte, []int) {
return file_arena_arena_db_proto_rawDescGZIP(), []int{3}
}
func (x *DBArenaUser) GetUid() string {
if x != nil {
return x.Uid
}
return ""
}
func (x *DBArenaUser) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *DBArenaUser) GetIntegral() int32 {
if x != nil {
return x.Integral
}
return 0
}
func (x *DBArenaUser) GetTicket() int32 {
if x != nil {
return x.Ticket
}
return 0
}
func (x *DBArenaUser) GetDan() int32 {
if x != nil {
return x.Dan
}
return 0
}
func (x *DBArenaUser) GetAttack() *DBPlayerBattleFormt {
if x != nil {
return x.Attack
}
return nil
}
func (x *DBArenaUser) GetDefend() *DBPlayerBattleFormt {
if x != nil {
return x.Defend
}
return nil
}
func (x *DBArenaUser) GetStreak() int32 {
if x != nil {
return x.Streak
}
return 0
}
func (x *DBArenaUser) GetAttackrate() int32 {
if x != nil {
return x.Attackrate
}
return 0
}
func (x *DBArenaUser) GetDefendrate() int32 {
if x != nil {
return x.Defendrate
}
return 0
}
func (x *DBArenaUser) GetRank() int32 {
if x != nil {
return x.Rank
}
return 0
}
func (x *DBArenaUser) GetBuynum() int32 {
if x != nil {
return x.Buynum
}
return 0
}
func (x *DBArenaUser) GetRecord() []*DBArenaBattleRecord {
if x != nil {
return x.Record
}
return nil
}
var File_arena_arena_db_proto protoreflect.FileDescriptor
var file_arena_arena_db_proto_rawDesc = []byte{
0x0a, 0x14, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x2f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x5f, 0x64, 0x62,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x68, 0x65, 0x72, 0x6f, 0x2f, 0x68, 0x65, 0x72,
0x6f, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x13, 0x44, 0x42,
0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 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, 0x1d, 0x0a, 0x05, 0x66,
0x6f, 0x72, 0x6d, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x07, 0x2e, 0x44, 0x42, 0x48,
0x65, 0x72, 0x6f, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x6d, 0x74, 0x22, 0xd5, 0x01, 0x0a, 0x0b, 0x41,
0x72, 0x65, 0x6e, 0x61, 0x50, 0x6c, 0x61, 0x79, 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, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x64,
0x61, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x49, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x12,
0x0a, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61,
0x6e, 0x6b, 0x12, 0x2c, 0x0a, 0x06, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42, 0x61, 0x74,
0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x06, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64,
0x12, 0x12, 0x0a, 0x04, 0x69, 0x73, 0x61, 0x69, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
0x69, 0x73, 0x61, 0x69, 0x12, 0x1c, 0x0a, 0x09, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69,
0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6d, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74,
0x69, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x13, 0x44, 0x42, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x42, 0x61,
0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x69,
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04,
0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65,
0x12, 0x14, 0x0a, 0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
0x05, 0x69, 0x73, 0x77, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x73, 0x64, 0x65, 0x66, 0x65,
0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x64, 0x65, 0x66, 0x65,
0x6e, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x05, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x12, 0x1c, 0x0a, 0x09,
0x72, 0x69, 0x76, 0x61, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x87, 0x03, 0x0a, 0x0b, 0x44,
0x42, 0x41, 0x72, 0x65, 0x6e, 0x61, 0x55, 0x73, 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, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01,
0x28, 0x05, 0x52, 0x08, 0x69, 0x6e, 0x74, 0x65, 0x67, 0x72, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06,
0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x69,
0x63, 0x6b, 0x65, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x61, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28,
0x05, 0x52, 0x03, 0x64, 0x61, 0x6e, 0x12, 0x2c, 0x0a, 0x06, 0x61, 0x74, 0x74, 0x61, 0x63, 0x6b,
0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x61, 0x79, 0x65,
0x72, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x06, 0x61, 0x74,
0x74, 0x61, 0x63, 0x6b, 0x12, 0x2c, 0x0a, 0x06, 0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x18, 0x07,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x42,
0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x74, 0x52, 0x06, 0x64, 0x65, 0x66, 0x65,
0x6e, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6b, 0x18, 0x08, 0x20, 0x01,
0x28, 0x05, 0x52, 0x06, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x74,
0x74, 0x61, 0x63, 0x6b, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
0x61, 0x74, 0x74, 0x61, 0x63, 0x6b, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65,
0x66, 0x65, 0x6e, 0x64, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a,
0x64, 0x65, 0x66, 0x65, 0x6e, 0x64, 0x72, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61,
0x6e, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x72, 0x61, 0x6e, 0x6b, 0x12, 0x16,
0x0a, 0x06, 0x62, 0x75, 0x79, 0x6e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
0x62, 0x75, 0x79, 0x6e, 0x75, 0x6d, 0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x42, 0x41, 0x72, 0x65, 0x6e, 0x61,
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x06, 0x72, 0x65,
0x63, 0x6f, 0x72, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var (
file_arena_arena_db_proto_rawDescOnce sync.Once
file_arena_arena_db_proto_rawDescData = file_arena_arena_db_proto_rawDesc
)
func file_arena_arena_db_proto_rawDescGZIP() []byte {
file_arena_arena_db_proto_rawDescOnce.Do(func() {
file_arena_arena_db_proto_rawDescData = protoimpl.X.CompressGZIP(file_arena_arena_db_proto_rawDescData)
})
return file_arena_arena_db_proto_rawDescData
}
var file_arena_arena_db_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_arena_arena_db_proto_goTypes = []interface{}{
(*DBPlayerBattleFormt)(nil), // 0: DBPlayerBattleFormt
(*ArenaPlayer)(nil), // 1: ArenaPlayer
(*DBArenaBattleRecord)(nil), // 2: DBArenaBattleRecord
(*DBArenaUser)(nil), // 3: DBArenaUser
(*DBHero)(nil), // 4: DBHero
}
var file_arena_arena_db_proto_depIdxs = []int32{
4, // 0: DBPlayerBattleFormt.formt:type_name -> DBHero
0, // 1: ArenaPlayer.defend:type_name -> DBPlayerBattleFormt
0, // 2: DBArenaUser.attack:type_name -> DBPlayerBattleFormt
0, // 3: DBArenaUser.defend:type_name -> DBPlayerBattleFormt
2, // 4: DBArenaUser.record:type_name -> DBArenaBattleRecord
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_arena_arena_db_proto_init() }
func file_arena_arena_db_proto_init() {
if File_arena_arena_db_proto != nil {
return
}
file_hero_hero_db_proto_init()
if !protoimpl.UnsafeEnabled {
file_arena_arena_db_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBPlayerBattleFormt); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_arena_arena_db_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArenaPlayer); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_arena_arena_db_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBArenaBattleRecord); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_arena_arena_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DBArenaUser); 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_arena_arena_db_proto_rawDesc,
NumEnums: 0,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_arena_arena_db_proto_goTypes,
DependencyIndexes: file_arena_arena_db_proto_depIdxs,
MessageInfos: file_arena_arena_db_proto_msgTypes,
}.Build()
File_arena_arena_db_proto = out.File
file_arena_arena_db_proto_rawDesc = nil
file_arena_arena_db_proto_goTypes = nil
file_arena_arena_db_proto_depIdxs = nil
}