1503 lines
46 KiB
Go
1503 lines
46 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.0
|
|
// protoc v3.20.0
|
|
// source: hero/hero_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 HeroInfoReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroId string `protobuf:"bytes,1,opt,name=heroId,proto3" json:"heroId"` //英雄唯一ID
|
|
}
|
|
|
|
func (x *HeroInfoReq) Reset() {
|
|
*x = HeroInfoReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroInfoReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroInfoReq) ProtoMessage() {}
|
|
|
|
func (x *HeroInfoReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroInfoReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroInfoReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *HeroInfoReq) GetHeroId() string {
|
|
if x != nil {
|
|
return x.HeroId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HeroInfoRsp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Base *DBHero `protobuf:"bytes,1,opt,name=base,proto3" json:"base"`
|
|
}
|
|
|
|
func (x *HeroInfoRsp) Reset() {
|
|
*x = HeroInfoRsp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroInfoRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroInfoRsp) ProtoMessage() {}
|
|
|
|
func (x *HeroInfoRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroInfoRsp.ProtoReflect.Descriptor instead.
|
|
func (*HeroInfoRsp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *HeroInfoRsp) GetBase() *DBHero {
|
|
if x != nil {
|
|
return x.Base
|
|
}
|
|
return nil
|
|
}
|
|
|
|
//英雄列表
|
|
type HeroListReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *HeroListReq) Reset() {
|
|
*x = HeroListReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroListReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroListReq) ProtoMessage() {}
|
|
|
|
func (x *HeroListReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroListReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroListReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type HeroListRsp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
List []*DBHero `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
|
|
}
|
|
|
|
func (x *HeroListRsp) Reset() {
|
|
*x = HeroListRsp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroListRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroListRsp) ProtoMessage() {}
|
|
|
|
func (x *HeroListRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroListRsp.ProtoReflect.Descriptor instead.
|
|
func (*HeroListRsp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *HeroListRsp) GetList() []*DBHero {
|
|
if x != nil {
|
|
return x.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ItemData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ItemId int32 `protobuf:"varint,2,opt,name=itemId,proto3" json:"itemId"` //物品Id
|
|
Amount int32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount"` //数量
|
|
}
|
|
|
|
func (x *ItemData) Reset() {
|
|
*x = ItemData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ItemData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ItemData) ProtoMessage() {}
|
|
|
|
func (x *ItemData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 ItemData.ProtoReflect.Descriptor instead.
|
|
func (*ItemData) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *ItemData) GetItemId() int32 {
|
|
if x != nil {
|
|
return x.ItemId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ItemData) GetAmount() int32 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 卡牌升级
|
|
type HeroStrengthenUplvReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
ExpCardID string `protobuf:"bytes,2,opt,name=expCardID,proto3" json:"expCardID"` // 经验卡对象ID
|
|
Amount int32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount"` // 消耗经验卡数量}
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvReq) Reset() {
|
|
*x = HeroStrengthenUplvReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroStrengthenUplvReq) ProtoMessage() {}
|
|
|
|
func (x *HeroStrengthenUplvReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroStrengthenUplvReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroStrengthenUplvReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvReq) GetExpCardID() string {
|
|
if x != nil {
|
|
return x.ExpCardID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvReq) GetAmount() int32 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 卡牌升级返回
|
|
type HeroStrengthenUplvResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvResp) Reset() {
|
|
*x = HeroStrengthenUplvResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroStrengthenUplvResp) ProtoMessage() {}
|
|
|
|
func (x *HeroStrengthenUplvResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroStrengthenUplvResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroStrengthenUplvResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *HeroStrengthenUplvResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CostCardData struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
CostCardObj string `protobuf:"bytes,1,opt,name=costCardObj,proto3" json:"costCardObj"` // 对象ID
|
|
Amount int32 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount"` // 数量
|
|
}
|
|
|
|
func (x *CostCardData) Reset() {
|
|
*x = CostCardData{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CostCardData) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CostCardData) ProtoMessage() {}
|
|
|
|
func (x *CostCardData) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 CostCardData.ProtoReflect.Descriptor instead.
|
|
func (*CostCardData) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CostCardData) GetCostCardObj() string {
|
|
if x != nil {
|
|
return x.CostCardObj
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CostCardData) GetAmount() int32 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 卡牌升星
|
|
type HeroStrengthenUpStarReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
Hero []*CostCardData `protobuf:"bytes,2,rep,name=hero,proto3" json:"hero"` // 消耗卡牌对象ID
|
|
HeroRace []*CostCardData `protobuf:"bytes,3,rep,name=heroRace,proto3" json:"heroRace"` // 消耗种族卡牌对象ID
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarReq) Reset() {
|
|
*x = HeroStrengthenUpStarReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroStrengthenUpStarReq) ProtoMessage() {}
|
|
|
|
func (x *HeroStrengthenUpStarReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroStrengthenUpStarReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroStrengthenUpStarReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarReq) GetHero() []*CostCardData {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarReq) GetHeroRace() []*CostCardData {
|
|
if x != nil {
|
|
return x.HeroRace
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 卡牌升星返回
|
|
type HeroStrengthenUpStarResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarResp) Reset() {
|
|
*x = HeroStrengthenUpStarResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroStrengthenUpStarResp) ProtoMessage() {}
|
|
|
|
func (x *HeroStrengthenUpStarResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroStrengthenUpStarResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroStrengthenUpStarResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpStarResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 卡牌技能升级
|
|
type HeroStrengthenUpSkillReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
CostCardObj string `protobuf:"bytes,2,opt,name=costCardObj,proto3" json:"costCardObj"` // 消耗技能升级卡
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillReq) Reset() {
|
|
*x = HeroStrengthenUpSkillReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroStrengthenUpSkillReq) ProtoMessage() {}
|
|
|
|
func (x *HeroStrengthenUpSkillReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroStrengthenUpSkillReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroStrengthenUpSkillReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillReq) GetCostCardObj() string {
|
|
if x != nil {
|
|
return x.CostCardObj
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// 卡牌技能升级返回
|
|
type HeroStrengthenUpSkillResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillResp) Reset() {
|
|
*x = HeroStrengthenUpSkillResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroStrengthenUpSkillResp) ProtoMessage() {}
|
|
|
|
func (x *HeroStrengthenUpSkillResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroStrengthenUpSkillResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroStrengthenUpSkillResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *HeroStrengthenUpSkillResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 共鸣英雄
|
|
type HeroGongmingReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
CostObjID string `protobuf:"bytes,2,opt,name=costObjID,proto3" json:"costObjID"` // 消耗对象
|
|
}
|
|
|
|
func (x *HeroGongmingReq) Reset() {
|
|
*x = HeroGongmingReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroGongmingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroGongmingReq) ProtoMessage() {}
|
|
|
|
func (x *HeroGongmingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroGongmingReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroGongmingReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *HeroGongmingReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroGongmingReq) GetCostObjID() string {
|
|
if x != nil {
|
|
return x.CostObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HeroGongmingResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
Energy int32 `protobuf:"varint,2,opt,name=energy,proto3" json:"energy"` // 共鸣成功 获得的能量点数
|
|
UpStarCard *DBHero `protobuf:"bytes,3,opt,name=upStarCard,proto3" json:"upStarCard"` //共鸣成功 获得的升星卡
|
|
}
|
|
|
|
func (x *HeroGongmingResp) Reset() {
|
|
*x = HeroGongmingResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroGongmingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroGongmingResp) ProtoMessage() {}
|
|
|
|
func (x *HeroGongmingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_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 HeroGongmingResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroGongmingResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *HeroGongmingResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeroGongmingResp) GetEnergy() int32 {
|
|
if x != nil {
|
|
return x.Energy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HeroGongmingResp) GetUpStarCard() *DBHero {
|
|
if x != nil {
|
|
return x.UpStarCard
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 重置共鸣属性
|
|
type HeroGongmingResetReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
}
|
|
|
|
func (x *HeroGongmingResetReq) Reset() {
|
|
*x = HeroGongmingResetReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroGongmingResetReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroGongmingResetReq) ProtoMessage() {}
|
|
|
|
func (x *HeroGongmingResetReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[14]
|
|
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 HeroGongmingResetReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroGongmingResetReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *HeroGongmingResetReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HeroGongmingResetResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
Energy int32 `protobuf:"varint,2,opt,name=energy,proto3" json:"energy"` // 能量点数
|
|
}
|
|
|
|
func (x *HeroGongmingResetResp) Reset() {
|
|
*x = HeroGongmingResetResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroGongmingResetResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroGongmingResetResp) ProtoMessage() {}
|
|
|
|
func (x *HeroGongmingResetResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[15]
|
|
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 HeroGongmingResetResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroGongmingResetResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *HeroGongmingResetResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HeroGongmingResetResp) GetEnergy() int32 {
|
|
if x != nil {
|
|
return x.Energy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 使用能量点数
|
|
type HeroGongmingUseEnergyReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
UseEnergy int32 `protobuf:"varint,2,opt,name=useEnergy,proto3" json:"useEnergy"` // 使用的能量点数
|
|
UseType int32 `protobuf:"varint,3,opt,name=useType,proto3" json:"useType"` // 使用的类型 (攻击、血量、防御)
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyReq) Reset() {
|
|
*x = HeroGongmingUseEnergyReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroGongmingUseEnergyReq) ProtoMessage() {}
|
|
|
|
func (x *HeroGongmingUseEnergyReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[16]
|
|
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 HeroGongmingUseEnergyReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroGongmingUseEnergyReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyReq) GetUseEnergy() int32 {
|
|
if x != nil {
|
|
return x.UseEnergy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyReq) GetUseType() int32 {
|
|
if x != nil {
|
|
return x.UseType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type HeroGongmingUseEnergyResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyResp) Reset() {
|
|
*x = HeroGongmingUseEnergyResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroGongmingUseEnergyResp) ProtoMessage() {}
|
|
|
|
func (x *HeroGongmingUseEnergyResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[17]
|
|
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 HeroGongmingUseEnergyResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroGongmingUseEnergyResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *HeroGongmingUseEnergyResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 觉醒
|
|
type HeroJuexingReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
CostItmes *ItemData `protobuf:"bytes,2,opt,name=costItmes,proto3" json:"costItmes"` // 觉醒消耗待定
|
|
}
|
|
|
|
func (x *HeroJuexingReq) Reset() {
|
|
*x = HeroJuexingReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroJuexingReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroJuexingReq) ProtoMessage() {}
|
|
|
|
func (x *HeroJuexingReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[18]
|
|
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 HeroJuexingReq.ProtoReflect.Descriptor instead.
|
|
func (*HeroJuexingReq) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *HeroJuexingReq) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HeroJuexingReq) GetCostItmes() *ItemData {
|
|
if x != nil {
|
|
return x.CostItmes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 觉醒返回
|
|
type HeroJuexingResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DBHero `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *HeroJuexingResp) Reset() {
|
|
*x = HeroJuexingResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HeroJuexingResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HeroJuexingResp) ProtoMessage() {}
|
|
|
|
func (x *HeroJuexingResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[19]
|
|
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 HeroJuexingResp.ProtoReflect.Descriptor instead.
|
|
func (*HeroJuexingResp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *HeroJuexingResp) GetHero() *DBHero {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_hero_hero_msg_proto protoreflect.FileDescriptor
|
|
|
|
var file_hero_hero_msg_proto_rawDesc = []byte{
|
|
0x0a, 0x13, 0x68, 0x65, 0x72, 0x6f, 0x2f, 0x68, 0x65, 0x72, 0x6f, 0x5f, 0x6d, 0x73, 0x67, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x12, 0x68, 0x65, 0x72, 0x6f, 0x2f,
|
|
0x68, 0x65, 0x72, 0x6f, 0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x25, 0x0a,
|
|
0x0b, 0x48, 0x65, 0x72, 0x6f, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06,
|
|
0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65,
|
|
0x72, 0x6f, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x62, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x62,
|
|
0x61, 0x73, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
|
0x65, 0x71, 0x22, 0x2d, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x73,
|
|
0x70, 0x12, 0x1e, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x6c, 0x69, 0x73,
|
|
0x74, 0x22, 0x3a, 0x0a, 0x08, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a,
|
|
0x06, 0x69, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x69,
|
|
0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x6b, 0x0a,
|
|
0x15, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55,
|
|
0x70, 0x6c, 0x76, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62,
|
|
0x6a, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f,
|
|
0x62, 0x6a, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x78, 0x70, 0x43, 0x61, 0x72, 0x64, 0x49,
|
|
0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78, 0x70, 0x43, 0x61, 0x72, 0x64,
|
|
0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38, 0x0a, 0x16, 0x48, 0x65,
|
|
0x72, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55, 0x70, 0x6c, 0x76,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04,
|
|
0x68, 0x65, 0x72, 0x6f, 0x22, 0x48, 0x0a, 0x0c, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x72, 0x64,
|
|
0x44, 0x61, 0x74, 0x61, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x72, 0x64,
|
|
0x4f, 0x62, 0x6a, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x43,
|
|
0x61, 0x72, 0x64, 0x4f, 0x62, 0x6a, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8b,
|
|
0x01, 0x0a, 0x17, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65,
|
|
0x6e, 0x55, 0x70, 0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65,
|
|
0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68,
|
|
0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x12, 0x24, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x73, 0x74,
|
|
0x43, 0x61, 0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x2c,
|
|
0x0a, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x52, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x10, 0x2e, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x72, 0x64, 0x44, 0x61,
|
|
0x74, 0x61, 0x52, 0x08, 0x68, 0x65, 0x72, 0x6f, 0x52, 0x61, 0x63, 0x65, 0x22, 0x3a, 0x0a, 0x18,
|
|
0x48, 0x65, 0x72, 0x6f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55, 0x70,
|
|
0x53, 0x74, 0x61, 0x72, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65,
|
|
0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x5a, 0x0a, 0x18, 0x48, 0x65, 0x72, 0x6f,
|
|
0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55, 0x70, 0x53, 0x6b, 0x69, 0x6c,
|
|
0x6c, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49,
|
|
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a,
|
|
0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x72, 0x64, 0x4f, 0x62,
|
|
0x6a, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x72,
|
|
0x64, 0x4f, 0x62, 0x6a, 0x22, 0x3b, 0x0a, 0x19, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x74, 0x72, 0x65,
|
|
0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x52, 0x65, 0x73,
|
|
0x70, 0x12, 0x1e, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72,
|
|
0x6f, 0x22, 0x4d, 0x0a, 0x0f, 0x48, 0x65, 0x72, 0x6f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e,
|
|
0x67, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49,
|
|
0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a,
|
|
0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x4f, 0x62, 0x6a, 0x49, 0x44,
|
|
0x22, 0x76, 0x0a, 0x10, 0x48, 0x65, 0x72, 0x6f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67,
|
|
0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04,
|
|
0x68, 0x65, 0x72, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x2a, 0x0a, 0x0a,
|
|
0x75, 0x70, 0x53, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x0a, 0x75, 0x70,
|
|
0x53, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x22, 0x34, 0x0a, 0x14, 0x48, 0x65, 0x72, 0x6f,
|
|
0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x65, 0x74, 0x52, 0x65, 0x71,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x22, 0x4f,
|
|
0x0a, 0x15, 0x48, 0x65, 0x72, 0x6f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
|
0x73, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72,
|
|
0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67,
|
|
0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x22,
|
|
0x70, 0x0a, 0x18, 0x48, 0x65, 0x72, 0x6f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x55,
|
|
0x73, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x71, 0x12, 0x1c, 0x0a, 0x09, 0x68,
|
|
0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
|
|
0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x73, 0x65,
|
|
0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x75, 0x73,
|
|
0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x54, 0x79,
|
|
0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x73, 0x65, 0x54, 0x79, 0x70,
|
|
0x65, 0x22, 0x3b, 0x0a, 0x19, 0x48, 0x65, 0x72, 0x6f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e,
|
|
0x67, 0x55, 0x73, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e,
|
|
0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70,
|
|
0x62, 0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x5a,
|
|
0x0a, 0x0e, 0x48, 0x65, 0x72, 0x6f, 0x4a, 0x75, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x72, 0x6f, 0x4f, 0x62, 0x6a, 0x49, 0x44, 0x12, 0x2a,
|
|
0x0a, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x62, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52,
|
|
0x09, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x6d, 0x65, 0x73, 0x22, 0x31, 0x0a, 0x0f, 0x48, 0x65,
|
|
0x72, 0x6f, 0x4a, 0x75, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a,
|
|
0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x70, 0x62,
|
|
0x2e, 0x44, 0x42, 0x48, 0x65, 0x72, 0x6f, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x42, 0x06, 0x5a,
|
|
0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_hero_hero_msg_proto_rawDescOnce sync.Once
|
|
file_hero_hero_msg_proto_rawDescData = file_hero_hero_msg_proto_rawDesc
|
|
)
|
|
|
|
func file_hero_hero_msg_proto_rawDescGZIP() []byte {
|
|
file_hero_hero_msg_proto_rawDescOnce.Do(func() {
|
|
file_hero_hero_msg_proto_rawDescData = protoimpl.X.CompressGZIP(file_hero_hero_msg_proto_rawDescData)
|
|
})
|
|
return file_hero_hero_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_hero_hero_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
|
var file_hero_hero_msg_proto_goTypes = []interface{}{
|
|
(*HeroInfoReq)(nil), // 0: pb.HeroInfoReq
|
|
(*HeroInfoRsp)(nil), // 1: pb.HeroInfoRsp
|
|
(*HeroListReq)(nil), // 2: pb.HeroListReq
|
|
(*HeroListRsp)(nil), // 3: pb.HeroListRsp
|
|
(*ItemData)(nil), // 4: pb.ItemData
|
|
(*HeroStrengthenUplvReq)(nil), // 5: pb.HeroStrengthenUplvReq
|
|
(*HeroStrengthenUplvResp)(nil), // 6: pb.HeroStrengthenUplvResp
|
|
(*CostCardData)(nil), // 7: pb.CostCardData
|
|
(*HeroStrengthenUpStarReq)(nil), // 8: pb.HeroStrengthenUpStarReq
|
|
(*HeroStrengthenUpStarResp)(nil), // 9: pb.HeroStrengthenUpStarResp
|
|
(*HeroStrengthenUpSkillReq)(nil), // 10: pb.HeroStrengthenUpSkillReq
|
|
(*HeroStrengthenUpSkillResp)(nil), // 11: pb.HeroStrengthenUpSkillResp
|
|
(*HeroGongmingReq)(nil), // 12: pb.HeroGongmingReq
|
|
(*HeroGongmingResp)(nil), // 13: pb.HeroGongmingResp
|
|
(*HeroGongmingResetReq)(nil), // 14: pb.HeroGongmingResetReq
|
|
(*HeroGongmingResetResp)(nil), // 15: pb.HeroGongmingResetResp
|
|
(*HeroGongmingUseEnergyReq)(nil), // 16: pb.HeroGongmingUseEnergyReq
|
|
(*HeroGongmingUseEnergyResp)(nil), // 17: pb.HeroGongmingUseEnergyResp
|
|
(*HeroJuexingReq)(nil), // 18: pb.HeroJuexingReq
|
|
(*HeroJuexingResp)(nil), // 19: pb.HeroJuexingResp
|
|
(*DBHero)(nil), // 20: pb.DBHero
|
|
}
|
|
var file_hero_hero_msg_proto_depIdxs = []int32{
|
|
20, // 0: pb.HeroInfoRsp.base:type_name -> pb.DBHero
|
|
20, // 1: pb.HeroListRsp.list:type_name -> pb.DBHero
|
|
20, // 2: pb.HeroStrengthenUplvResp.hero:type_name -> pb.DBHero
|
|
7, // 3: pb.HeroStrengthenUpStarReq.hero:type_name -> pb.CostCardData
|
|
7, // 4: pb.HeroStrengthenUpStarReq.heroRace:type_name -> pb.CostCardData
|
|
20, // 5: pb.HeroStrengthenUpStarResp.hero:type_name -> pb.DBHero
|
|
20, // 6: pb.HeroStrengthenUpSkillResp.hero:type_name -> pb.DBHero
|
|
20, // 7: pb.HeroGongmingResp.hero:type_name -> pb.DBHero
|
|
20, // 8: pb.HeroGongmingResp.upStarCard:type_name -> pb.DBHero
|
|
20, // 9: pb.HeroGongmingResetResp.hero:type_name -> pb.DBHero
|
|
20, // 10: pb.HeroGongmingUseEnergyResp.hero:type_name -> pb.DBHero
|
|
4, // 11: pb.HeroJuexingReq.costItmes:type_name -> pb.ItemData
|
|
20, // 12: pb.HeroJuexingResp.hero:type_name -> pb.DBHero
|
|
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_hero_hero_msg_proto_init() }
|
|
func file_hero_hero_msg_proto_init() {
|
|
if File_hero_hero_msg_proto != nil {
|
|
return
|
|
}
|
|
file_hero_hero_db_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_hero_hero_msg_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroInfoReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroInfoRsp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroListReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroListRsp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ItemData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroStrengthenUplvReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroStrengthenUplvResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CostCardData); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroStrengthenUpStarReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroStrengthenUpStarResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroStrengthenUpSkillReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroStrengthenUpSkillResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroGongmingReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroGongmingResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroGongmingResetReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroGongmingResetResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroGongmingUseEnergyReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroGongmingUseEnergyResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroJuexingReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_hero_hero_msg_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HeroJuexingResp); 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_hero_hero_msg_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 20,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_hero_hero_msg_proto_goTypes,
|
|
DependencyIndexes: file_hero_hero_msg_proto_depIdxs,
|
|
MessageInfos: file_hero_hero_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_hero_hero_msg_proto = out.File
|
|
file_hero_hero_msg_proto_rawDesc = nil
|
|
file_hero_hero_msg_proto_goTypes = nil
|
|
file_hero_hero_msg_proto_depIdxs = nil
|
|
}
|