|
|
|
@ -2184,6 +2184,54 @@ func (x *HeroBuyResp) GetTenbuy() int32 {
|
|
|
|
|
return 0
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 首次获得英雄
|
|
|
|
|
type HeroFirstGetPush struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
HeroId string `protobuf:"bytes,1,opt,name=heroId,proto3" json:"heroId"` //英雄id
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *HeroFirstGetPush) Reset() {
|
|
|
|
|
*x = HeroFirstGetPush{}
|
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
|
mi := &file_hero_hero_msg_proto_msgTypes[41]
|
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *HeroFirstGetPush) String() string {
|
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (*HeroFirstGetPush) ProtoMessage() {}
|
|
|
|
|
|
|
|
|
|
func (x *HeroFirstGetPush) ProtoReflect() protoreflect.Message {
|
|
|
|
|
mi := &file_hero_hero_msg_proto_msgTypes[41]
|
|
|
|
|
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 HeroFirstGetPush.ProtoReflect.Descriptor instead.
|
|
|
|
|
func (*HeroFirstGetPush) Descriptor() ([]byte, []int) {
|
|
|
|
|
return file_hero_hero_msg_proto_rawDescGZIP(), []int{41}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *HeroFirstGetPush) GetHeroId() string {
|
|
|
|
|
if x != nil {
|
|
|
|
|
return x.HeroId
|
|
|
|
|
}
|
|
|
|
|
return ""
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var File_hero_hero_msg_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
|
|
var file_hero_hero_msg_proto_rawDesc = []byte{
|
|
|
|
@ -2379,8 +2427,11 @@ var file_hero_hero_msg_proto_rawDesc = []byte{
|
|
|
|
|
0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x53, 0x75, 0x63, 0x63, 0x12,
|
|
|
|
|
0x16, 0x0a, 0x06, 0x6f, 0x6e, 0x65, 0x62, 0x75, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
|
|
|
0x06, 0x6f, 0x6e, 0x65, 0x62, 0x75, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x65, 0x6e, 0x62, 0x75,
|
|
|
|
|
0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x62, 0x75, 0x79, 0x42,
|
|
|
|
|
0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x74, 0x65, 0x6e, 0x62, 0x75, 0x79, 0x22,
|
|
|
|
|
0x2a, 0x0a, 0x10, 0x48, 0x65, 0x72, 0x6f, 0x46, 0x69, 0x72, 0x73, 0x74, 0x47, 0x65, 0x74, 0x50,
|
|
|
|
|
0x75, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x49, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
|
|
|
|
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var (
|
|
|
|
@ -2395,7 +2446,7 @@ func file_hero_hero_msg_proto_rawDescGZIP() []byte {
|
|
|
|
|
return file_hero_hero_msg_proto_rawDescData
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var file_hero_hero_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 44)
|
|
|
|
|
var file_hero_hero_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 45)
|
|
|
|
|
var file_hero_hero_msg_proto_goTypes = []interface{}{
|
|
|
|
|
(*HeroInfoReq)(nil), // 0: HeroInfoReq
|
|
|
|
|
(*HeroInfoResp)(nil), // 1: HeroInfoResp
|
|
|
|
@ -2438,36 +2489,37 @@ var file_hero_hero_msg_proto_goTypes = []interface{}{
|
|
|
|
|
(*HeroTalentResetResp)(nil), // 38: HeroTalentResetResp
|
|
|
|
|
(*HeroBuyReq)(nil), // 39: HeroBuyReq
|
|
|
|
|
(*HeroBuyResp)(nil), // 40: HeroBuyResp
|
|
|
|
|
nil, // 41: HeroPropertyPush.PropertyEntry
|
|
|
|
|
nil, // 42: HeroPropertyPush.AddPropertyEntry
|
|
|
|
|
nil, // 43: HeroFusionReq.HerosEntry
|
|
|
|
|
(*DBHero)(nil), // 44: DBHero
|
|
|
|
|
(*DBHeroTalent)(nil), // 45: DBHeroTalent
|
|
|
|
|
(*HeroFirstGetPush)(nil), // 41: HeroFirstGetPush
|
|
|
|
|
nil, // 42: HeroPropertyPush.PropertyEntry
|
|
|
|
|
nil, // 43: HeroPropertyPush.AddPropertyEntry
|
|
|
|
|
nil, // 44: HeroFusionReq.HerosEntry
|
|
|
|
|
(*DBHero)(nil), // 45: DBHero
|
|
|
|
|
(*DBHeroTalent)(nil), // 46: DBHeroTalent
|
|
|
|
|
}
|
|
|
|
|
var file_hero_hero_msg_proto_depIdxs = []int32{
|
|
|
|
|
44, // 0: HeroInfoResp.base:type_name -> DBHero
|
|
|
|
|
44, // 1: HeroListResp.list:type_name -> DBHero
|
|
|
|
|
45, // 0: HeroInfoResp.base:type_name -> DBHero
|
|
|
|
|
45, // 1: HeroListResp.list:type_name -> DBHero
|
|
|
|
|
4, // 2: HeroStrengthenUplvReq.expCards:type_name -> MapStringInt32
|
|
|
|
|
44, // 3: HeroStrengthenUplvResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 3: HeroStrengthenUplvResp.hero:type_name -> DBHero
|
|
|
|
|
7, // 4: HeroStrengthenUpStarReq.hero:type_name -> CostCardData
|
|
|
|
|
7, // 5: HeroStrengthenUpStarReq.heroRace:type_name -> CostCardData
|
|
|
|
|
44, // 6: HeroStrengthenUpStarResp.hero:type_name -> DBHero
|
|
|
|
|
44, // 7: HeroStrengthenUpSkillResp.hero:type_name -> DBHero
|
|
|
|
|
44, // 8: HeroResonanceResp.hero:type_name -> DBHero
|
|
|
|
|
44, // 9: HeroResonanceResp.upStarCard:type_name -> DBHero
|
|
|
|
|
44, // 10: HeroResonanceResetResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 6: HeroStrengthenUpStarResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 7: HeroStrengthenUpSkillResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 8: HeroResonanceResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 9: HeroResonanceResp.upStarCard:type_name -> DBHero
|
|
|
|
|
45, // 10: HeroResonanceResetResp.hero:type_name -> DBHero
|
|
|
|
|
16, // 11: HeroResonanceUseEnergyReq.energy:type_name -> EnergyData
|
|
|
|
|
44, // 12: HeroResonanceUseEnergyResp.hero:type_name -> DBHero
|
|
|
|
|
44, // 13: HeroAwakenResp.hero:type_name -> DBHero
|
|
|
|
|
41, // 14: HeroPropertyPush.property:type_name -> HeroPropertyPush.PropertyEntry
|
|
|
|
|
42, // 15: HeroPropertyPush.addProperty:type_name -> HeroPropertyPush.AddPropertyEntry
|
|
|
|
|
44, // 16: HeroLockResp.hero:type_name -> DBHero
|
|
|
|
|
44, // 17: HeroGetSpecifiedResp.hero:type_name -> DBHero
|
|
|
|
|
44, // 18: HeroChangePush.list:type_name -> DBHero
|
|
|
|
|
43, // 19: HeroFusionReq.heros:type_name -> HeroFusionReq.HerosEntry
|
|
|
|
|
45, // 20: HeroTalentListResp.telnet:type_name -> DBHeroTalent
|
|
|
|
|
45, // 21: HeroTalentLearnResp.telnet:type_name -> DBHeroTalent
|
|
|
|
|
45, // 22: HeroTalentResetResp.telnet:type_name -> DBHeroTalent
|
|
|
|
|
45, // 12: HeroResonanceUseEnergyResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 13: HeroAwakenResp.hero:type_name -> DBHero
|
|
|
|
|
42, // 14: HeroPropertyPush.property:type_name -> HeroPropertyPush.PropertyEntry
|
|
|
|
|
43, // 15: HeroPropertyPush.addProperty:type_name -> HeroPropertyPush.AddPropertyEntry
|
|
|
|
|
45, // 16: HeroLockResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 17: HeroGetSpecifiedResp.hero:type_name -> DBHero
|
|
|
|
|
45, // 18: HeroChangePush.list:type_name -> DBHero
|
|
|
|
|
44, // 19: HeroFusionReq.heros:type_name -> HeroFusionReq.HerosEntry
|
|
|
|
|
46, // 20: HeroTalentListResp.telnet:type_name -> DBHeroTalent
|
|
|
|
|
46, // 21: HeroTalentLearnResp.telnet:type_name -> DBHeroTalent
|
|
|
|
|
46, // 22: HeroTalentResetResp.telnet:type_name -> DBHeroTalent
|
|
|
|
|
23, // [23:23] is the sub-list for method output_type
|
|
|
|
|
23, // [23:23] is the sub-list for method input_type
|
|
|
|
|
23, // [23:23] is the sub-list for extension type_name
|
|
|
|
@ -2974,6 +3026,18 @@ func file_hero_hero_msg_proto_init() {
|
|
|
|
|
return nil
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
file_hero_hero_msg_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
|
|
|
|
|
switch v := v.(*HeroFirstGetPush); 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{
|
|
|
|
@ -2981,7 +3045,7 @@ func file_hero_hero_msg_proto_init() {
|
|
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
|
|
RawDescriptor: file_hero_hero_msg_proto_rawDesc,
|
|
|
|
|
NumEnums: 0,
|
|
|
|
|
NumMessages: 44,
|
|
|
|
|
NumMessages: 45,
|
|
|
|
|
NumExtensions: 0,
|
|
|
|
|
NumServices: 0,
|
|
|
|
|
},
|
|
|
|
|