1261 lines
39 KiB
Go
1261 lines
39 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 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[0]
|
|
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[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 ItemData.ProtoReflect.Descriptor instead.
|
|
func (*ItemData) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
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 Hero_StrengthenUplv_Req 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,rep,name=expCardID,proto3" json:"expCardID"` // 经验卡对象ID
|
|
Amount int32 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount"` // 消耗经验卡数量
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Req) Reset() {
|
|
*x = Hero_StrengthenUplv_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_StrengthenUplv_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_StrengthenUplv_Req) 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 Hero_StrengthenUplv_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_StrengthenUplv_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Req) GetExpCardID() []string {
|
|
if x != nil {
|
|
return x.ExpCardID
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Req) GetAmount() int32 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 卡牌升级返回
|
|
type Hero_StrengthenUplv_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Resp) Reset() {
|
|
*x = Hero_StrengthenUplv_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_StrengthenUplv_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_StrengthenUplv_Resp) 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 Hero_StrengthenUplv_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_StrengthenUplv_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUplv_Resp) GetHero() *DB_HeroData {
|
|
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[3]
|
|
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[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 CostCardData.ProtoReflect.Descriptor instead.
|
|
func (*CostCardData) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
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 Hero_StrengthenUpStar_Req struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
Items []*CostCardData `protobuf:"bytes,2,rep,name=items,proto3" json:"items"` // 消耗卡牌对象ID
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Req) Reset() {
|
|
*x = Hero_StrengthenUpStar_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_StrengthenUpStar_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_StrengthenUpStar_Req) 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 Hero_StrengthenUpStar_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_StrengthenUpStar_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Req) GetItems() []*CostCardData {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 卡牌升星返回
|
|
type Hero_StrengthenUpStar_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Resp) Reset() {
|
|
*x = Hero_StrengthenUpStar_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_StrengthenUpStar_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_StrengthenUpStar_Resp) 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 Hero_StrengthenUpStar_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_StrengthenUpStar_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpStar_Resp) GetHero() *DB_HeroData {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 卡牌技能升级
|
|
type Hero_StrengthenUpSkill_Req struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
SkillIndex int32 `protobuf:"varint,2,opt,name=skillIndex,proto3" json:"skillIndex"` // 英雄技能索引
|
|
Items *CostCardData `protobuf:"bytes,3,opt,name=items,proto3" json:"items"` // 消耗技能升级卡
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Req) Reset() {
|
|
*x = Hero_StrengthenUpSkill_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_StrengthenUpSkill_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Req) 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 Hero_StrengthenUpSkill_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_StrengthenUpSkill_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Req) GetSkillIndex() int32 {
|
|
if x != nil {
|
|
return x.SkillIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Req) GetItems() *CostCardData {
|
|
if x != nil {
|
|
return x.Items
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 卡牌技能升级返回
|
|
type Hero_StrengthenUpSkill_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Resp) Reset() {
|
|
*x = Hero_StrengthenUpSkill_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_StrengthenUpSkill_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Resp) 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 Hero_StrengthenUpSkill_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_StrengthenUpSkill_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *Hero_StrengthenUpSkill_Resp) GetHero() *DB_HeroData {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 共鸣英雄
|
|
type Hero_Gongming_Req 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 *Hero_Gongming_Req) Reset() {
|
|
*x = Hero_Gongming_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_Gongming_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_Gongming_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_Gongming_Req) 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 Hero_Gongming_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_Gongming_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *Hero_Gongming_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hero_Gongming_Req) GetCostObjID() string {
|
|
if x != nil {
|
|
return x.CostObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Hero_Gongming_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
Energy int32 `protobuf:"varint,2,opt,name=energy,proto3" json:"energy"` // 共鸣成功 获得的能量点数
|
|
UpStarCard *DB_HeroData `protobuf:"bytes,3,opt,name=upStarCard,proto3" json:"upStarCard"` //共鸣成功 获得的升星卡
|
|
}
|
|
|
|
func (x *Hero_Gongming_Resp) Reset() {
|
|
*x = Hero_Gongming_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_Gongming_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_Gongming_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_Gongming_Resp) 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 Hero_Gongming_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_Gongming_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *Hero_Gongming_Resp) GetHero() *DB_HeroData {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hero_Gongming_Resp) GetEnergy() int32 {
|
|
if x != nil {
|
|
return x.Energy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hero_Gongming_Resp) GetUpStarCard() *DB_HeroData {
|
|
if x != nil {
|
|
return x.UpStarCard
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 重置共鸣属性
|
|
type Hero_GongmingReset_Req struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
HeroObjID string `protobuf:"bytes,1,opt,name=heroObjID,proto3" json:"heroObjID"` // 英雄对象ID
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Req) Reset() {
|
|
*x = Hero_GongmingReset_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_GongmingReset_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_GongmingReset_Req) 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 Hero_GongmingReset_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_GongmingReset_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type Hero_GongmingReset_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
Energy int32 `protobuf:"varint,2,opt,name=energy,proto3" json:"energy"` // 能量点数
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Resp) Reset() {
|
|
*x = Hero_GongmingReset_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_GongmingReset_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_GongmingReset_Resp) 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 Hero_GongmingReset_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_GongmingReset_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Resp) GetHero() *DB_HeroData {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hero_GongmingReset_Resp) GetEnergy() int32 {
|
|
if x != nil {
|
|
return x.Energy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// 使用能量点数
|
|
type Hero_GongmingUseEnergy_Req 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 *Hero_GongmingUseEnergy_Req) Reset() {
|
|
*x = Hero_GongmingUseEnergy_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_GongmingUseEnergy_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Req) 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 Hero_GongmingUseEnergy_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_GongmingUseEnergy_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Req) GetUseEnergy() int32 {
|
|
if x != nil {
|
|
return x.UseEnergy
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Req) GetUseType() int32 {
|
|
if x != nil {
|
|
return x.UseType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Hero_GongmingUseEnergy_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Resp) Reset() {
|
|
*x = Hero_GongmingUseEnergy_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_GongmingUseEnergy_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Resp) 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 Hero_GongmingUseEnergy_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_GongmingUseEnergy_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *Hero_GongmingUseEnergy_Resp) GetHero() *DB_HeroData {
|
|
if x != nil {
|
|
return x.Hero
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 觉醒
|
|
type Hero_Juexing_Req 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 *Hero_Juexing_Req) Reset() {
|
|
*x = Hero_Juexing_Req{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_Juexing_Req) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_Juexing_Req) ProtoMessage() {}
|
|
|
|
func (x *Hero_Juexing_Req) 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 Hero_Juexing_Req.ProtoReflect.Descriptor instead.
|
|
func (*Hero_Juexing_Req) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *Hero_Juexing_Req) GetHeroObjID() string {
|
|
if x != nil {
|
|
return x.HeroObjID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Hero_Juexing_Req) GetCostItmes() *ItemData {
|
|
if x != nil {
|
|
return x.CostItmes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// 觉醒返回
|
|
type Hero_Juexing_Resp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Hero *DB_HeroData `protobuf:"bytes,1,opt,name=hero,proto3" json:"hero"` // 英雄对象
|
|
}
|
|
|
|
func (x *Hero_Juexing_Resp) Reset() {
|
|
*x = Hero_Juexing_Resp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_hero_hero_msg_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hero_Juexing_Resp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hero_Juexing_Resp) ProtoMessage() {}
|
|
|
|
func (x *Hero_Juexing_Resp) 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 Hero_Juexing_Resp.ProtoReflect.Descriptor instead.
|
|
func (*Hero_Juexing_Resp) Descriptor() ([]byte, []int) {
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *Hero_Juexing_Resp) GetHero() *DB_HeroData {
|
|
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, 0x1a, 0x12, 0x68, 0x65, 0x72, 0x6f, 0x2f, 0x68, 0x65, 0x72, 0x6f,
|
|
0x5f, 0x64, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x6d, 0x0a, 0x17, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x53, 0x74,
|
|
0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55, 0x70, 0x6c, 0x76, 0x5f, 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, 0x03, 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, 0x3c, 0x0a, 0x18, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x53, 0x74, 0x72,
|
|
0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55, 0x70, 0x6c, 0x76, 0x5f, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
|
|
0x2e, 0x44, 0x42, 0x5f, 0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74, 0x61, 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, 0x5e, 0x0a, 0x19,
|
|
0x48, 0x65, 0x72, 0x6f, 0x5f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55,
|
|
0x70, 0x53, 0x74, 0x61, 0x72, 0x5f, 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, 0x23, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x61, 0x72,
|
|
0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x3e, 0x0a, 0x1a,
|
|
0x48, 0x65, 0x72, 0x6f, 0x5f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55,
|
|
0x70, 0x53, 0x74, 0x61, 0x72, 0x5f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65,
|
|
0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x5f, 0x48, 0x65,
|
|
0x72, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x7f, 0x0a, 0x1a,
|
|
0x48, 0x65, 0x72, 0x6f, 0x5f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e, 0x55,
|
|
0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 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, 0x1e, 0x0a, 0x0a, 0x73, 0x6b, 0x69, 0x6c,
|
|
0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x6b,
|
|
0x69, 0x6c, 0x6c, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x23, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d,
|
|
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x43, 0x6f, 0x73, 0x74, 0x43, 0x61,
|
|
0x72, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x3f, 0x0a,
|
|
0x1b, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x65, 0x6e,
|
|
0x55, 0x70, 0x53, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04,
|
|
0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x5f,
|
|
0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22, 0x4f,
|
|
0x0a, 0x11, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x5f,
|
|
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,
|
|
0x7c, 0x0a, 0x12, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x5f, 0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74,
|
|
0x61, 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,
|
|
0x2c, 0x0a, 0x0a, 0x75, 0x70, 0x53, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42, 0x5f, 0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74,
|
|
0x61, 0x52, 0x0a, 0x75, 0x70, 0x53, 0x74, 0x61, 0x72, 0x43, 0x61, 0x72, 0x64, 0x22, 0x36, 0x0a,
|
|
0x16, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65,
|
|
0x73, 0x65, 0x74, 0x5f, 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, 0x53, 0x0a, 0x17, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x47, 0x6f,
|
|
0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c,
|
|
0x2e, 0x44, 0x42, 0x5f, 0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74, 0x61, 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, 0x72, 0x0a, 0x1a, 0x48, 0x65,
|
|
0x72, 0x6f, 0x5f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x55, 0x73, 0x65, 0x45, 0x6e,
|
|
0x65, 0x72, 0x67, 0x79, 0x5f, 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, 0x3f,
|
|
0x0a, 0x1b, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x47, 0x6f, 0x6e, 0x67, 0x6d, 0x69, 0x6e, 0x67, 0x55,
|
|
0x73, 0x65, 0x45, 0x6e, 0x65, 0x72, 0x67, 0x79, 0x5f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x20, 0x0a,
|
|
0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x44, 0x42,
|
|
0x5f, 0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x22,
|
|
0x59, 0x0a, 0x10, 0x48, 0x65, 0x72, 0x6f, 0x5f, 0x4a, 0x75, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x5f,
|
|
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, 0x27, 0x0a, 0x09, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x6d, 0x65, 0x73, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x49, 0x74, 0x65, 0x6d, 0x44, 0x61, 0x74, 0x61, 0x52,
|
|
0x09, 0x63, 0x6f, 0x73, 0x74, 0x49, 0x74, 0x6d, 0x65, 0x73, 0x22, 0x35, 0x0a, 0x11, 0x48, 0x65,
|
|
0x72, 0x6f, 0x5f, 0x4a, 0x75, 0x65, 0x78, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x70, 0x12,
|
|
0x20, 0x0a, 0x04, 0x68, 0x65, 0x72, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
|
|
0x44, 0x42, 0x5f, 0x48, 0x65, 0x72, 0x6f, 0x44, 0x61, 0x74, 0x61, 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, 16)
|
|
var file_hero_hero_msg_proto_goTypes = []interface{}{
|
|
(*ItemData)(nil), // 0: ItemData
|
|
(*Hero_StrengthenUplv_Req)(nil), // 1: Hero_StrengthenUplv_Req
|
|
(*Hero_StrengthenUplv_Resp)(nil), // 2: Hero_StrengthenUplv_Resp
|
|
(*CostCardData)(nil), // 3: CostCardData
|
|
(*Hero_StrengthenUpStar_Req)(nil), // 4: Hero_StrengthenUpStar_Req
|
|
(*Hero_StrengthenUpStar_Resp)(nil), // 5: Hero_StrengthenUpStar_Resp
|
|
(*Hero_StrengthenUpSkill_Req)(nil), // 6: Hero_StrengthenUpSkill_Req
|
|
(*Hero_StrengthenUpSkill_Resp)(nil), // 7: Hero_StrengthenUpSkill_Resp
|
|
(*Hero_Gongming_Req)(nil), // 8: Hero_Gongming_Req
|
|
(*Hero_Gongming_Resp)(nil), // 9: Hero_Gongming_Resp
|
|
(*Hero_GongmingReset_Req)(nil), // 10: Hero_GongmingReset_Req
|
|
(*Hero_GongmingReset_Resp)(nil), // 11: Hero_GongmingReset_Resp
|
|
(*Hero_GongmingUseEnergy_Req)(nil), // 12: Hero_GongmingUseEnergy_Req
|
|
(*Hero_GongmingUseEnergy_Resp)(nil), // 13: Hero_GongmingUseEnergy_Resp
|
|
(*Hero_Juexing_Req)(nil), // 14: Hero_Juexing_Req
|
|
(*Hero_Juexing_Resp)(nil), // 15: Hero_Juexing_Resp
|
|
(*DB_HeroData)(nil), // 16: DB_HeroData
|
|
}
|
|
var file_hero_hero_msg_proto_depIdxs = []int32{
|
|
16, // 0: Hero_StrengthenUplv_Resp.hero:type_name -> DB_HeroData
|
|
3, // 1: Hero_StrengthenUpStar_Req.items:type_name -> CostCardData
|
|
16, // 2: Hero_StrengthenUpStar_Resp.hero:type_name -> DB_HeroData
|
|
3, // 3: Hero_StrengthenUpSkill_Req.items:type_name -> CostCardData
|
|
16, // 4: Hero_StrengthenUpSkill_Resp.hero:type_name -> DB_HeroData
|
|
16, // 5: Hero_Gongming_Resp.hero:type_name -> DB_HeroData
|
|
16, // 6: Hero_Gongming_Resp.upStarCard:type_name -> DB_HeroData
|
|
16, // 7: Hero_GongmingReset_Resp.hero:type_name -> DB_HeroData
|
|
16, // 8: Hero_GongmingUseEnergy_Resp.hero:type_name -> DB_HeroData
|
|
0, // 9: Hero_Juexing_Req.costItmes:type_name -> ItemData
|
|
16, // 10: Hero_Juexing_Resp.hero:type_name -> DB_HeroData
|
|
11, // [11:11] is the sub-list for method output_type
|
|
11, // [11:11] is the sub-list for method input_type
|
|
11, // [11:11] is the sub-list for extension type_name
|
|
11, // [11:11] is the sub-list for extension extendee
|
|
0, // [0:11] 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.(*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[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Hero_StrengthenUplv_Req); 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.(*Hero_StrengthenUplv_Resp); 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.(*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[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Hero_StrengthenUpStar_Req); 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.(*Hero_StrengthenUpStar_Resp); 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.(*Hero_StrengthenUpSkill_Req); 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.(*Hero_StrengthenUpSkill_Resp); 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.(*Hero_Gongming_Req); 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.(*Hero_Gongming_Resp); 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.(*Hero_GongmingReset_Req); 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.(*Hero_GongmingReset_Resp); 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.(*Hero_GongmingUseEnergy_Req); 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.(*Hero_GongmingUseEnergy_Resp); 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.(*Hero_Juexing_Req); 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.(*Hero_Juexing_Resp); 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: 16,
|
|
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
|
|
}
|