新手召唤协议
This commit is contained in:
parent
f58d36a4cf
commit
467f6042a2
@ -120,7 +120,7 @@
|
||||
"startPar": "",
|
||||
"parameter": "",
|
||||
"interface": "",
|
||||
"condition": "",
|
||||
"condition": "worldtaskexit_accept_20035",
|
||||
"followtj": "OpenHeroCard",
|
||||
"followguide": 1000202,
|
||||
"finger": [
|
||||
@ -1728,7 +1728,7 @@
|
||||
"interface": "",
|
||||
"condition": "",
|
||||
"followtj": "",
|
||||
"followguide": 1000917,
|
||||
"followguide": 0,
|
||||
"finger": [
|
||||
"EquipIntensifyView",
|
||||
"u_btn_intensift$"
|
||||
|
@ -3099,5 +3099,33 @@
|
||||
"key": "",
|
||||
"text": ""
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "sceneExit",
|
||||
"name": {
|
||||
"key": "opencond_opencond_name_111",
|
||||
"text": "指挥部退出按钮"
|
||||
},
|
||||
"main": [
|
||||
{
|
||||
"key": 3,
|
||||
"param": 20250
|
||||
}
|
||||
],
|
||||
"wkqbx": 2,
|
||||
"img": "",
|
||||
"prompt": {
|
||||
"key": "",
|
||||
"text": ""
|
||||
},
|
||||
"uiid": 0,
|
||||
"activateType": 0,
|
||||
"notify": [],
|
||||
"kqbx": 0,
|
||||
"kqbx_ui": "",
|
||||
"kqbx_text": {
|
||||
"key": "",
|
||||
"text": ""
|
||||
}
|
||||
}
|
||||
]
|
7466
bin/json/game_playerinfor_barrage.json
Normal file
7466
bin/json/game_playerinfor_barrage.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -466,7 +466,7 @@
|
||||
},
|
||||
{
|
||||
"id": 10030,
|
||||
"heroid": 24004,
|
||||
"heroid": 45001,
|
||||
"Levelid": 0,
|
||||
"datas": [
|
||||
"GameMain",
|
||||
|
@ -758,7 +758,7 @@
|
||||
},
|
||||
"npctxt": {
|
||||
"key": "worldtask_world_task_npctxt_17",
|
||||
"text": "准备战斗"
|
||||
"text": "询问希卡普详情"
|
||||
},
|
||||
"get_item": [],
|
||||
"trigger": 0,
|
||||
|
201
pb/hero_db.pb.go
201
pb/hero_db.pb.go
@ -593,6 +593,94 @@ func (x *DBHeroTalent) GetTalent() map[int32]int32 {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 指定召唤功能
|
||||
type DBSelectDraw struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID 主键id
|
||||
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid" bson:"uid"` //用户ID
|
||||
Count int32 `protobuf:"varint,3,opt,name=count,proto3" json:"count"` // 当前已经尝试的次数
|
||||
Cur []string `protobuf:"bytes,4,rep,name=cur,proto3" json:"cur"` // 当前结果
|
||||
Rst1 []string `protobuf:"bytes,5,rep,name=rst1,proto3" json:"rst1"` // 结果1
|
||||
Rst2 []string `protobuf:"bytes,6,rep,name=rst2,proto3" json:"rst2"` // 结果2
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) Reset() {
|
||||
*x = DBSelectDraw{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_db_proto_msgTypes[3]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*DBSelectDraw) ProtoMessage() {}
|
||||
|
||||
func (x *DBSelectDraw) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_hero_hero_db_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 DBSelectDraw.ProtoReflect.Descriptor instead.
|
||||
func (*DBSelectDraw) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_db_proto_rawDescGZIP(), []int{3}
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) GetId() string {
|
||||
if x != nil {
|
||||
return x.Id
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) GetUid() string {
|
||||
if x != nil {
|
||||
return x.Uid
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) GetCount() int32 {
|
||||
if x != nil {
|
||||
return x.Count
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) GetCur() []string {
|
||||
if x != nil {
|
||||
return x.Cur
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) GetRst1() []string {
|
||||
if x != nil {
|
||||
return x.Rst1
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *DBSelectDraw) GetRst2() []string {
|
||||
if x != nil {
|
||||
return x.Rst2
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_hero_hero_db_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_hero_hero_db_proto_rawDesc = []byte{
|
||||
@ -779,11 +867,19 @@ var file_hero_hero_db_proto_rawDesc = []byte{
|
||||
0x6c, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
|
||||
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
|
||||
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x2f, 0x0a, 0x08, 0x48, 0x65, 0x72, 0x6f, 0x54, 0x79, 0x70,
|
||||
0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x4e, 0x69, 0x6c,
|
||||
0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x65, 0x72, 0x6f, 0x54, 0x79, 0x70, 0x65, 0x4b, 0x6f,
|
||||
0x6e, 0x67, 0x46, 0x75, 0x10, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06,
|
||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x80, 0x01, 0x0a, 0x0c, 0x44, 0x42, 0x53, 0x65, 0x6c, 0x65,
|
||||
0x63, 0x74, 0x44, 0x72, 0x61, 0x77, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
||||
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e,
|
||||
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10,
|
||||
0x0a, 0x03, 0x63, 0x75, 0x72, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x63, 0x75, 0x72,
|
||||
0x12, 0x12, 0x0a, 0x04, 0x72, 0x73, 0x74, 0x31, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04,
|
||||
0x72, 0x73, 0x74, 0x31, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x73, 0x74, 0x32, 0x18, 0x06, 0x20, 0x03,
|
||||
0x28, 0x09, 0x52, 0x04, 0x72, 0x73, 0x74, 0x32, 0x2a, 0x2f, 0x0a, 0x08, 0x48, 0x65, 0x72, 0x6f,
|
||||
0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x48, 0x65, 0x72, 0x6f, 0x54, 0x79, 0x70, 0x65,
|
||||
0x4e, 0x69, 0x6c, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x65, 0x72, 0x6f, 0x54, 0x79, 0x70,
|
||||
0x65, 0x4b, 0x6f, 0x6e, 0x67, 0x46, 0x75, 0x10, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70,
|
||||
0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -799,54 +895,55 @@ func file_hero_hero_db_proto_rawDescGZIP() []byte {
|
||||
}
|
||||
|
||||
var file_hero_hero_db_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||
var file_hero_hero_db_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
|
||||
var file_hero_hero_db_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
|
||||
var file_hero_hero_db_proto_goTypes = []interface{}{
|
||||
(HeroType)(0), // 0: HeroType
|
||||
(*DBHero)(nil), // 1: DBHero
|
||||
(*DBHeroRecord)(nil), // 2: DBHeroRecord
|
||||
(*DBHeroTalent)(nil), // 3: DBHeroTalent
|
||||
nil, // 4: DBHero.PropertyEntry
|
||||
nil, // 5: DBHero.AddPropertyEntry
|
||||
nil, // 6: DBHero.JuexPropertyEntry
|
||||
nil, // 7: DBHero.TalentPropertyEntry
|
||||
nil, // 8: DBHero.HoroscopePropertyEntry
|
||||
nil, // 9: DBHero.FettersEntry
|
||||
nil, // 10: DBHeroRecord.ConditionEntry
|
||||
nil, // 11: DBHeroRecord.Star5HeroEntry
|
||||
nil, // 12: DBHeroRecord.RaceEntry
|
||||
nil, // 13: DBHeroRecord.Baodi4Entry
|
||||
nil, // 14: DBHeroRecord.Baodi5Entry
|
||||
nil, // 15: DBHeroRecord.CountEntry
|
||||
nil, // 16: DBHeroRecord.PeachEntry
|
||||
nil, // 17: DBHeroRecord.LimitEntry
|
||||
nil, // 18: DBHeroRecord.WishEntry
|
||||
nil, // 19: DBHeroTalent.TalentEntry
|
||||
(*SkillData)(nil), // 20: SkillData
|
||||
(*DB_EquipmentSuit)(nil), // 21: DB_EquipmentSuit
|
||||
(*DBSelectDraw)(nil), // 4: DBSelectDraw
|
||||
nil, // 5: DBHero.PropertyEntry
|
||||
nil, // 6: DBHero.AddPropertyEntry
|
||||
nil, // 7: DBHero.JuexPropertyEntry
|
||||
nil, // 8: DBHero.TalentPropertyEntry
|
||||
nil, // 9: DBHero.HoroscopePropertyEntry
|
||||
nil, // 10: DBHero.FettersEntry
|
||||
nil, // 11: DBHeroRecord.ConditionEntry
|
||||
nil, // 12: DBHeroRecord.Star5HeroEntry
|
||||
nil, // 13: DBHeroRecord.RaceEntry
|
||||
nil, // 14: DBHeroRecord.Baodi4Entry
|
||||
nil, // 15: DBHeroRecord.Baodi5Entry
|
||||
nil, // 16: DBHeroRecord.CountEntry
|
||||
nil, // 17: DBHeroRecord.PeachEntry
|
||||
nil, // 18: DBHeroRecord.LimitEntry
|
||||
nil, // 19: DBHeroRecord.WishEntry
|
||||
nil, // 20: DBHeroTalent.TalentEntry
|
||||
(*SkillData)(nil), // 21: SkillData
|
||||
(*DB_EquipmentSuit)(nil), // 22: DB_EquipmentSuit
|
||||
}
|
||||
var file_hero_hero_db_proto_depIdxs = []int32{
|
||||
20, // 0: DBHero.normalSkill:type_name -> SkillData
|
||||
4, // 1: DBHero.property:type_name -> DBHero.PropertyEntry
|
||||
5, // 2: DBHero.addProperty:type_name -> DBHero.AddPropertyEntry
|
||||
6, // 3: DBHero.juexProperty:type_name -> DBHero.JuexPropertyEntry
|
||||
21, // 0: DBHero.normalSkill:type_name -> SkillData
|
||||
5, // 1: DBHero.property:type_name -> DBHero.PropertyEntry
|
||||
6, // 2: DBHero.addProperty:type_name -> DBHero.AddPropertyEntry
|
||||
7, // 3: DBHero.juexProperty:type_name -> DBHero.JuexPropertyEntry
|
||||
0, // 4: DBHero.status:type_name -> HeroType
|
||||
21, // 5: DBHero.suits:type_name -> DB_EquipmentSuit
|
||||
7, // 6: DBHero.talentProperty:type_name -> DBHero.TalentPropertyEntry
|
||||
20, // 7: DBHero.equipSkill:type_name -> SkillData
|
||||
8, // 8: DBHero.horoscopeProperty:type_name -> DBHero.HoroscopePropertyEntry
|
||||
9, // 9: DBHero.fetters:type_name -> DBHero.FettersEntry
|
||||
20, // 10: DBHero.awakenskill:type_name -> SkillData
|
||||
20, // 11: DBHero.talentskill:type_name -> SkillData
|
||||
10, // 12: DBHeroRecord.condition:type_name -> DBHeroRecord.ConditionEntry
|
||||
11, // 13: DBHeroRecord.star5Hero:type_name -> DBHeroRecord.Star5HeroEntry
|
||||
12, // 14: DBHeroRecord.race:type_name -> DBHeroRecord.RaceEntry
|
||||
13, // 15: DBHeroRecord.baodi4:type_name -> DBHeroRecord.Baodi4Entry
|
||||
14, // 16: DBHeroRecord.baodi5:type_name -> DBHeroRecord.Baodi5Entry
|
||||
15, // 17: DBHeroRecord.count:type_name -> DBHeroRecord.CountEntry
|
||||
16, // 18: DBHeroRecord.peach:type_name -> DBHeroRecord.PeachEntry
|
||||
17, // 19: DBHeroRecord.limit:type_name -> DBHeroRecord.LimitEntry
|
||||
18, // 20: DBHeroRecord.wish:type_name -> DBHeroRecord.WishEntry
|
||||
19, // 21: DBHeroTalent.talent:type_name -> DBHeroTalent.TalentEntry
|
||||
22, // 5: DBHero.suits:type_name -> DB_EquipmentSuit
|
||||
8, // 6: DBHero.talentProperty:type_name -> DBHero.TalentPropertyEntry
|
||||
21, // 7: DBHero.equipSkill:type_name -> SkillData
|
||||
9, // 8: DBHero.horoscopeProperty:type_name -> DBHero.HoroscopePropertyEntry
|
||||
10, // 9: DBHero.fetters:type_name -> DBHero.FettersEntry
|
||||
21, // 10: DBHero.awakenskill:type_name -> SkillData
|
||||
21, // 11: DBHero.talentskill:type_name -> SkillData
|
||||
11, // 12: DBHeroRecord.condition:type_name -> DBHeroRecord.ConditionEntry
|
||||
12, // 13: DBHeroRecord.star5Hero:type_name -> DBHeroRecord.Star5HeroEntry
|
||||
13, // 14: DBHeroRecord.race:type_name -> DBHeroRecord.RaceEntry
|
||||
14, // 15: DBHeroRecord.baodi4:type_name -> DBHeroRecord.Baodi4Entry
|
||||
15, // 16: DBHeroRecord.baodi5:type_name -> DBHeroRecord.Baodi5Entry
|
||||
16, // 17: DBHeroRecord.count:type_name -> DBHeroRecord.CountEntry
|
||||
17, // 18: DBHeroRecord.peach:type_name -> DBHeroRecord.PeachEntry
|
||||
18, // 19: DBHeroRecord.limit:type_name -> DBHeroRecord.LimitEntry
|
||||
19, // 20: DBHeroRecord.wish:type_name -> DBHeroRecord.WishEntry
|
||||
20, // 21: DBHeroTalent.talent:type_name -> DBHeroTalent.TalentEntry
|
||||
22, // [22:22] is the sub-list for method output_type
|
||||
22, // [22:22] is the sub-list for method input_type
|
||||
22, // [22:22] is the sub-list for extension type_name
|
||||
@ -898,6 +995,18 @@ func file_hero_hero_db_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_hero_hero_db_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*DBSelectDraw); 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{
|
||||
@ -905,7 +1014,7 @@ func file_hero_hero_db_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_hero_hero_db_proto_rawDesc,
|
||||
NumEnums: 1,
|
||||
NumMessages: 19,
|
||||
NumMessages: 20,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
@ -2062,6 +2062,289 @@ func (x *HeroAppointHeroResp) GetHeroid() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// 选择抽卡协议
|
||||
type HeroSelectDrawReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
}
|
||||
|
||||
func (x *HeroSelectDrawReq) Reset() {
|
||||
*x = HeroSelectDrawReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[39]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *HeroSelectDrawReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HeroSelectDrawReq) ProtoMessage() {}
|
||||
|
||||
func (x *HeroSelectDrawReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[39]
|
||||
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 HeroSelectDrawReq.ProtoReflect.Descriptor instead.
|
||||
func (*HeroSelectDrawReq) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_msg_proto_rawDescGZIP(), []int{39}
|
||||
}
|
||||
|
||||
type HeroSelectDrawResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Data *DBSelectDraw `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` // 抽卡结果
|
||||
}
|
||||
|
||||
func (x *HeroSelectDrawResp) Reset() {
|
||||
*x = HeroSelectDrawResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[40]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *HeroSelectDrawResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HeroSelectDrawResp) ProtoMessage() {}
|
||||
|
||||
func (x *HeroSelectDrawResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[40]
|
||||
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 HeroSelectDrawResp.ProtoReflect.Descriptor instead.
|
||||
func (*HeroSelectDrawResp) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_msg_proto_rawDescGZIP(), []int{40}
|
||||
}
|
||||
|
||||
func (x *HeroSelectDrawResp) GetData() *DBSelectDraw {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type HeroSaveCardReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index"` // 保持结果 ( 1 存结果1. 1 存结果2)
|
||||
}
|
||||
|
||||
func (x *HeroSaveCardReq) Reset() {
|
||||
*x = HeroSaveCardReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[41]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *HeroSaveCardReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HeroSaveCardReq) ProtoMessage() {}
|
||||
|
||||
func (x *HeroSaveCardReq) 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 HeroSaveCardReq.ProtoReflect.Descriptor instead.
|
||||
func (*HeroSaveCardReq) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_msg_proto_rawDescGZIP(), []int{41}
|
||||
}
|
||||
|
||||
func (x *HeroSaveCardReq) GetIndex() int32 {
|
||||
if x != nil {
|
||||
return x.Index
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type HeroSaveCardResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Data *DBSelectDraw `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` // 抽卡结果
|
||||
}
|
||||
|
||||
func (x *HeroSaveCardResp) Reset() {
|
||||
*x = HeroSaveCardResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[42]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *HeroSaveCardResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HeroSaveCardResp) ProtoMessage() {}
|
||||
|
||||
func (x *HeroSaveCardResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[42]
|
||||
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 HeroSaveCardResp.ProtoReflect.Descriptor instead.
|
||||
func (*HeroSaveCardResp) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_msg_proto_rawDescGZIP(), []int{42}
|
||||
}
|
||||
|
||||
func (x *HeroSaveCardResp) GetData() *DBSelectDraw {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// 选择结果
|
||||
type HeroSelectCardReq struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index"` // 选择获得卡片组 (0 当前结果 1: 结果1 2:结果2)
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardReq) Reset() {
|
||||
*x = HeroSelectCardReq{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[43]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HeroSelectCardReq) ProtoMessage() {}
|
||||
|
||||
func (x *HeroSelectCardReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[43]
|
||||
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 HeroSelectCardReq.ProtoReflect.Descriptor instead.
|
||||
func (*HeroSelectCardReq) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_msg_proto_rawDescGZIP(), []int{43}
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardReq) GetIndex() int32 {
|
||||
if x != nil {
|
||||
return x.Index
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type HeroSelectCardResp struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
Data *DBSelectDraw `protobuf:"bytes,1,opt,name=data,proto3" json:"data"` // 抽卡结果
|
||||
Atno []*AtnoData `protobuf:"bytes,2,rep,name=atno,proto3" json:"atno"` // 奖励
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardResp) Reset() {
|
||||
*x = HeroSelectCardResp{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[44]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardResp) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*HeroSelectCardResp) ProtoMessage() {}
|
||||
|
||||
func (x *HeroSelectCardResp) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_hero_hero_msg_proto_msgTypes[44]
|
||||
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 HeroSelectCardResp.ProtoReflect.Descriptor instead.
|
||||
func (*HeroSelectCardResp) Descriptor() ([]byte, []int) {
|
||||
return file_hero_hero_msg_proto_rawDescGZIP(), []int{44}
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardResp) GetData() *DBSelectDraw {
|
||||
if x != nil {
|
||||
return x.Data
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (x *HeroSelectCardResp) GetAtno() []*AtnoData {
|
||||
if x != nil {
|
||||
return x.Atno
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_hero_hero_msg_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_hero_hero_msg_proto_rawDesc = []byte{
|
||||
@ -2264,8 +2547,27 @@ var file_hero_hero_msg_proto_rawDesc = []byte{
|
||||
0x65, 0x72, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x72, 0x61, 0x77, 0x54,
|
||||
0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x72, 0x61, 0x77, 0x54,
|
||||
0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e,
|
||||
0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
0x01, 0x28, 0x09, 0x52, 0x06, 0x68, 0x65, 0x72, 0x6f, 0x69, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x48,
|
||||
0x65, 0x72, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x72, 0x61, 0x77, 0x52, 0x65, 0x71,
|
||||
0x22, 0x37, 0x0a, 0x12, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44, 0x72,
|
||||
0x61, 0x77, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44,
|
||||
0x72, 0x61, 0x77, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x27, 0x0a, 0x0f, 0x48, 0x65, 0x72,
|
||||
0x6f, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05,
|
||||
0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64,
|
||||
0x65, 0x78, 0x22, 0x35, 0x0a, 0x10, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x61, 0x76, 0x65, 0x43, 0x61,
|
||||
0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x44,
|
||||
0x72, 0x61, 0x77, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x29, 0x0a, 0x11, 0x48, 0x65, 0x72,
|
||||
0x6f, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x12, 0x14,
|
||||
0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x69,
|
||||
0x6e, 0x64, 0x65, 0x78, 0x22, 0x56, 0x0a, 0x12, 0x48, 0x65, 0x72, 0x6f, 0x53, 0x65, 0x6c, 0x65,
|
||||
0x63, 0x74, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x21, 0x0a, 0x04, 0x64, 0x61,
|
||||
0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x44, 0x42, 0x53, 0x65, 0x6c,
|
||||
0x65, 0x63, 0x74, 0x44, 0x72, 0x61, 0x77, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a,
|
||||
0x04, 0x61, 0x74, 0x6e, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x41, 0x74,
|
||||
0x6e, 0x6f, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x61, 0x74, 0x6e, 0x6f, 0x42, 0x06, 0x5a, 0x04,
|
||||
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
|
||||
var (
|
||||
@ -2280,7 +2582,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, 46)
|
||||
var file_hero_hero_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 52)
|
||||
var file_hero_hero_msg_proto_goTypes = []interface{}{
|
||||
(*HeroInfoReq)(nil), // 0: HeroInfoReq
|
||||
(*HeroInfoResp)(nil), // 1: HeroInfoResp
|
||||
@ -2321,49 +2623,60 @@ var file_hero_hero_msg_proto_goTypes = []interface{}{
|
||||
(*HeroPeachRewardResp)(nil), // 36: HeroPeachRewardResp
|
||||
(*HeroAppointHeroReq)(nil), // 37: HeroAppointHeroReq
|
||||
(*HeroAppointHeroResp)(nil), // 38: HeroAppointHeroResp
|
||||
nil, // 39: HeroStrengthenUplvReq.ItemEntry
|
||||
nil, // 40: HeroStrengthenUpSkillReq.ItemEntry
|
||||
nil, // 41: HeroPropertyPush.PropertyEntry
|
||||
nil, // 42: HeroPropertyPush.AddPropertyEntry
|
||||
nil, // 43: HeroDrawCardResp.FirstGetEntry
|
||||
nil, // 44: HeroFusionReq.HerosEntry
|
||||
nil, // 45: HeroPeachRewardResp.PeachEntry
|
||||
(*DBHero)(nil), // 46: DBHero
|
||||
(*UserAtno)(nil), // 47: UserAtno
|
||||
(*DBHeroRecord)(nil), // 48: DBHeroRecord
|
||||
(*DBHeroTalent)(nil), // 49: DBHeroTalent
|
||||
(*HeroSelectDrawReq)(nil), // 39: HeroSelectDrawReq
|
||||
(*HeroSelectDrawResp)(nil), // 40: HeroSelectDrawResp
|
||||
(*HeroSaveCardReq)(nil), // 41: HeroSaveCardReq
|
||||
(*HeroSaveCardResp)(nil), // 42: HeroSaveCardResp
|
||||
(*HeroSelectCardReq)(nil), // 43: HeroSelectCardReq
|
||||
(*HeroSelectCardResp)(nil), // 44: HeroSelectCardResp
|
||||
nil, // 45: HeroStrengthenUplvReq.ItemEntry
|
||||
nil, // 46: HeroStrengthenUpSkillReq.ItemEntry
|
||||
nil, // 47: HeroPropertyPush.PropertyEntry
|
||||
nil, // 48: HeroPropertyPush.AddPropertyEntry
|
||||
nil, // 49: HeroDrawCardResp.FirstGetEntry
|
||||
nil, // 50: HeroFusionReq.HerosEntry
|
||||
nil, // 51: HeroPeachRewardResp.PeachEntry
|
||||
(*DBHero)(nil), // 52: DBHero
|
||||
(*UserAtno)(nil), // 53: UserAtno
|
||||
(*DBHeroRecord)(nil), // 54: DBHeroRecord
|
||||
(*DBHeroTalent)(nil), // 55: DBHeroTalent
|
||||
(*DBSelectDraw)(nil), // 56: DBSelectDraw
|
||||
}
|
||||
var file_hero_hero_msg_proto_depIdxs = []int32{
|
||||
46, // 0: HeroInfoResp.base:type_name -> DBHero
|
||||
46, // 1: HeroListResp.list:type_name -> DBHero
|
||||
39, // 2: HeroStrengthenUplvReq.item:type_name -> HeroStrengthenUplvReq.ItemEntry
|
||||
46, // 3: HeroStrengthenUplvResp.hero:type_name -> DBHero
|
||||
46, // 4: HeroStrengthenUpStarResp.hero:type_name -> DBHero
|
||||
40, // 5: HeroStrengthenUpSkillReq.item:type_name -> HeroStrengthenUpSkillReq.ItemEntry
|
||||
46, // 6: HeroStrengthenUpSkillResp.hero:type_name -> DBHero
|
||||
46, // 7: HeroAwakenResp.hero:type_name -> DBHero
|
||||
41, // 8: HeroPropertyPush.property:type_name -> HeroPropertyPush.PropertyEntry
|
||||
42, // 9: HeroPropertyPush.addProperty:type_name -> HeroPropertyPush.AddPropertyEntry
|
||||
46, // 10: HeroLockResp.hero:type_name -> DBHero
|
||||
46, // 11: HeroGetSpecifiedResp.hero:type_name -> DBHero
|
||||
47, // 12: AtnoData.atno:type_name -> UserAtno
|
||||
52, // 0: HeroInfoResp.base:type_name -> DBHero
|
||||
52, // 1: HeroListResp.list:type_name -> DBHero
|
||||
45, // 2: HeroStrengthenUplvReq.item:type_name -> HeroStrengthenUplvReq.ItemEntry
|
||||
52, // 3: HeroStrengthenUplvResp.hero:type_name -> DBHero
|
||||
52, // 4: HeroStrengthenUpStarResp.hero:type_name -> DBHero
|
||||
46, // 5: HeroStrengthenUpSkillReq.item:type_name -> HeroStrengthenUpSkillReq.ItemEntry
|
||||
52, // 6: HeroStrengthenUpSkillResp.hero:type_name -> DBHero
|
||||
52, // 7: HeroAwakenResp.hero:type_name -> DBHero
|
||||
47, // 8: HeroPropertyPush.property:type_name -> HeroPropertyPush.PropertyEntry
|
||||
48, // 9: HeroPropertyPush.addProperty:type_name -> HeroPropertyPush.AddPropertyEntry
|
||||
52, // 10: HeroLockResp.hero:type_name -> DBHero
|
||||
52, // 11: HeroGetSpecifiedResp.hero:type_name -> DBHero
|
||||
53, // 12: AtnoData.atno:type_name -> UserAtno
|
||||
19, // 13: HeroDrawCardResp.data:type_name -> AtnoData
|
||||
47, // 14: HeroDrawCardResp.wish:type_name -> UserAtno
|
||||
48, // 15: HeroDrawCardResp.record:type_name -> DBHeroRecord
|
||||
43, // 16: HeroDrawCardResp.firstGet:type_name -> HeroDrawCardResp.FirstGetEntry
|
||||
46, // 17: HeroChangePush.list:type_name -> DBHero
|
||||
48, // 18: HeroDrawCardFloorResp.record:type_name -> DBHeroRecord
|
||||
44, // 19: HeroFusionReq.heros:type_name -> HeroFusionReq.HerosEntry
|
||||
49, // 20: HeroTalentListResp.telnet:type_name -> DBHeroTalent
|
||||
49, // 21: HeroTalentLearnResp.telnet:type_name -> DBHeroTalent
|
||||
49, // 22: HeroTalentResetResp.telnet:type_name -> DBHeroTalent
|
||||
45, // 23: HeroPeachRewardResp.peach:type_name -> HeroPeachRewardResp.PeachEntry
|
||||
47, // 24: HeroPeachRewardResp.atno:type_name -> UserAtno
|
||||
25, // [25:25] is the sub-list for method output_type
|
||||
25, // [25:25] is the sub-list for method input_type
|
||||
25, // [25:25] is the sub-list for extension type_name
|
||||
25, // [25:25] is the sub-list for extension extendee
|
||||
0, // [0:25] is the sub-list for field type_name
|
||||
53, // 14: HeroDrawCardResp.wish:type_name -> UserAtno
|
||||
54, // 15: HeroDrawCardResp.record:type_name -> DBHeroRecord
|
||||
49, // 16: HeroDrawCardResp.firstGet:type_name -> HeroDrawCardResp.FirstGetEntry
|
||||
52, // 17: HeroChangePush.list:type_name -> DBHero
|
||||
54, // 18: HeroDrawCardFloorResp.record:type_name -> DBHeroRecord
|
||||
50, // 19: HeroFusionReq.heros:type_name -> HeroFusionReq.HerosEntry
|
||||
55, // 20: HeroTalentListResp.telnet:type_name -> DBHeroTalent
|
||||
55, // 21: HeroTalentLearnResp.telnet:type_name -> DBHeroTalent
|
||||
55, // 22: HeroTalentResetResp.telnet:type_name -> DBHeroTalent
|
||||
51, // 23: HeroPeachRewardResp.peach:type_name -> HeroPeachRewardResp.PeachEntry
|
||||
53, // 24: HeroPeachRewardResp.atno:type_name -> UserAtno
|
||||
56, // 25: HeroSelectDrawResp.data:type_name -> DBSelectDraw
|
||||
56, // 26: HeroSaveCardResp.data:type_name -> DBSelectDraw
|
||||
56, // 27: HeroSelectCardResp.data:type_name -> DBSelectDraw
|
||||
19, // 28: HeroSelectCardResp.atno:type_name -> AtnoData
|
||||
29, // [29:29] is the sub-list for method output_type
|
||||
29, // [29:29] is the sub-list for method input_type
|
||||
29, // [29:29] is the sub-list for extension type_name
|
||||
29, // [29:29] is the sub-list for extension extendee
|
||||
0, // [0:29] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_hero_hero_msg_proto_init() }
|
||||
@ -2842,6 +3155,78 @@ func file_hero_hero_msg_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_hero_hero_msg_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HeroSelectDrawReq); 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[40].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HeroSelectDrawResp); 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[41].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HeroSaveCardReq); 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[42].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HeroSaveCardResp); 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[43].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HeroSelectCardReq); 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[44].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*HeroSelectCardResp); 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{
|
||||
@ -2849,7 +3234,7 @@ func file_hero_hero_msg_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_hero_hero_msg_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 46,
|
||||
NumMessages: 52,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
|
42
sys/configure/structs/Game.PlayerInfor_barrage.go
Normal file
42
sys/configure/structs/Game.PlayerInfor_barrage.go
Normal file
@ -0,0 +1,42 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
package cfg
|
||||
|
||||
type GamePlayerInfor_barrage struct {
|
||||
_dataMap map[string]*GamePlayerInfor_barrageData
|
||||
_dataList []*GamePlayerInfor_barrageData
|
||||
}
|
||||
|
||||
func NewGamePlayerInfor_barrage(_buf []map[string]interface{}) (*GamePlayerInfor_barrage, error) {
|
||||
_dataList := make([]*GamePlayerInfor_barrageData, 0, len(_buf))
|
||||
dataMap := make(map[string]*GamePlayerInfor_barrageData)
|
||||
for _, _ele_ := range _buf {
|
||||
if _v, err2 := DeserializeGamePlayerInfor_barrageData(_ele_); err2 != nil {
|
||||
return nil, err2
|
||||
} else {
|
||||
_dataList = append(_dataList, _v)
|
||||
dataMap[_v.Id] = _v
|
||||
}
|
||||
}
|
||||
return &GamePlayerInfor_barrage{_dataList:_dataList, _dataMap:dataMap}, nil
|
||||
}
|
||||
|
||||
func (table *GamePlayerInfor_barrage) GetDataMap() map[string]*GamePlayerInfor_barrageData {
|
||||
return table._dataMap
|
||||
}
|
||||
|
||||
func (table *GamePlayerInfor_barrage) GetDataList() []*GamePlayerInfor_barrageData {
|
||||
return table._dataList
|
||||
}
|
||||
|
||||
func (table *GamePlayerInfor_barrage) Get(key string) *GamePlayerInfor_barrageData {
|
||||
return table._dataMap[key]
|
||||
}
|
||||
|
||||
|
47
sys/configure/structs/Game.PlayerInfor_barrageData.go
Normal file
47
sys/configure/structs/Game.PlayerInfor_barrageData.go
Normal file
@ -0,0 +1,47 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
package cfg
|
||||
|
||||
import "errors"
|
||||
|
||||
type GamePlayerInfor_barrageData struct {
|
||||
Id string
|
||||
Player string
|
||||
Sex int32
|
||||
Head string
|
||||
Barrage string
|
||||
Time int32
|
||||
Speed int32
|
||||
}
|
||||
|
||||
const TypeId_GamePlayerInfor_barrageData = -320555886
|
||||
|
||||
func (*GamePlayerInfor_barrageData) GetTypeId() int32 {
|
||||
return -320555886
|
||||
}
|
||||
|
||||
func (_v *GamePlayerInfor_barrageData)Deserialize(_buf map[string]interface{}) (err error) {
|
||||
{ var _ok_ bool; if _v.Id, _ok_ = _buf["id"].(string); !_ok_ { err = errors.New("id error"); return } }
|
||||
{ var _ok_ bool; if _v.Player, _ok_ = _buf["player"].(string); !_ok_ { err = errors.New("player error"); return } }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["sex"].(float64); !_ok_ { err = errors.New("sex error"); return }; _v.Sex = int32(_tempNum_) }
|
||||
{ var _ok_ bool; if _v.Head, _ok_ = _buf["head"].(string); !_ok_ { err = errors.New("head error"); return } }
|
||||
{var _ok_ bool; var __json_text__ map[string]interface{}; if __json_text__, _ok_ = _buf["barrage"].(map[string]interface{}) ; !_ok_ { err = errors.New("_v.Barrage error"); return }; { var _ok_ bool; if _, _ok_ = __json_text__["key"].(string); !_ok_ { err = errors.New("key error"); return } }; { var _ok_ bool; if _v.Barrage, _ok_ = __json_text__["text"].(string); !_ok_ { err = errors.New("text error"); return } } }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["time"].(float64); !_ok_ { err = errors.New("time error"); return }; _v.Time = int32(_tempNum_) }
|
||||
{ var _ok_ bool; var _tempNum_ float64; if _tempNum_, _ok_ = _buf["speed"].(float64); !_ok_ { err = errors.New("speed error"); return }; _v.Speed = int32(_tempNum_) }
|
||||
return
|
||||
}
|
||||
|
||||
func DeserializeGamePlayerInfor_barrageData(_buf map[string]interface{}) (*GamePlayerInfor_barrageData, error) {
|
||||
v := &GamePlayerInfor_barrageData{}
|
||||
if err := v.Deserialize(_buf); err == nil {
|
||||
return v, nil
|
||||
} else {
|
||||
return nil, err
|
||||
}
|
||||
}
|
@ -80,6 +80,7 @@ type Tables struct {
|
||||
LinestoryMainTask *GameLinestoryMainTask
|
||||
PlayerInfor *GamePlayerInfor
|
||||
PlayerInfor_overview *GamePlayerInfor_overview
|
||||
PlayerInfor_barrage *GamePlayerInfor_barrage
|
||||
ArenaActiveReward *GameArenaActiveReward
|
||||
ArenaRobot *GameArenaRobot
|
||||
ArenaRankReward *GameArenaRankReward
|
||||
@ -734,6 +735,12 @@ func NewTables(loader JsonLoader) (*Tables, error) {
|
||||
if tables.PlayerInfor_overview, err = NewGamePlayerInfor_overview(buf) ; err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if buf, err = loader("game_playerinfor_barrage") ; err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if tables.PlayerInfor_barrage, err = NewGamePlayerInfor_barrage(buf) ; err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if buf, err = loader("game_arenaactivereward") ; err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user