diff --git a/pb/stonehenge_msg.pb.go b/pb/stonehenge_msg.pb.go index f2038d3c4..b6bf77da0 100644 --- a/pb/stonehenge_msg.pb.go +++ b/pb/stonehenge_msg.pb.go @@ -1678,6 +1678,101 @@ func (x *StonehengeTaskReceiveResp) GetAward() []*UserAssets { return nil } +// 重置三选一 +type StonehengeResetBuffReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Eventid int32 `protobuf:"varint,1,opt,name=eventid,proto3" json:"eventid"` +} + +func (x *StonehengeResetBuffReq) Reset() { + *x = StonehengeResetBuffReq{} + if protoimpl.UnsafeEnabled { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StonehengeResetBuffReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StonehengeResetBuffReq) ProtoMessage() {} + +func (x *StonehengeResetBuffReq) ProtoReflect() protoreflect.Message { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[30] + 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 StonehengeResetBuffReq.ProtoReflect.Descriptor instead. +func (*StonehengeResetBuffReq) Descriptor() ([]byte, []int) { + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{30} +} + +func (x *StonehengeResetBuffReq) GetEventid() int32 { + if x != nil { + return x.Eventid + } + return 0 +} + +type StonehengeResetBuffResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Selectbuff []int32 `protobuf:"varint,1,rep,packed,name=selectbuff,proto3" json:"selectbuff"` +} + +func (x *StonehengeResetBuffResp) Reset() { + *x = StonehengeResetBuffResp{} + if protoimpl.UnsafeEnabled { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StonehengeResetBuffResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StonehengeResetBuffResp) ProtoMessage() {} + +func (x *StonehengeResetBuffResp) ProtoReflect() protoreflect.Message { + mi := &file_stonehenge_stonehenge_msg_proto_msgTypes[31] + 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 StonehengeResetBuffResp.ProtoReflect.Descriptor instead. +func (*StonehengeResetBuffResp) Descriptor() ([]byte, []int) { + return file_stonehenge_stonehenge_msg_proto_rawDescGZIP(), []int{31} +} + +func (x *StonehengeResetBuffResp) GetSelectbuff() []int32 { + if x != nil { + return x.Selectbuff + } + return nil +} + var File_stonehenge_stonehenge_msg_proto protoreflect.FileDescriptor var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{ @@ -1898,8 +1993,15 @@ var file_stonehenge_stonehenge_msg_proto_rawDesc = []byte{ 0x61, 0x73, 0x6b, 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, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, - 0x3a, 0x02, 0x38, 0x01, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x32, 0x0a, 0x16, 0x53, 0x74, 0x6f, 0x6e, 0x65, 0x68, 0x65, 0x6e, + 0x67, 0x65, 0x52, 0x65, 0x73, 0x65, 0x74, 0x42, 0x75, 0x66, 0x66, 0x52, 0x65, 0x71, 0x12, 0x18, + 0x0a, 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x07, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x69, 0x64, 0x22, 0x39, 0x0a, 0x17, 0x53, 0x74, 0x6f, 0x6e, + 0x65, 0x68, 0x65, 0x6e, 0x67, 0x65, 0x52, 0x65, 0x73, 0x65, 0x74, 0x42, 0x75, 0x66, 0x66, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x62, 0x75, 0x66, + 0x66, 0x18, 0x01, 0x20, 0x03, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x62, + 0x75, 0x66, 0x66, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } var ( @@ -1914,7 +2016,7 @@ func file_stonehenge_stonehenge_msg_proto_rawDescGZIP() []byte { return file_stonehenge_stonehenge_msg_proto_rawDescData } -var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 39) +var file_stonehenge_stonehenge_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 41) var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{ (*StonehengeGetListReq)(nil), // 0: StonehengeGetListReq (*StonehengeGetListResp)(nil), // 1: StonehengeGetListResp @@ -1946,59 +2048,61 @@ var file_stonehenge_stonehenge_msg_proto_goTypes = []interface{}{ (*StonehengeTaskInfoResp)(nil), // 27: StonehengeTaskInfoResp (*StonehengeTaskReceiveReq)(nil), // 28: StonehengeTaskReceiveReq (*StonehengeTaskReceiveResp)(nil), // 29: StonehengeTaskReceiveResp - nil, // 30: StonehengeEnterLevelResp.HeroEntry - nil, // 31: StonehengeEventResp.HeroEntry - nil, // 32: StonehengeEventResp.UserbuffEntry - nil, // 33: StonehengeStoreResp.ShopEntry - nil, // 34: StonehengeActivateTalentResp.TalentEntry - nil, // 35: StonehengeActivateTalentResp.TalentpropertyEntry - nil, // 36: StonehengeWeekAwardResp.WeeklyrewardEntry - nil, // 37: StonehengeTaskInfoResp.TaskEntry - nil, // 38: StonehengeTaskReceiveResp.TaskEntry - (*DBStonehenge)(nil), // 39: DBStonehenge - (*DBStoneBoss)(nil), // 40: DBStoneBoss - (*RoomData)(nil), // 41: RoomData - (*BattleReport)(nil), // 42: BattleReport - (*UserAtno)(nil), // 43: UserAtno - (*BattleFormation)(nil), // 44: BattleFormation - (*BattleInfo)(nil), // 45: BattleInfo - (StonehengePrivilege)(0), // 46: StonehengePrivilege - (*DBStonehengeBook)(nil), // 47: DBStonehengeBook - (*UserAssets)(nil), // 48: UserAssets - (*ConIProgress)(nil), // 49: ConIProgress - (*BattleRole)(nil), // 50: BattleRole + (*StonehengeResetBuffReq)(nil), // 30: StonehengeResetBuffReq + (*StonehengeResetBuffResp)(nil), // 31: StonehengeResetBuffResp + nil, // 32: StonehengeEnterLevelResp.HeroEntry + nil, // 33: StonehengeEventResp.HeroEntry + nil, // 34: StonehengeEventResp.UserbuffEntry + nil, // 35: StonehengeStoreResp.ShopEntry + nil, // 36: StonehengeActivateTalentResp.TalentEntry + nil, // 37: StonehengeActivateTalentResp.TalentpropertyEntry + nil, // 38: StonehengeWeekAwardResp.WeeklyrewardEntry + nil, // 39: StonehengeTaskInfoResp.TaskEntry + nil, // 40: StonehengeTaskReceiveResp.TaskEntry + (*DBStonehenge)(nil), // 41: DBStonehenge + (*DBStoneBoss)(nil), // 42: DBStoneBoss + (*RoomData)(nil), // 43: RoomData + (*BattleReport)(nil), // 44: BattleReport + (*UserAtno)(nil), // 45: UserAtno + (*BattleFormation)(nil), // 46: BattleFormation + (*BattleInfo)(nil), // 47: BattleInfo + (StonehengePrivilege)(0), // 48: StonehengePrivilege + (*DBStonehengeBook)(nil), // 49: DBStonehengeBook + (*UserAssets)(nil), // 50: UserAssets + (*ConIProgress)(nil), // 51: ConIProgress + (*BattleRole)(nil), // 52: BattleRole } var file_stonehenge_stonehenge_msg_proto_depIdxs = []int32{ - 39, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge - 40, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss - 30, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry - 41, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData - 41, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData - 42, // 5: StonehengeEventReq.report:type_name -> BattleReport - 41, // 6: StonehengeEventResp.room:type_name -> RoomData - 43, // 7: StonehengeEventResp.reward:type_name -> UserAtno - 31, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry - 32, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry - 41, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData - 39, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge - 43, // 12: StonehengeFinishResp.reward:type_name -> UserAtno - 44, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation - 45, // 14: StonehengeBattleResp.info:type_name -> BattleInfo - 41, // 15: StonehengeStoryResp.room:type_name -> RoomData - 33, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry - 34, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry - 35, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry - 46, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege - 47, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook - 48, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets - 36, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry - 48, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets - 49, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress - 37, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry - 38, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry - 48, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets - 50, // 28: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole - 50, // 29: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole + 41, // 0: StonehengeGetListResp.data:type_name -> DBStonehenge + 42, // 1: StonehengeGetListResp.boss:type_name -> DBStoneBoss + 32, // 2: StonehengeEnterLevelResp.hero:type_name -> StonehengeEnterLevelResp.HeroEntry + 43, // 3: StonehengeEnterLevelResp.room:type_name -> RoomData + 43, // 4: StonehengeGotoRoomResp.room:type_name -> RoomData + 44, // 5: StonehengeEventReq.report:type_name -> BattleReport + 43, // 6: StonehengeEventResp.room:type_name -> RoomData + 45, // 7: StonehengeEventResp.reward:type_name -> UserAtno + 33, // 8: StonehengeEventResp.hero:type_name -> StonehengeEventResp.HeroEntry + 34, // 9: StonehengeEventResp.userbuff:type_name -> StonehengeEventResp.UserbuffEntry + 43, // 10: StonehengeGetRoomInfoResp.room:type_name -> RoomData + 41, // 11: StonehengeFinishResp.data:type_name -> DBStonehenge + 45, // 12: StonehengeFinishResp.reward:type_name -> UserAtno + 46, // 13: StonehengeBattleReq.battle:type_name -> BattleFormation + 47, // 14: StonehengeBattleResp.info:type_name -> BattleInfo + 43, // 15: StonehengeStoryResp.room:type_name -> RoomData + 35, // 16: StonehengeStoreResp.shop:type_name -> StonehengeStoreResp.ShopEntry + 36, // 17: StonehengeActivateTalentResp.talent:type_name -> StonehengeActivateTalentResp.TalentEntry + 37, // 18: StonehengeActivateTalentResp.talentproperty:type_name -> StonehengeActivateTalentResp.TalentpropertyEntry + 48, // 19: StonehengeActivateTalentResp.privilege:type_name -> StonehengePrivilege + 49, // 20: StonehengeBookInfoResp.info:type_name -> DBStonehengeBook + 50, // 21: StonehengeBookAwardResp.award:type_name -> UserAssets + 38, // 22: StonehengeWeekAwardResp.weeklyreward:type_name -> StonehengeWeekAwardResp.WeeklyrewardEntry + 50, // 23: StonehengeWeekAwardResp.award:type_name -> UserAssets + 51, // 24: StonehengeTaskInfoResp.conlds:type_name -> ConIProgress + 39, // 25: StonehengeTaskInfoResp.task:type_name -> StonehengeTaskInfoResp.TaskEntry + 40, // 26: StonehengeTaskReceiveResp.task:type_name -> StonehengeTaskReceiveResp.TaskEntry + 50, // 27: StonehengeTaskReceiveResp.award:type_name -> UserAssets + 52, // 28: StonehengeEnterLevelResp.HeroEntry.value:type_name -> BattleRole + 52, // 29: StonehengeEventResp.HeroEntry.value:type_name -> BattleRole 30, // [30:30] is the sub-list for method output_type 30, // [30:30] is the sub-list for method input_type 30, // [30:30] is the sub-list for extension type_name @@ -2377,6 +2481,30 @@ func file_stonehenge_stonehenge_msg_proto_init() { return nil } } + file_stonehenge_stonehenge_msg_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StonehengeResetBuffReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stonehenge_stonehenge_msg_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StonehengeResetBuffResp); 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{ @@ -2384,7 +2512,7 @@ func file_stonehenge_stonehenge_msg_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_stonehenge_stonehenge_msg_proto_rawDesc, NumEnums: 0, - NumMessages: 39, + NumMessages: 41, NumExtensions: 0, NumServices: 0, },