785 lines
23 KiB
Go
785 lines
23 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: combat/combat_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 CombatInReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //关卡id
|
|
}
|
|
|
|
func (x *CombatInReq) Reset() {
|
|
*x = CombatInReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatInReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatInReq) ProtoMessage() {}
|
|
|
|
func (x *CombatInReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_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 CombatInReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatInReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CombatInReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//关卡进入请求
|
|
type CombatInResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //关卡id
|
|
}
|
|
|
|
func (x *CombatInResp) Reset() {
|
|
*x = CombatInResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatInResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatInResp) ProtoMessage() {}
|
|
|
|
func (x *CombatInResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_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 CombatInResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatInResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CombatInResp) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//关卡离开请求
|
|
type CombatOutReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //关卡id
|
|
}
|
|
|
|
func (x *CombatOutReq) Reset() {
|
|
*x = CombatOutReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatOutReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatOutReq) ProtoMessage() {}
|
|
|
|
func (x *CombatOutReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_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 CombatOutReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatOutReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CombatOutReq) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//关卡离开请求 回应
|
|
type CombatOutResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"` //关卡id
|
|
}
|
|
|
|
func (x *CombatOutResp) Reset() {
|
|
*x = CombatOutResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatOutResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatOutResp) ProtoMessage() {}
|
|
|
|
func (x *CombatOutResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_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 CombatOutResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatOutResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CombatOutResp) GetId() int32 {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//战斗请求
|
|
type CombatChallengeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Manster int32 `protobuf:"varint,1,opt,name=manster,proto3" json:"manster"` //怪物id
|
|
Battle *BattleFormation `protobuf:"bytes,2,opt,name=battle,proto3" json:"battle"` //布阵信息
|
|
}
|
|
|
|
func (x *CombatChallengeReq) Reset() {
|
|
*x = CombatChallengeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatChallengeReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatChallengeReq) ProtoMessage() {}
|
|
|
|
func (x *CombatChallengeReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_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 CombatChallengeReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CombatChallengeReq) GetManster() int32 {
|
|
if x != nil {
|
|
return x.Manster
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatChallengeReq) GetBattle() *BattleFormation {
|
|
if x != nil {
|
|
return x.Battle
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//战斗请求 回应
|
|
type CombatChallengeResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"`
|
|
Info *BattleInfo `protobuf:"bytes,3,opt,name=info,proto3" json:"info"`
|
|
}
|
|
|
|
func (x *CombatChallengeResp) Reset() {
|
|
*x = CombatChallengeResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatChallengeResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatChallengeResp) ProtoMessage() {}
|
|
|
|
func (x *CombatChallengeResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_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 CombatChallengeResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CombatChallengeResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *CombatChallengeResp) GetManster() int32 {
|
|
if x != nil {
|
|
return x.Manster
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatChallengeResp) GetInfo() *BattleInfo {
|
|
if x != nil {
|
|
return x.Info
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//战斗奖励领取
|
|
type CombatChallengeReceiveReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Manster int32 `protobuf:"varint,1,opt,name=manster,proto3" json:"manster"`
|
|
Report *BattleReport `protobuf:"bytes,2,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveReq) Reset() {
|
|
*x = CombatChallengeReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatChallengeReceiveReq) ProtoMessage() {}
|
|
|
|
func (x *CombatChallengeReceiveReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_msg_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 CombatChallengeReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveReq) GetManster() int32 {
|
|
if x != nil {
|
|
return x.Manster
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveReq) GetReport() *BattleReport {
|
|
if x != nil {
|
|
return x.Report
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//战斗奖励领取
|
|
type CombatChallengeReceiveResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Issucc bool `protobuf:"varint,1,opt,name=issucc,proto3" json:"issucc"`
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) Reset() {
|
|
*x = CombatChallengeReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatChallengeReceiveResp) ProtoMessage() {}
|
|
|
|
func (x *CombatChallengeReceiveResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[7]
|
|
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 CombatChallengeReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) GetIssucc() bool {
|
|
if x != nil {
|
|
return x.Issucc
|
|
}
|
|
return false
|
|
}
|
|
|
|
//宝箱获取请求
|
|
type CombatDropReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Drop int32 `protobuf:"varint,1,opt,name=drop,proto3" json:"drop"` //宝箱id
|
|
}
|
|
|
|
func (x *CombatDropReq) Reset() {
|
|
*x = CombatDropReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatDropReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatDropReq) ProtoMessage() {}
|
|
|
|
func (x *CombatDropReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[8]
|
|
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 CombatDropReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatDropReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CombatDropReq) GetDrop() int32 {
|
|
if x != nil {
|
|
return x.Drop
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//宝箱获取请求
|
|
type CombatDropResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Code ErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=ErrorCode" json:"code"` //是否成功
|
|
Atns []*UserAssets `protobuf:"bytes,2,rep,name=atns,proto3" json:"atns"` //获取物品
|
|
}
|
|
|
|
func (x *CombatDropResp) Reset() {
|
|
*x = CombatDropResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatDropResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatDropResp) ProtoMessage() {}
|
|
|
|
func (x *CombatDropResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[9]
|
|
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 CombatDropResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatDropResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *CombatDropResp) GetCode() ErrorCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return ErrorCode_Success
|
|
}
|
|
|
|
func (x *CombatDropResp) GetAtns() []*UserAssets {
|
|
if x != nil {
|
|
return x.Atns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_combat_combat_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_combat_combat_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x2f, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x5f,
|
|
0x6d, 0x73, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x65, 0x72, 0x72, 0x6f, 0x72,
|
|
0x63, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
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, 0x22,
|
|
0x1d, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1e,
|
|
0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1e,
|
|
0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x71, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x1f,
|
|
0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x4f, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22,
|
|
0x58, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e,
|
|
0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12,
|
|
0x28, 0x0a, 0x06, 0x62, 0x61, 0x74, 0x74, 0x6c, 0x65, 0x18, 0x02, 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, 0x22, 0x70, 0x0a, 0x13, 0x43, 0x6f, 0x6d,
|
|
0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a,
|
|
0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
|
|
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x04, 0x69, 0x6e,
|
|
0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x42, 0x61, 0x74, 0x74, 0x6c,
|
|
0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x5c, 0x0a, 0x19, 0x43,
|
|
0x6f, 0x6d, 0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65,
|
|
0x63, 0x65, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x6e, 0x73,
|
|
0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x6d, 0x61, 0x6e, 0x73, 0x74,
|
|
0x65, 0x72, 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, 0x34, 0x0a, 0x1a, 0x43, 0x6f, 0x6d,
|
|
0x62, 0x61, 0x74, 0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x63, 0x65,
|
|
0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63,
|
|
0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69, 0x73, 0x73, 0x75, 0x63, 0x63, 0x22,
|
|
0x23, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x71,
|
|
0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04,
|
|
0x64, 0x72, 0x6f, 0x70, 0x22, 0x51, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72,
|
|
0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x0a, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
|
|
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74,
|
|
0x73, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x73, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62,
|
|
0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_combat_combat_msg_proto_rawDescOnce sync.Once
|
|
file_combat_combat_msg_proto_rawDescData = file_combat_combat_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_combat_combat_msg_proto_rawDescGZIP() []byte {
|
|
file_combat_combat_msg_proto_rawDescOnce.Do(func() {
|
|
file_combat_combat_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_combat_combat_msg_proto_rawDescData)
|
|
})
|
|
return file_combat_combat_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_combat_combat_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_combat_combat_msg_proto_goTypes = []interface{}{
|
|
(*CombatInReq)(nil), // 0: CombatInReq
|
|
(*CombatInResp)(nil), // 1: CombatInResp
|
|
(*CombatOutReq)(nil), // 2: CombatOutReq
|
|
(*CombatOutResp)(nil), // 3: CombatOutResp
|
|
(*CombatChallengeReq)(nil), // 4: CombatChallengeReq
|
|
(*CombatChallengeResp)(nil), // 5: CombatChallengeResp
|
|
(*CombatChallengeReceiveReq)(nil), // 6: CombatChallengeReceiveReq
|
|
(*CombatChallengeReceiveResp)(nil), // 7: CombatChallengeReceiveResp
|
|
(*CombatDropReq)(nil), // 8: CombatDropReq
|
|
(*CombatDropResp)(nil), // 9: CombatDropResp
|
|
(*BattleFormation)(nil), // 10: BattleFormation
|
|
(ErrorCode)(0), // 11: ErrorCode
|
|
(*BattleInfo)(nil), // 12: BattleInfo
|
|
(*BattleReport)(nil), // 13: BattleReport
|
|
(*UserAssets)(nil), // 14: UserAssets
|
|
}
|
|
var file_combat_combat_msg_proto_depIdxs = []int32{
|
|
10, // 0: CombatChallengeReq.battle:type_name -> BattleFormation
|
|
11, // 1: CombatChallengeResp.code:type_name -> ErrorCode
|
|
12, // 2: CombatChallengeResp.info:type_name -> BattleInfo
|
|
13, // 3: CombatChallengeReceiveReq.report:type_name -> BattleReport
|
|
11, // 4: CombatDropResp.code:type_name -> ErrorCode
|
|
14, // 5: CombatDropResp.atns:type_name -> UserAssets
|
|
6, // [6:6] is the sub-list for method output_type
|
|
6, // [6:6] is the sub-list for method input_type
|
|
6, // [6:6] is the sub-list for extension type_name
|
|
6, // [6:6] is the sub-list for extension extendee
|
|
0, // [0:6] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_combat_combat_msg_proto_init() }
|
|
func file_combat_combat_msg_proto_init() {
|
|
if File_combat_combat_msg_proto != nil {
|
|
return
|
|
}
|
|
file_errorcode_proto_init()
|
|
file_comm_proto_init()
|
|
file_battle_battle_msg_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_combat_combat_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatInReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatInResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatOutReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatOutResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatChallengeReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatChallengeResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatChallengeReceiveReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatChallengeReceiveResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatDropReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatDropResp); 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_combat_combat_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_combat_combat_msg_proto_goTypes,
|
|
DependencyIndexes: file_combat_combat_msg_proto_depIdxs,
|
|
MessageInfos: file_combat_combat_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_combat_combat_msg_proto = out.File
|
|
file_combat_combat_msg_proto_rawDesc = nil
|
|
file_combat_combat_msg_proto_goTypes = nil
|
|
file_combat_combat_msg_proto_depIdxs = nil
|
|
}
|