583 lines
19 KiB
Go
583 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: auto/auto_msg.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 AutoBattleChallengeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BossId int32 `protobuf:"varint,1,opt,name=bossId,proto3" json:"bossId"` // boos 类型
|
|
Difficulty int32 `protobuf:"varint,2,opt,name=difficulty,proto3" json:"difficulty"` // 难度
|
|
Battle *BattleFormation `protobuf:"bytes,3,opt,name=battle,proto3" json:"battle"`
|
|
AutoWin bool `protobuf:"varint,4,opt,name=autoWin,proto3" json:"autoWin"` // 失败自动停止
|
|
MaxExp bool `protobuf:"varint,5,opt,name=maxExp,proto3" json:"maxExp"` //雄达到满级则停止连续战斗
|
|
AutoBuy bool `protobuf:"varint,6,opt,name=autoBuy,proto3" json:"autoBuy"` // 自动购买
|
|
AutoSell int32 `protobuf:"varint,7,opt,name=autoSell,proto3" json:"autoSell"` // 自动出售星级装备
|
|
Ptype PlayType `protobuf:"varint,8,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` // 类型
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) Reset() {
|
|
*x = AutoBattleChallengeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_auto_auto_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoBattleChallengeReq) ProtoMessage() {}
|
|
|
|
func (x *AutoBattleChallengeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_auto_auto_msg_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 AutoBattleChallengeReq.ProtoReflect.Descriptor instead.
|
|
func (*AutoBattleChallengeReq) Descriptor() ([]byte, []int) {
|
|
return file_auto_auto_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetBossId() int32 {
|
|
if x != nil {
|
|
return x.BossId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetDifficulty() int32 {
|
|
if x != nil {
|
|
return x.Difficulty
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetBattle() *BattleFormation {
|
|
if x != nil {
|
|
return x.Battle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetAutoWin() bool {
|
|
if x != nil {
|
|
return x.AutoWin
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetMaxExp() bool {
|
|
if x != nil {
|
|
return x.MaxExp
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetAutoBuy() bool {
|
|
if x != nil {
|
|
return x.AutoBuy
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetAutoSell() int32 {
|
|
if x != nil {
|
|
return x.AutoSell
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AutoBattleChallengeReq) GetPtype() PlayType {
|
|
if x != nil {
|
|
return x.Ptype
|
|
}
|
|
return PlayType_null
|
|
}
|
|
|
|
type AutoBattleChallengeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Info *BattleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *AutoBattleChallengeResp) Reset() {
|
|
*x = AutoBattleChallengeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_auto_auto_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AutoBattleChallengeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoBattleChallengeResp) ProtoMessage() {}
|
|
|
|
func (x *AutoBattleChallengeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_auto_auto_msg_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 AutoBattleChallengeResp.ProtoReflect.Descriptor instead.
|
|
func (*AutoBattleChallengeResp) Descriptor() ([]byte, []int) {
|
|
return file_auto_auto_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *AutoBattleChallengeResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AutoBattleOverReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` // 类型
|
|
Report *BattleReport `protobuf:"bytes,2,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *AutoBattleOverReq) Reset() {
|
|
*x = AutoBattleOverReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_auto_auto_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AutoBattleOverReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoBattleOverReq) ProtoMessage() {}
|
|
|
|
func (x *AutoBattleOverReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_auto_auto_msg_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 AutoBattleOverReq.ProtoReflect.Descriptor instead.
|
|
func (*AutoBattleOverReq) Descriptor() ([]byte, []int) {
|
|
return file_auto_auto_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *AutoBattleOverReq) GetPtype() PlayType {
|
|
if x != nil {
|
|
return x.Ptype
|
|
}
|
|
return PlayType_null
|
|
}
|
|
|
|
func (x *AutoBattleOverReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 客户端通知服务器打赢了
|
|
type AutoBattleOverResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Asset []*UserAtno `protobuf:"bytes,1,rep,name=asset,proto3" json:"asset"` // GameRe // 推送atn
|
|
Info *BattleInfo `protobuf:"bytes,2,opt,name=info,proto3" json:"info"`
|
|
Over bool `protobuf:"varint,3,opt,name=over,proto3" json:"over"` // 是否结束
|
|
}
|
|
|
|
func (x *AutoBattleOverResp) Reset() {
|
|
*x = AutoBattleOverResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_auto_auto_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AutoBattleOverResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoBattleOverResp) ProtoMessage() {}
|
|
|
|
func (x *AutoBattleOverResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_auto_auto_msg_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 AutoBattleOverResp.ProtoReflect.Descriptor instead.
|
|
func (*AutoBattleOverResp) Descriptor() ([]byte, []int) {
|
|
return file_auto_auto_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *AutoBattleOverResp) GetAsset() []*UserAtno {
|
|
if x != nil {
|
|
return x.Asset
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AutoBattleOverResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AutoBattleOverResp) GetOver() bool {
|
|
if x != nil {
|
|
return x.Over
|
|
}
|
|
return false
|
|
}
|
|
|
|
// 主动结束战斗
|
|
type AutoBattleStopReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` // 类型
|
|
}
|
|
|
|
func (x *AutoBattleStopReq) Reset() {
|
|
*x = AutoBattleStopReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_auto_auto_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AutoBattleStopReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoBattleStopReq) ProtoMessage() {}
|
|
|
|
func (x *AutoBattleStopReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_auto_auto_msg_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 AutoBattleStopReq.ProtoReflect.Descriptor instead.
|
|
func (*AutoBattleStopReq) Descriptor() ([]byte, []int) {
|
|
return file_auto_auto_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *AutoBattleStopReq) GetPtype() PlayType {
|
|
if x != nil {
|
|
return x.Ptype
|
|
}
|
|
return PlayType_null
|
|
}
|
|
|
|
// 客户端通知服务器打赢了
|
|
type AutoBattleStopResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Ptype PlayType `protobuf:"varint,1,opt,name=ptype,proto3,enum=PlayType" json:"ptype"` // 类型
|
|
}
|
|
|
|
func (x *AutoBattleStopResp) Reset() {
|
|
*x = AutoBattleStopResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_auto_auto_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AutoBattleStopResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AutoBattleStopResp) ProtoMessage() {}
|
|
|
|
func (x *AutoBattleStopResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_auto_auto_msg_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 AutoBattleStopResp.ProtoReflect.Descriptor instead.
|
|
func (*AutoBattleStopResp) Descriptor() ([]byte, []int) {
|
|
return file_auto_auto_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *AutoBattleStopResp) GetPtype() PlayType {
|
|
if x != nil {
|
|
return x.Ptype
|
|
}
|
|
return PlayType_null
|
|
}
|
|
|
|
var File_auto_auto_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_auto_auto_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x61, 0x75, 0x74, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x6d, 0x73, 0x67, 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, 0x1a, 0x17, 0x62,
|
|
0x61, 0x74, 0x74, 0x6c, 0x65, 0x2f, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x6d, 0x73, 0x67,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, 0x16, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a,
|
|
0x06, 0x62, 0x6f, 0x73, 0x73, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x62,
|
|
0x6f, 0x73, 0x73, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69, 0x63, 0x75,
|
|
0x6c, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x64, 0x69, 0x66, 0x66, 0x69,
|
|
0x63, 0x75, 0x6c, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x46, 0x6f,
|
|
0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x12,
|
|
0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x6f, 0x57, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x07, 0x61, 0x75, 0x74, 0x6f, 0x57, 0x69, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x78,
|
|
0x45, 0x78, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x45, 0x78,
|
|
0x70, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x75, 0x74, 0x6f, 0x42, 0x75, 0x79, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x07, 0x61, 0x75, 0x74, 0x6f, 0x42, 0x75, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x61,
|
|
0x75, 0x74, 0x6f, 0x53, 0x65, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x61,
|
|
0x75, 0x74, 0x6f, 0x53, 0x65, 0x6c, 0x6c, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65,
|
|
0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70,
|
|
0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x22, 0x3a, 0x0a, 0x17, 0x41, 0x75, 0x74, 0x6f,
|
|
0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04,
|
|
0x69, 0x6e, 0x66, 0x6f, 0x22, 0x5b, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74,
|
|
0x6c, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54,
|
|
0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x06, 0x72, 0x65,
|
|
0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x42, 0x61, 0x74,
|
|
0x74, 0x6c, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x06, 0x72, 0x65, 0x70, 0x6f, 0x72,
|
|
0x74, 0x22, 0x6a, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x4f,
|
|
0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x74, 0x6e,
|
|
0x6f, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x76, 0x65,
|
|
0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x6f, 0x76, 0x65, 0x72, 0x22, 0x34, 0x0a,
|
|
0x11, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x52,
|
|
0x65, 0x71, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74,
|
|
0x79, 0x70, 0x65, 0x22, 0x35, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x42, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1f, 0x0a, 0x05, 0x70, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x54,
|
|
0x79, 0x70, 0x65, 0x52, 0x05, 0x70, 0x74, 0x79, 0x70, 0x65, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b,
|
|
0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_auto_auto_msg_proto_rawDescOnce sync.Once
|
|
file_auto_auto_msg_proto_rawDescData = file_auto_auto_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_auto_auto_msg_proto_rawDescGZIP() []byte {
|
|
file_auto_auto_msg_proto_rawDescOnce.Do(func() {
|
|
file_auto_auto_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_auto_auto_msg_proto_rawDescData)
|
|
})
|
|
return file_auto_auto_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_auto_auto_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
|
var file_auto_auto_msg_proto_goTypes = []interface{}{
|
|
(*AutoBattleChallengeReq)(nil), // 0: AutoBattleChallengeReq
|
|
(*AutoBattleChallengeResp)(nil), // 1: AutoBattleChallengeResp
|
|
(*AutoBattleOverReq)(nil), // 2: AutoBattleOverReq
|
|
(*AutoBattleOverResp)(nil), // 3: AutoBattleOverResp
|
|
(*AutoBattleStopReq)(nil), // 4: AutoBattleStopReq
|
|
(*AutoBattleStopResp)(nil), // 5: AutoBattleStopResp
|
|
(*BattleFormation)(nil), // 6: BattleFormation
|
|
(PlayType)(0), // 7: PlayType
|
|
(*BattleInfo)(nil), // 8: BattleInfo
|
|
(*BattleReport)(nil), // 9: BattleReport
|
|
(*UserAtno)(nil), // 10: UserAtno
|
|
}
|
|
var file_auto_auto_msg_proto_depIdxs = []int32{
|
|
6, // 0: AutoBattleChallengeReq.battle:type_name -> BattleFormation
|
|
7, // 1: AutoBattleChallengeReq.ptype:type_name -> PlayType
|
|
8, // 2: AutoBattleChallengeResp.info:type_name -> BattleInfo
|
|
7, // 3: AutoBattleOverReq.ptype:type_name -> PlayType
|
|
9, // 4: AutoBattleOverReq.report:type_name -> BattleReport
|
|
10, // 5: AutoBattleOverResp.asset:type_name -> UserAtno
|
|
8, // 6: AutoBattleOverResp.info:type_name -> BattleInfo
|
|
7, // 7: AutoBattleStopReq.ptype:type_name -> PlayType
|
|
7, // 8: AutoBattleStopResp.ptype:type_name -> PlayType
|
|
9, // [9:9] is the sub-list for method output_type
|
|
9, // [9:9] is the sub-list for method input_type
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
0, // [0:9] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_auto_auto_msg_proto_init() }
|
|
func file_auto_auto_msg_proto_init() {
|
|
if File_auto_auto_msg_proto != nil {
|
|
return
|
|
}
|
|
file_battle_battle_db_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
file_comm_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_auto_auto_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AutoBattleChallengeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_auto_auto_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AutoBattleChallengeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_auto_auto_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AutoBattleOverReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_auto_auto_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AutoBattleOverResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_auto_auto_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AutoBattleStopReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_auto_auto_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AutoBattleStopResp); 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_auto_auto_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 6,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_auto_auto_msg_proto_goTypes,
|
|
DependencyIndexes: file_auto_auto_msg_proto_depIdxs,
|
|
MessageInfos: file_auto_auto_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_auto_auto_msg_proto = out.File
|
|
file_auto_auto_msg_proto_rawDesc = nil
|
|
file_auto_auto_msg_proto_goTypes = nil
|
|
file_auto_auto_msg_proto_depIdxs = nil
|
|
}
|