1178 lines
37 KiB
Go
1178 lines
37 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
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //关卡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) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//关卡进入请求
|
|
type CombatInResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level *DBCombatLevel `protobuf:"bytes,1,opt,name=level,proto3" json:"level"` //管卡信息
|
|
}
|
|
|
|
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) GetLevel() *DBCombatLevel {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//询问关卡进度
|
|
type CombatAskReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //关卡id
|
|
}
|
|
|
|
func (x *CombatAskReq) Reset() {
|
|
*x = CombatAskReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatAskReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatAskReq) ProtoMessage() {}
|
|
|
|
func (x *CombatAskReq) 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 CombatAskReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatAskReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *CombatAskReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type CombatAskResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level *LevelProgressItem `protobuf:"bytes,1,opt,name=level,proto3" json:"level"` //关卡id
|
|
}
|
|
|
|
func (x *CombatAskResp) Reset() {
|
|
*x = CombatAskResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatAskResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatAskResp) ProtoMessage() {}
|
|
|
|
func (x *CombatAskResp) 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 CombatAskResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatAskResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CombatAskResp) GetLevel() *LevelProgressItem {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CombatUpdateLevelReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` //坐标
|
|
}
|
|
|
|
func (x *CombatUpdateLevelReq) Reset() {
|
|
*x = CombatUpdateLevelReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatUpdateLevelReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatUpdateLevelReq) ProtoMessage() {}
|
|
|
|
func (x *CombatUpdateLevelReq) 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 CombatUpdateLevelReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatUpdateLevelReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *CombatUpdateLevelReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatUpdateLevelReq) GetData() map[string]string {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CombatUpdateLevelResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
}
|
|
|
|
func (x *CombatUpdateLevelResp) Reset() {
|
|
*x = CombatUpdateLevelResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatUpdateLevelResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatUpdateLevelResp) ProtoMessage() {}
|
|
|
|
func (x *CombatUpdateLevelResp) 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 CombatUpdateLevelResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatUpdateLevelResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *CombatUpdateLevelResp) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
//战斗请求
|
|
type CombatChallengeReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"` //怪物id
|
|
Battle *BattleFormation `protobuf:"bytes,3,opt,name=battle,proto3" json:"battle"` //布阵信息
|
|
}
|
|
|
|
func (x *CombatChallengeReq) Reset() {
|
|
*x = CombatChallengeReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[6]
|
|
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[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 CombatChallengeReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CombatChallengeReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
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[7]
|
|
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[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 CombatChallengeResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CombatChallengeResp) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"`
|
|
Report *BattleReport `protobuf:"bytes,3,opt,name=report,proto3" json:"report"` //战报
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveReq) Reset() {
|
|
*x = CombatChallengeReceiveReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[8]
|
|
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[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 CombatChallengeReceiveReq.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeReceiveReq) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
Manster int32 `protobuf:"varint,2,opt,name=manster,proto3" json:"manster"`
|
|
Atns []*UserAssets `protobuf:"bytes,3,rep,name=atns,proto3" json:"atns"` //获取物品
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) Reset() {
|
|
*x = CombatChallengeReceiveResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[9]
|
|
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[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 CombatChallengeReceiveResp.ProtoReflect.Descriptor instead.
|
|
func (*CombatChallengeReceiveResp) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) GetManster() int32 {
|
|
if x != nil {
|
|
return x.Manster
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatChallengeReceiveResp) GetAtns() []*UserAssets {
|
|
if x != nil {
|
|
return x.Atns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//宝箱获取请求
|
|
type CombatDropReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
Drop int32 `protobuf:"varint,2,opt,name=drop,proto3" json:"drop"` //宝箱id
|
|
}
|
|
|
|
func (x *CombatDropReq) Reset() {
|
|
*x = CombatDropReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[10]
|
|
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[10]
|
|
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{10}
|
|
}
|
|
|
|
func (x *CombatDropReq) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
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
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
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[11]
|
|
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[11]
|
|
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{11}
|
|
}
|
|
|
|
func (x *CombatDropResp) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CombatDropResp) GetAtns() []*UserAssets {
|
|
if x != nil {
|
|
return x.Atns
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//管卡进度对象
|
|
type LevelProgressItem struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Level int32 `protobuf:"varint,1,opt,name=level,proto3" json:"level"` //管卡id
|
|
Passmaintask []*ConIProgress `protobuf:"bytes,2,rep,name=passmaintask,proto3" json:"passmaintask"` //主线任务进度
|
|
Passpertask []*ConIProgress `protobuf:"bytes,3,rep,name=passpertask,proto3" json:"passpertask"` //副任务完成进度
|
|
Progress int32 `protobuf:"varint,4,opt,name=Progress,proto3" json:"Progress"` //累计进度
|
|
Pass int32 `protobuf:"varint,5,opt,name=pass,proto3" json:"pass"` //通关状态 0未通关 1已通关 2完美通关
|
|
Mainaward []*UserAssets `protobuf:"bytes,6,rep,name=mainaward,proto3" json:"mainaward"` //主奖励
|
|
Peraward []*UserAssets `protobuf:"bytes,7,rep,name=peraward,proto3" json:"peraward"` //完美奖励
|
|
}
|
|
|
|
func (x *LevelProgressItem) Reset() {
|
|
*x = LevelProgressItem{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LevelProgressItem) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LevelProgressItem) ProtoMessage() {}
|
|
|
|
func (x *LevelProgressItem) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[12]
|
|
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 LevelProgressItem.ProtoReflect.Descriptor instead.
|
|
func (*LevelProgressItem) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetLevel() int32 {
|
|
if x != nil {
|
|
return x.Level
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetPassmaintask() []*ConIProgress {
|
|
if x != nil {
|
|
return x.Passmaintask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetPasspertask() []*ConIProgress {
|
|
if x != nil {
|
|
return x.Passpertask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetProgress() int32 {
|
|
if x != nil {
|
|
return x.Progress
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetPass() int32 {
|
|
if x != nil {
|
|
return x.Pass
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetMainaward() []*UserAssets {
|
|
if x != nil {
|
|
return x.Mainaward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LevelProgressItem) GetPeraward() []*UserAssets {
|
|
if x != nil {
|
|
return x.Peraward
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//管卡通关任务进度推送
|
|
type CombatProgressPush struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Levels []*LevelProgressItem `protobuf:"bytes,1,rep,name=levels,proto3" json:"levels"`
|
|
}
|
|
|
|
func (x *CombatProgressPush) Reset() {
|
|
*x = CombatProgressPush{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CombatProgressPush) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CombatProgressPush) ProtoMessage() {}
|
|
|
|
func (x *CombatProgressPush) ProtoReflect() protoreflect.Message {
|
|
mi := &file_combat_combat_msg_proto_msgTypes[13]
|
|
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 CombatProgressPush.ProtoReflect.Descriptor instead.
|
|
func (*CombatProgressPush) Descriptor() ([]byte, []int) {
|
|
return file_combat_combat_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *CombatProgressPush) GetLevels() []*LevelProgressItem {
|
|
if x != nil {
|
|
return x.Levels
|
|
}
|
|
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, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x63, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x2f, 0x63, 0x6f,
|
|
0x6d, 0x62, 0x61, 0x74, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x62,
|
|
0x75, 0x72, 0x69, 0x65, 0x64, 0x2f, 0x62, 0x75, 0x72, 0x69, 0x65, 0x64, 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, 0x22, 0x23,
|
|
0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a,
|
|
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65,
|
|
0x76, 0x65, 0x6c, 0x22, 0x34, 0x0a, 0x0c, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x49, 0x6e, 0x52,
|
|
0x65, 0x73, 0x70, 0x12, 0x24, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x44, 0x42, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x4c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x24, 0x0a, 0x0c, 0x43, 0x6f, 0x6d,
|
|
0x62, 0x61, 0x74, 0x41, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22,
|
|
0x39, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x41, 0x73, 0x6b, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x28, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x12, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49,
|
|
0x74, 0x65, 0x6d, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x43,
|
|
0x6f, 0x6d, 0x62, 0x61, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c,
|
|
0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x33, 0x0a, 0x04, 0x64, 0x61, 0x74,
|
|
0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74,
|
|
0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x2e, 0x44,
|
|
0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x1a, 0x37,
|
|
0x0a, 0x09, 0x44, 0x61, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2d, 0x0a, 0x15, 0x43, 0x6f, 0x6d, 0x62, 0x61,
|
|
0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x6e, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74,
|
|
0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05,
|
|
0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76,
|
|
0x65, 0x6c, 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, 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, 0x22, 0x66, 0x0a, 0x13, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74,
|
|
0x43, 0x68, 0x61, 0x6c, 0x6c, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a,
|
|
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65,
|
|
0x76, 0x65, 0x6c, 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, 0x72,
|
|
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, 0x14, 0x0a, 0x05, 0x6c,
|
|
0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65,
|
|
0x6c, 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, 0x25, 0x0a, 0x06, 0x72,
|
|
0x65, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 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, 0x6d, 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, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 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, 0x61, 0x74, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
|
|
0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x04, 0x61, 0x74, 0x6e,
|
|
0x73, 0x22, 0x39, 0x0a, 0x0d, 0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52,
|
|
0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x72, 0x6f, 0x70,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x64, 0x72, 0x6f, 0x70, 0x22, 0x47, 0x0a, 0x0e,
|
|
0x43, 0x6f, 0x6d, 0x62, 0x61, 0x74, 0x44, 0x72, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x12, 0x14,
|
|
0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c,
|
|
0x65, 0x76, 0x65, 0x6c, 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, 0x22, 0x91, 0x02, 0x0a, 0x11, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50,
|
|
0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x6c,
|
|
0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65,
|
|
0x6c, 0x12, 0x31, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x73,
|
|
0x6b, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49, 0x50, 0x72,
|
|
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x6d, 0x61, 0x69, 0x6e,
|
|
0x74, 0x61, 0x73, 0x6b, 0x12, 0x2f, 0x0a, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65, 0x72, 0x74,
|
|
0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x6e, 0x49,
|
|
0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x70, 0x65,
|
|
0x72, 0x74, 0x61, 0x73, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
|
|
0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73,
|
|
0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x04, 0x70, 0x61, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61,
|
|
0x72, 0x64, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41,
|
|
0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x61, 0x77, 0x61, 0x72, 0x64,
|
|
0x12, 0x27, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x18, 0x07, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52,
|
|
0x08, 0x70, 0x65, 0x72, 0x61, 0x77, 0x61, 0x72, 0x64, 0x22, 0x40, 0x0a, 0x12, 0x43, 0x6f, 0x6d,
|
|
0x62, 0x61, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x50, 0x75, 0x73, 0x68, 0x12,
|
|
0x2a, 0x0a, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x12, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x49,
|
|
0x74, 0x65, 0x6d, 0x52, 0x06, 0x6c, 0x65, 0x76, 0x65, 0x6c, 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, 15)
|
|
var file_combat_combat_msg_proto_goTypes = []interface{}{
|
|
(*CombatInReq)(nil), // 0: CombatInReq
|
|
(*CombatInResp)(nil), // 1: CombatInResp
|
|
(*CombatAskReq)(nil), // 2: CombatAskReq
|
|
(*CombatAskResp)(nil), // 3: CombatAskResp
|
|
(*CombatUpdateLevelReq)(nil), // 4: CombatUpdateLevelReq
|
|
(*CombatUpdateLevelResp)(nil), // 5: CombatUpdateLevelResp
|
|
(*CombatChallengeReq)(nil), // 6: CombatChallengeReq
|
|
(*CombatChallengeResp)(nil), // 7: CombatChallengeResp
|
|
(*CombatChallengeReceiveReq)(nil), // 8: CombatChallengeReceiveReq
|
|
(*CombatChallengeReceiveResp)(nil), // 9: CombatChallengeReceiveResp
|
|
(*CombatDropReq)(nil), // 10: CombatDropReq
|
|
(*CombatDropResp)(nil), // 11: CombatDropResp
|
|
(*LevelProgressItem)(nil), // 12: LevelProgressItem
|
|
(*CombatProgressPush)(nil), // 13: CombatProgressPush
|
|
nil, // 14: CombatUpdateLevelReq.DataEntry
|
|
(*DBCombatLevel)(nil), // 15: DBCombatLevel
|
|
(*BattleFormation)(nil), // 16: BattleFormation
|
|
(*BattleInfo)(nil), // 17: BattleInfo
|
|
(*BattleReport)(nil), // 18: BattleReport
|
|
(*UserAssets)(nil), // 19: UserAssets
|
|
(*ConIProgress)(nil), // 20: ConIProgress
|
|
}
|
|
var file_combat_combat_msg_proto_depIdxs = []int32{
|
|
15, // 0: CombatInResp.level:type_name -> DBCombatLevel
|
|
12, // 1: CombatAskResp.level:type_name -> LevelProgressItem
|
|
14, // 2: CombatUpdateLevelReq.data:type_name -> CombatUpdateLevelReq.DataEntry
|
|
16, // 3: CombatChallengeReq.battle:type_name -> BattleFormation
|
|
17, // 4: CombatChallengeResp.info:type_name -> BattleInfo
|
|
18, // 5: CombatChallengeReceiveReq.report:type_name -> BattleReport
|
|
19, // 6: CombatChallengeReceiveResp.atns:type_name -> UserAssets
|
|
19, // 7: CombatDropResp.atns:type_name -> UserAssets
|
|
20, // 8: LevelProgressItem.passmaintask:type_name -> ConIProgress
|
|
20, // 9: LevelProgressItem.passpertask:type_name -> ConIProgress
|
|
19, // 10: LevelProgressItem.mainaward:type_name -> UserAssets
|
|
19, // 11: LevelProgressItem.peraward:type_name -> UserAssets
|
|
12, // 12: CombatProgressPush.levels:type_name -> LevelProgressItem
|
|
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_combat_combat_msg_proto_init() }
|
|
func file_combat_combat_msg_proto_init() {
|
|
if File_combat_combat_msg_proto != nil {
|
|
return
|
|
}
|
|
file_comm_proto_init()
|
|
file_combat_combat_db_proto_init()
|
|
file_buried_buried_db_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.(*CombatAskReq); 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.(*CombatAskResp); 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.(*CombatUpdateLevelReq); 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.(*CombatUpdateLevelResp); 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.(*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[7].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[8].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[9].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[10].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[11].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
|
|
}
|
|
}
|
|
file_combat_combat_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LevelProgressItem); 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[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CombatProgressPush); 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: 15,
|
|
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
|
|
}
|