// Generated by the protocol buffer compiler. DO NOT EDIT! // source: fish_logic.proto #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION #include "fish_logic.pb.h" #include #include #include #include #include #include #include #include #include // @@protoc_insertion_point(includes) namespace fish_protocols { namespace { const ::google::protobuf::Descriptor* packetc2l_get_scene_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_get_scene_info_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_get_scene_info_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_get_scene_info_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_change_rate_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_change_rate_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_sync_gold_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_sync_gold_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_enter_seat_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_enter_seat_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_leave_seat_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_leave_seat_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_robot_enter_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_robot_enter_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_robot_leave_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_robot_leave_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_change_rate_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_change_rate_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_change_attr_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_change_attr_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_create_fish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_create_fish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_create_generator_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_create_generator_reflection_ = NULL; const ::google::protobuf::Descriptor* ManualFireEx_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* ManualFireEx_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_manual_fire_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_manual_fire_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_manual_fire_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_manual_fire_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_hit_fish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_hit_fish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_hit_fishs_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_hit_fishs_reflection_ = NULL; const ::google::protobuf::Descriptor* LegindaryCoinGainInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* LegindaryCoinGainInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_fish_die_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_fish_die_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_notify_bullet_explode_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_notify_bullet_explode_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_bullet_explode_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_bullet_explode_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_specialfish_die_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_specialfish_die_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_fishs_die_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_fishs_die_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_change_scene_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_change_scene_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_finish_boss_scene_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_finish_boss_scene_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_using_item_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_using_item_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_stop_using_item_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_stop_using_item_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_changeturret_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_changeturret_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_lock_fish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_lock_fish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_lock_fish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_lock_fish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_freeze_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_freeze_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_change_scene_bg_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_change_scene_bg_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_scene_time_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_scene_time_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_change_jackpot_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_change_jackpot_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_hit_fishs_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_hit_fishs_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_turret_rotate_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_turret_rotate_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_change_max_power_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_change_max_power_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_table_lottery_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_table_lottery_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_req_drop_rate_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_req_drop_rate_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_req_drop_rate_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_req_drop_rate_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packet_c2l_benefits_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packet_c2l_benefits_reflection_ = NULL; const ::google::protobuf::Descriptor* packet_l2c_benefits_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packet_l2c_benefits_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_chipfish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_table_kill_chipfish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_turntablefish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_table_kill_turntablefish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_kill_goldfish_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_kill_goldfish_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_play_ad_reward_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_play_ad_reward_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_play_ad_reward_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_play_ad_reward_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_receive_redpacket_reward_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_receive_redpacket_reward_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_receive_redpacket_reward_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_receive_redpacket_reward_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mysterous_shell_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_trigger_mysterous_shell_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_req_lottery_mysterous_shell_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_req_lottery_mysterous_shell_reflection_ = NULL; const ::google::protobuf::Descriptor* shellLotteryInfo_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* shellLotteryInfo_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_req_lottery_mysterous_shell_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_req_lottery_mysterous_shell_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_mysterous_shell_lottery_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_mysterous_shell_lottery_result_reflection_ = NULL; const ::google::protobuf::Descriptor* dice_change_info_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* dice_change_info_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_trigger_dice_game_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_trigger_dice_game_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_req_lottery_dice_game_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_req_lottery_dice_game_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_req_lottery_dice_game_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_req_lottery_dice_game_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_dice_game_lottery_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_dice_game_lottery_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_trigger_egg_treasure_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_trigger_egg_treasure_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_egg_treasure_lottery_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_egg_treasure_lottery_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_egg_treasure_lottery_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_egg_treasure_lottery_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_change_room_rate_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_change_room_rate_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_change_room_rate_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_change_room_rate_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_change_bullet_power_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_change_bullet_power_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_change_bullet_power_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_change_bullet_power_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_trigger_treasure_bowl_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_trigger_treasure_bowl_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_treasure_bowl_lottery_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_treasure_bowl_lottery_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_treasure_bowl_lottery_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_treasure_bowl_lottery_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_bc_trigger_flood_dragon_fly_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_bc_trigger_flood_dragon_fly_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_flood_dragon_fly_lottery_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_flood_dragon_fly_lottery_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_flood_dragon_fly_lottery_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_flood_dragon_fly_lottery_result_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_send_item_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_send_item_reflection_ = NULL; const ::google::protobuf::Descriptor* packetc2l_receive_tommorrow_reward_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetc2l_receive_tommorrow_reward_reflection_ = NULL; const ::google::protobuf::Descriptor* packetl2c_receive_tommorrow_reward_result_descriptor_ = NULL; const ::google::protobuf::internal::GeneratedMessageReflection* packetl2c_receive_tommorrow_reward_result_reflection_ = NULL; } // namespace void protobuf_AssignDesc_fish_5flogic_2eproto() { protobuf_AddDesc_fish_5flogic_2eproto(); const ::google::protobuf::FileDescriptor* file = ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName( "fish_logic.proto"); GOOGLE_CHECK(file != NULL); packetc2l_get_scene_info_descriptor_ = file->message_type(0); static const int packetc2l_get_scene_info_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_scene_info, packet_id_), }; packetc2l_get_scene_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_get_scene_info_descriptor_, packetc2l_get_scene_info::default_instance_, packetc2l_get_scene_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_scene_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_get_scene_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_get_scene_info)); packetl2c_get_scene_info_result_descriptor_ = file->message_type(1); static const int packetl2c_get_scene_info_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, scene_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, recvbenefittime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, recvbenefitcount_), }; packetl2c_get_scene_info_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_get_scene_info_result_descriptor_, packetl2c_get_scene_info_result::default_instance_, packetl2c_get_scene_info_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_get_scene_info_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_get_scene_info_result)); packetc2l_change_rate_descriptor_ = file->message_type(2); static const int packetc2l_change_rate_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, turret_rate_), }; packetc2l_change_rate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_change_rate_descriptor_, packetc2l_change_rate::default_instance_, packetc2l_change_rate_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_rate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_change_rate)); packetc2l_sync_gold_descriptor_ = file->message_type(3); static const int packetc2l_sync_gold_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_sync_gold, packet_id_), }; packetc2l_sync_gold_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_sync_gold_descriptor_, packetc2l_sync_gold::default_instance_, packetc2l_sync_gold_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_sync_gold, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_sync_gold, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_sync_gold)); packetl2c_bc_enter_seat_descriptor_ = file->message_type(4); static const int packetl2c_bc_enter_seat_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, seat_info_), }; packetl2c_bc_enter_seat_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_enter_seat_descriptor_, packetl2c_bc_enter_seat::default_instance_, packetl2c_bc_enter_seat_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_enter_seat, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_enter_seat)); packetl2c_bc_leave_seat_descriptor_ = file->message_type(5); static const int packetl2c_bc_leave_seat_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, player_id_), }; packetl2c_bc_leave_seat_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_leave_seat_descriptor_, packetl2c_bc_leave_seat::default_instance_, packetl2c_bc_leave_seat_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_leave_seat, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_leave_seat)); packetl2c_robot_enter_descriptor_ = file->message_type(6); static const int packetl2c_robot_enter_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, seat_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, scene_id_), }; packetl2c_robot_enter_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_robot_enter_descriptor_, packetl2c_robot_enter::default_instance_, packetl2c_robot_enter_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_enter, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_robot_enter)); packetl2c_robot_leave_descriptor_ = file->message_type(7); static const int packetl2c_robot_leave_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, player_id_), }; packetl2c_robot_leave_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_robot_leave_descriptor_, packetl2c_robot_leave::default_instance_, packetl2c_robot_leave_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_robot_leave, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_robot_leave)); packetl2c_bc_change_rate_descriptor_ = file->message_type(8); static const int packetl2c_bc_change_rate_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, turret_rate_), }; packetl2c_bc_change_rate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_change_rate_descriptor_, packetl2c_bc_change_rate::default_instance_, packetl2c_bc_change_rate_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_rate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_change_rate)); packetl2c_bc_change_attr_descriptor_ = file->message_type(9); static const int packetl2c_bc_change_attr_offsets_[26] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_vip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_diamond_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_ticket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_dimensity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_goldingot_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_tombola_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_legendarycoin_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_redpacket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_chip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_jdchip_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_playerlv_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_turretlv_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_dragonball_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, change_glorycrystal_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, monthcard_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, goldmonthcard_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, diamondmonthcard_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, monthcardremaintime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, goldmonthcardremaintime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, diamondmonthcardremaintime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, weekcard_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, weekcardremaintime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, reason_), }; packetl2c_bc_change_attr_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_change_attr_descriptor_, packetl2c_bc_change_attr::default_instance_, packetl2c_bc_change_attr_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_attr, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_change_attr)); packetl2c_bc_create_fish_descriptor_ = file->message_type(10); static const int packetl2c_bc_create_fish_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, fish_info_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, reason_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, ownerplayerid_), }; packetl2c_bc_create_fish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_create_fish_descriptor_, packetl2c_bc_create_fish::default_instance_, packetl2c_bc_create_fish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_fish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_create_fish)); packetl2c_bc_create_generator_descriptor_ = file->message_type(11); static const int packetl2c_bc_create_generator_offsets_[8] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, generator_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, start_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, route_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, is_red_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, pos_x_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, pos_y_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, is_flash_), }; packetl2c_bc_create_generator_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_create_generator_descriptor_, packetl2c_bc_create_generator::default_instance_, packetl2c_bc_create_generator_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_create_generator, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_create_generator)); ManualFireEx_descriptor_ = file->message_type(12); static const int ManualFireEx_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, refitemid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, fishid_), }; ManualFireEx_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( ManualFireEx_descriptor_, ManualFireEx::default_instance_, ManualFireEx_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ManualFireEx, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(ManualFireEx)); packetc2l_manual_fire_descriptor_ = file->message_type(13); static const int packetc2l_manual_fire_offsets_[10] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_angle_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, is_multi_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, is_violent_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_rate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, room_rate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, bullet_power_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, exparam_), }; packetc2l_manual_fire_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_manual_fire_descriptor_, packetc2l_manual_fire::default_instance_, packetc2l_manual_fire_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_manual_fire, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_manual_fire)); packetl2c_bc_manual_fire_descriptor_ = file->message_type(14); static const int packetl2c_bc_manual_fire_offsets_[12] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bullet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bullet_angle_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, curexp_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bullet_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, is_violent_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, exparam_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bulletrate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, bulletpower_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, gold_), }; packetl2c_bc_manual_fire_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_manual_fire_descriptor_, packetl2c_bc_manual_fire::default_instance_, packetl2c_bc_manual_fire_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_manual_fire, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_manual_fire)); packetc2l_hit_fish_descriptor_ = file->message_type(15); static const int packetc2l_hit_fish_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, bullet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, fish_id_), }; packetc2l_hit_fish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_hit_fish_descriptor_, packetc2l_hit_fish::default_instance_, packetc2l_hit_fish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_hit_fish)); packetc2l_hit_fishs_descriptor_ = file->message_type(16); static const int packetc2l_hit_fishs_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, hit_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, bullet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, fish_ids_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, hit_param_), }; packetc2l_hit_fishs_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_hit_fishs_descriptor_, packetc2l_hit_fishs::default_instance_, packetc2l_hit_fishs_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_hit_fishs, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_hit_fishs)); LegindaryCoinGainInfo_descriptor_ = file->message_type(17); static const int LegindaryCoinGainInfo_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, count_), }; LegindaryCoinGainInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( LegindaryCoinGainInfo_descriptor_, LegindaryCoinGainInfo::default_instance_, LegindaryCoinGainInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(LegindaryCoinGainInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(LegindaryCoinGainInfo)); packetl2c_bc_fish_die_descriptor_ = file->message_type(18); static const int packetl2c_bc_fish_die_offsets_[17] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, fish_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, kill_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, diamond_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, ticket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, dimensity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, refitemid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, dragonball_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, legendarycoin_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, point_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, addpoint_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, qualifypoint_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, dailytopcardinfo_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, items_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, fishcfgid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, fishscore_), }; packetl2c_bc_fish_die_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_fish_die_descriptor_, packetl2c_bc_fish_die::default_instance_, packetl2c_bc_fish_die_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fish_die, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_fish_die)); packetl2c_notify_bullet_explode_descriptor_ = file->message_type(19); static const int packetl2c_notify_bullet_explode_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, bulletid_), }; packetl2c_notify_bullet_explode_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_notify_bullet_explode_descriptor_, packetl2c_notify_bullet_explode::default_instance_, packetl2c_notify_bullet_explode_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_notify_bullet_explode, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_notify_bullet_explode)); packetl2c_bc_bullet_explode_descriptor_ = file->message_type(20); static const int packetl2c_bc_bullet_explode_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, bulletid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, fishids_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, items_), }; packetl2c_bc_bullet_explode_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_bullet_explode_descriptor_, packetl2c_bc_bullet_explode::default_instance_, packetl2c_bc_bullet_explode_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_bullet_explode, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_bullet_explode)); packetl2c_bc_specialfish_die_descriptor_ = file->message_type(21); static const int packetl2c_bc_specialfish_die_offsets_[12] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, fish_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, bullet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, base_score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, add_score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, ticket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, getstar_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, dragonball_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, point_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, items_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, fishcfgid_), }; packetl2c_bc_specialfish_die_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_specialfish_die_descriptor_, packetl2c_bc_specialfish_die::default_instance_, packetl2c_bc_specialfish_die_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_specialfish_die, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_specialfish_die)); packetl2c_bc_fishs_die_descriptor_ = file->message_type(22); static const int packetl2c_bc_fishs_die_offsets_[16] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, die_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, die_params_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_diamond_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_dimensity_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_ticket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, total_point_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, torpedoid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, base_rate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, add_rate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, ticket_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, add_point_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, items_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, fishcfgid_), }; packetl2c_bc_fishs_die_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_fishs_die_descriptor_, packetl2c_bc_fishs_die::default_instance_, packetl2c_bc_fishs_die_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_fishs_die, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_fishs_die)); packetl2c_bc_change_scene_descriptor_ = file->message_type(23); static const int packetl2c_bc_change_scene_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, scene_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, large_fish_id_), }; packetl2c_bc_change_scene_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_change_scene_descriptor_, packetl2c_bc_change_scene::default_instance_, packetl2c_bc_change_scene_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_change_scene)); packetl2c_bc_finish_boss_scene_descriptor_ = file->message_type(24); static const int packetl2c_bc_finish_boss_scene_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, notify_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, boss_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, jackpot_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, basegold_), }; packetl2c_bc_finish_boss_scene_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_finish_boss_scene_descriptor_, packetl2c_bc_finish_boss_scene::default_instance_, packetl2c_bc_finish_boss_scene_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_finish_boss_scene, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_finish_boss_scene)); packetl2c_bc_using_item_descriptor_ = file->message_type(25); static const int packetl2c_bc_using_item_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, item_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, use_time_), }; packetl2c_bc_using_item_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_using_item_descriptor_, packetl2c_bc_using_item::default_instance_, packetl2c_bc_using_item_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_using_item, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_using_item)); packetl2c_bc_stop_using_item_descriptor_ = file->message_type(26); static const int packetl2c_bc_stop_using_item_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, item_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, player_id_), }; packetl2c_bc_stop_using_item_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_stop_using_item_descriptor_, packetl2c_bc_stop_using_item::default_instance_, packetl2c_bc_stop_using_item_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_stop_using_item, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_stop_using_item)); packetl2c_bc_changeturret_descriptor_ = file->message_type(27); static const int packetl2c_bc_changeturret_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, turret_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, player_id_), }; packetl2c_bc_changeturret_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_changeturret_descriptor_, packetl2c_bc_changeturret::default_instance_, packetl2c_bc_changeturret_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_changeturret, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_changeturret)); packetc2l_lock_fish_descriptor_ = file->message_type(28); static const int packetc2l_lock_fish_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, fish_id_), }; packetc2l_lock_fish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_lock_fish_descriptor_, packetc2l_lock_fish::default_instance_, packetc2l_lock_fish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_lock_fish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_lock_fish)); packetl2c_bc_lock_fish_descriptor_ = file->message_type(29); static const int packetl2c_bc_lock_fish_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, fish_id_), }; packetl2c_bc_lock_fish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_lock_fish_descriptor_, packetl2c_bc_lock_fish::default_instance_, packetl2c_bc_lock_fish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_lock_fish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_lock_fish)); packetl2c_bc_freeze_descriptor_ = file->message_type(30); static const int packetl2c_bc_freeze_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, fish_ids_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, freeze_time_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, is_show_), }; packetl2c_bc_freeze_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_freeze_descriptor_, packetl2c_bc_freeze::default_instance_, packetl2c_bc_freeze_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_freeze, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_freeze)); packetl2c_bc_change_scene_bg_descriptor_ = file->message_type(31); static const int packetl2c_bc_change_scene_bg_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, scene_id_), }; packetl2c_bc_change_scene_bg_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_change_scene_bg_descriptor_, packetl2c_bc_change_scene_bg::default_instance_, packetl2c_bc_change_scene_bg_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_scene_bg, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_change_scene_bg)); packetl2c_bc_scene_time_descriptor_ = file->message_type(32); static const int packetl2c_bc_scene_time_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, scene_time_), }; packetl2c_bc_scene_time_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_scene_time_descriptor_, packetl2c_bc_scene_time::default_instance_, packetl2c_bc_scene_time_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_scene_time, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_scene_time)); packetl2c_bc_change_jackpot_descriptor_ = file->message_type(33); static const int packetl2c_bc_change_jackpot_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, curpool_), }; packetl2c_bc_change_jackpot_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_change_jackpot_descriptor_, packetl2c_bc_change_jackpot::default_instance_, packetl2c_bc_change_jackpot_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_jackpot, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_change_jackpot)); packetl2c_bc_hit_fishs_descriptor_ = file->message_type(34); static const int packetl2c_bc_hit_fishs_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, hit_type_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, fish_ids_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, params_), }; packetl2c_bc_hit_fishs_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_hit_fishs_descriptor_, packetl2c_bc_hit_fishs::default_instance_, packetl2c_bc_hit_fishs_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_hit_fishs, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_hit_fishs)); packetl2c_bc_turret_rotate_descriptor_ = file->message_type(35); static const int packetl2c_bc_turret_rotate_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, rotate_angle_), }; packetl2c_bc_turret_rotate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_turret_rotate_descriptor_, packetl2c_bc_turret_rotate::default_instance_, packetl2c_bc_turret_rotate_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_turret_rotate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_turret_rotate)); packetl2c_bc_change_max_power_descriptor_ = file->message_type(36); static const int packetl2c_bc_change_max_power_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, max_power_), }; packetl2c_bc_change_max_power_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_change_max_power_descriptor_, packetl2c_bc_change_max_power::default_instance_, packetl2c_bc_change_max_power_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_change_max_power, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_change_max_power)); packetl2c_bc_table_lottery_descriptor_ = file->message_type(37); static const int packetl2c_bc_table_lottery_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, player_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, item_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, item_count_), }; packetl2c_bc_table_lottery_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_table_lottery_descriptor_, packetl2c_bc_table_lottery::default_instance_, packetl2c_bc_table_lottery_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_lottery, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_table_lottery)); packetc2l_req_drop_rate_descriptor_ = file->message_type(38); static const int packetc2l_req_drop_rate_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_drop_rate, packet_id_), }; packetc2l_req_drop_rate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_req_drop_rate_descriptor_, packetc2l_req_drop_rate::default_instance_, packetc2l_req_drop_rate_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_drop_rate, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_drop_rate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_req_drop_rate)); packetl2c_req_drop_rate_result_descriptor_ = file->message_type(39); static const int packetl2c_req_drop_rate_result_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, curgold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, recvbenefittime_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, triggergiftid_), }; packetl2c_req_drop_rate_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_req_drop_rate_result_descriptor_, packetl2c_req_drop_rate_result::default_instance_, packetl2c_req_drop_rate_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_drop_rate_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_req_drop_rate_result)); packet_c2l_benefits_descriptor_ = file->message_type(40); static const int packet_c2l_benefits_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, double__), }; packet_c2l_benefits_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packet_c2l_benefits_descriptor_, packet_c2l_benefits::default_instance_, packet_c2l_benefits_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_c2l_benefits, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packet_c2l_benefits)); packet_l2c_benefits_result_descriptor_ = file->message_type(41); static const int packet_l2c_benefits_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, double__), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, result_), }; packet_l2c_benefits_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packet_l2c_benefits_result_descriptor_, packet_l2c_benefits_result::default_instance_, packet_l2c_benefits_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packet_l2c_benefits_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packet_l2c_benefits_result)); packetl2c_bc_table_kill_chipfish_descriptor_ = file->message_type(42); static const int packetl2c_bc_table_kill_chipfish_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, lotteryid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, fishid_), }; packetl2c_bc_table_kill_chipfish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_table_kill_chipfish_descriptor_, packetl2c_bc_table_kill_chipfish::default_instance_, packetl2c_bc_table_kill_chipfish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_chipfish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_table_kill_chipfish)); packetl2c_bc_table_kill_turntablefish_descriptor_ = file->message_type(43); static const int packetl2c_bc_table_kill_turntablefish_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, fishid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, turnid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, remaintimecard_), }; packetl2c_bc_table_kill_turntablefish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_table_kill_turntablefish_descriptor_, packetl2c_bc_table_kill_turntablefish::default_instance_, packetl2c_bc_table_kill_turntablefish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_table_kill_turntablefish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_table_kill_turntablefish)); packetl2c_kill_goldfish_descriptor_ = file->message_type(44); static const int packetl2c_kill_goldfish_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, killcount_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, goldpool_), }; packetl2c_kill_goldfish_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_kill_goldfish_descriptor_, packetl2c_kill_goldfish::default_instance_, packetl2c_kill_goldfish_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_kill_goldfish, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_kill_goldfish)); packetc2l_play_ad_reward_descriptor_ = file->message_type(45); static const int packetc2l_play_ad_reward_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, double__), }; packetc2l_play_ad_reward_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_play_ad_reward_descriptor_, packetc2l_play_ad_reward::default_instance_, packetc2l_play_ad_reward_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_play_ad_reward, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_play_ad_reward)); packetl2c_play_ad_reward_result_descriptor_ = file->message_type(46); static const int packetl2c_play_ad_reward_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, double__), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, result_), }; packetl2c_play_ad_reward_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_play_ad_reward_result_descriptor_, packetl2c_play_ad_reward_result::default_instance_, packetl2c_play_ad_reward_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_play_ad_reward_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_play_ad_reward_result)); packetc2l_receive_redpacket_reward_descriptor_ = file->message_type(47); static const int packetc2l_receive_redpacket_reward_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_redpacket_reward, packet_id_), }; packetc2l_receive_redpacket_reward_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_receive_redpacket_reward_descriptor_, packetc2l_receive_redpacket_reward::default_instance_, packetc2l_receive_redpacket_reward_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_redpacket_reward, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_redpacket_reward, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_receive_redpacket_reward)); packetl2c_receive_redpacket_reward_result_descriptor_ = file->message_type(48); static const int packetl2c_receive_redpacket_reward_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, rewardindex_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, redenvlopeinfos_), }; packetl2c_receive_redpacket_reward_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_receive_redpacket_reward_result_descriptor_, packetl2c_receive_redpacket_reward_result::default_instance_, packetl2c_receive_redpacket_reward_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_redpacket_reward_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_receive_redpacket_reward_result)); packetl2c_bc_trigger_mysterous_shell_descriptor_ = file->message_type(49); static const int packetl2c_bc_trigger_mysterous_shell_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, playerid_), }; packetl2c_bc_trigger_mysterous_shell_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_trigger_mysterous_shell_descriptor_, packetl2c_bc_trigger_mysterous_shell::default_instance_, packetl2c_bc_trigger_mysterous_shell_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_mysterous_shell, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_trigger_mysterous_shell)); packetc2l_req_lottery_mysterous_shell_descriptor_ = file->message_type(50); static const int packetc2l_req_lottery_mysterous_shell_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, index_), }; packetc2l_req_lottery_mysterous_shell_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_req_lottery_mysterous_shell_descriptor_, packetc2l_req_lottery_mysterous_shell::default_instance_, packetc2l_req_lottery_mysterous_shell_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_mysterous_shell, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_req_lottery_mysterous_shell)); shellLotteryInfo_descriptor_ = file->message_type(51); static const int shellLotteryInfo_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, index_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, turretrate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, gold_), }; shellLotteryInfo_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( shellLotteryInfo_descriptor_, shellLotteryInfo::default_instance_, shellLotteryInfo_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(shellLotteryInfo, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(shellLotteryInfo)); packetl2c_req_lottery_mysterous_shell_result_descriptor_ = file->message_type(52); static const int packetl2c_req_lottery_mysterous_shell_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, lotteryinfo_), }; packetl2c_req_lottery_mysterous_shell_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_req_lottery_mysterous_shell_result_descriptor_, packetl2c_req_lottery_mysterous_shell_result::default_instance_, packetl2c_req_lottery_mysterous_shell_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_mysterous_shell_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_req_lottery_mysterous_shell_result)); packetl2c_bc_mysterous_shell_lottery_result_descriptor_ = file->message_type(53); static const int packetl2c_bc_mysterous_shell_lottery_result_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, totalgold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, lotteryinfo_), }; packetl2c_bc_mysterous_shell_lottery_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_mysterous_shell_lottery_result_descriptor_, packetl2c_bc_mysterous_shell_lottery_result::default_instance_, packetl2c_bc_mysterous_shell_lottery_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_mysterous_shell_lottery_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_mysterous_shell_lottery_result)); dice_change_info_descriptor_ = file->message_type(54); static const int dice_change_info_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, nickname_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, score_), }; dice_change_info_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( dice_change_info_descriptor_, dice_change_info::default_instance_, dice_change_info_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(dice_change_info, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(dice_change_info)); packetl2c_bc_trigger_dice_game_descriptor_ = file->message_type(55); static const int packetl2c_bc_trigger_dice_game_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, basegold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, changelist_), }; packetl2c_bc_trigger_dice_game_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_trigger_dice_game_descriptor_, packetl2c_bc_trigger_dice_game::default_instance_, packetl2c_bc_trigger_dice_game_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_dice_game, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_trigger_dice_game)); packetc2l_req_lottery_dice_game_descriptor_ = file->message_type(56); static const int packetc2l_req_lottery_dice_game_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, optype_), }; packetc2l_req_lottery_dice_game_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_req_lottery_dice_game_descriptor_, packetc2l_req_lottery_dice_game::default_instance_, packetc2l_req_lottery_dice_game_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_req_lottery_dice_game, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_req_lottery_dice_game)); packetl2c_req_lottery_dice_game_result_descriptor_ = file->message_type(57); static const int packetl2c_req_lottery_dice_game_result_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, optype_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, curgold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, resultnum_), }; packetl2c_req_lottery_dice_game_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_req_lottery_dice_game_result_descriptor_, packetl2c_req_lottery_dice_game_result::default_instance_, packetl2c_req_lottery_dice_game_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_req_lottery_dice_game_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_req_lottery_dice_game_result)); packetl2c_bc_dice_game_lottery_result_descriptor_ = file->message_type(58); static const int packetl2c_bc_dice_game_lottery_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, totalgold_), }; packetl2c_bc_dice_game_lottery_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_dice_game_lottery_result_descriptor_, packetl2c_bc_dice_game_lottery_result::default_instance_, packetl2c_bc_dice_game_lottery_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_dice_game_lottery_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_dice_game_lottery_result)); packetl2c_bc_trigger_egg_treasure_descriptor_ = file->message_type(59); static const int packetl2c_bc_trigger_egg_treasure_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, turrerrate_), }; packetl2c_bc_trigger_egg_treasure_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_trigger_egg_treasure_descriptor_, packetl2c_bc_trigger_egg_treasure::default_instance_, packetl2c_bc_trigger_egg_treasure_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_egg_treasure, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_trigger_egg_treasure)); packetc2l_egg_treasure_lottery_descriptor_ = file->message_type(60); static const int packetc2l_egg_treasure_lottery_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, index_), }; packetc2l_egg_treasure_lottery_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_egg_treasure_lottery_descriptor_, packetc2l_egg_treasure_lottery::default_instance_, packetc2l_egg_treasure_lottery_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_egg_treasure_lottery, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_egg_treasure_lottery)); packetl2c_egg_treasure_lottery_result_descriptor_ = file->message_type(61); static const int packetl2c_egg_treasure_lottery_result_offsets_[6] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, index_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, gold_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, coin_), }; packetl2c_egg_treasure_lottery_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_egg_treasure_lottery_result_descriptor_, packetl2c_egg_treasure_lottery_result::default_instance_, packetl2c_egg_treasure_lottery_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_egg_treasure_lottery_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_egg_treasure_lottery_result)); packetc2l_change_room_rate_descriptor_ = file->message_type(62); static const int packetc2l_change_room_rate_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, rate_), }; packetc2l_change_room_rate_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_change_room_rate_descriptor_, packetc2l_change_room_rate::default_instance_, packetc2l_change_room_rate_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_room_rate, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_change_room_rate)); packetl2c_change_room_rate_result_descriptor_ = file->message_type(63); static const int packetl2c_change_room_rate_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, rate_), }; packetl2c_change_room_rate_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_change_room_rate_result_descriptor_, packetl2c_change_room_rate_result::default_instance_, packetl2c_change_room_rate_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_room_rate_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_change_room_rate_result)); packetc2l_change_bullet_power_descriptor_ = file->message_type(64); static const int packetc2l_change_bullet_power_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, rate_), }; packetc2l_change_bullet_power_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_change_bullet_power_descriptor_, packetc2l_change_bullet_power::default_instance_, packetc2l_change_bullet_power_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_change_bullet_power, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_change_bullet_power)); packetl2c_change_bullet_power_result_descriptor_ = file->message_type(65); static const int packetl2c_change_bullet_power_result_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, rate_), }; packetl2c_change_bullet_power_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_change_bullet_power_result_descriptor_, packetl2c_change_bullet_power_result::default_instance_, packetl2c_change_bullet_power_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_change_bullet_power_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_change_bullet_power_result)); packetl2c_bc_trigger_treasure_bowl_descriptor_ = file->message_type(66); static const int packetl2c_bc_trigger_treasure_bowl_offsets_[4] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, fishid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, turrerrate_), }; packetl2c_bc_trigger_treasure_bowl_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_trigger_treasure_bowl_descriptor_, packetl2c_bc_trigger_treasure_bowl::default_instance_, packetl2c_bc_trigger_treasure_bowl_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_treasure_bowl, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_trigger_treasure_bowl)); packetc2l_treasure_bowl_lottery_descriptor_ = file->message_type(67); static const int packetc2l_treasure_bowl_lottery_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, index_), }; packetc2l_treasure_bowl_lottery_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_treasure_bowl_lottery_descriptor_, packetc2l_treasure_bowl_lottery::default_instance_, packetc2l_treasure_bowl_lottery_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_treasure_bowl_lottery, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_treasure_bowl_lottery)); packetl2c_treasure_bowl_lottery_result_descriptor_ = file->message_type(68); static const int packetl2c_treasure_bowl_lottery_result_offsets_[5] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, index_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, items_), }; packetl2c_treasure_bowl_lottery_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_treasure_bowl_lottery_result_descriptor_, packetl2c_treasure_bowl_lottery_result::default_instance_, packetl2c_treasure_bowl_lottery_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_treasure_bowl_lottery_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_treasure_bowl_lottery_result)); packetl2c_bc_trigger_flood_dragon_fly_descriptor_ = file->message_type(69); static const int packetl2c_bc_trigger_flood_dragon_fly_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, playerid_), }; packetl2c_bc_trigger_flood_dragon_fly_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_bc_trigger_flood_dragon_fly_descriptor_, packetl2c_bc_trigger_flood_dragon_fly::default_instance_, packetl2c_bc_trigger_flood_dragon_fly_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_bc_trigger_flood_dragon_fly, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_bc_trigger_flood_dragon_fly)); packetc2l_flood_dragon_fly_lottery_descriptor_ = file->message_type(70); static const int packetc2l_flood_dragon_fly_lottery_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flood_dragon_fly_lottery, packet_id_), }; packetc2l_flood_dragon_fly_lottery_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_flood_dragon_fly_lottery_descriptor_, packetc2l_flood_dragon_fly_lottery::default_instance_, packetc2l_flood_dragon_fly_lottery_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flood_dragon_fly_lottery, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_flood_dragon_fly_lottery, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_flood_dragon_fly_lottery)); packetl2c_flood_dragon_fly_lottery_result_descriptor_ = file->message_type(71); static const int packetl2c_flood_dragon_fly_lottery_result_offsets_[7] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, result_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, score_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, bulletrate_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, points_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, addpoints_), }; packetl2c_flood_dragon_fly_lottery_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_flood_dragon_fly_lottery_result_descriptor_, packetl2c_flood_dragon_fly_lottery_result::default_instance_, packetl2c_flood_dragon_fly_lottery_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_flood_dragon_fly_lottery_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_flood_dragon_fly_lottery_result)); packetl2c_send_item_descriptor_ = file->message_type(72); static const int packetl2c_send_item_offsets_[3] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, playerid_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, items_), }; packetl2c_send_item_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_send_item_descriptor_, packetl2c_send_item::default_instance_, packetl2c_send_item_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_send_item, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_send_item)); packetc2l_receive_tommorrow_reward_descriptor_ = file->message_type(73); static const int packetc2l_receive_tommorrow_reward_offsets_[1] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_tommorrow_reward, packet_id_), }; packetc2l_receive_tommorrow_reward_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetc2l_receive_tommorrow_reward_descriptor_, packetc2l_receive_tommorrow_reward::default_instance_, packetc2l_receive_tommorrow_reward_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_tommorrow_reward, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetc2l_receive_tommorrow_reward, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetc2l_receive_tommorrow_reward)); packetl2c_receive_tommorrow_reward_result_descriptor_ = file->message_type(74); static const int packetl2c_receive_tommorrow_reward_result_offsets_[2] = { GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, packet_id_), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, result_), }; packetl2c_receive_tommorrow_reward_result_reflection_ = new ::google::protobuf::internal::GeneratedMessageReflection( packetl2c_receive_tommorrow_reward_result_descriptor_, packetl2c_receive_tommorrow_reward_result::default_instance_, packetl2c_receive_tommorrow_reward_result_offsets_, GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, _has_bits_[0]), GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(packetl2c_receive_tommorrow_reward_result, _unknown_fields_), -1, ::google::protobuf::DescriptorPool::generated_pool(), ::google::protobuf::MessageFactory::generated_factory(), sizeof(packetl2c_receive_tommorrow_reward_result)); } namespace { GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_); inline void protobuf_AssignDescriptorsOnce() { ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_, &protobuf_AssignDesc_fish_5flogic_2eproto); } void protobuf_RegisterTypes(const ::std::string&) { protobuf_AssignDescriptorsOnce(); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_get_scene_info_descriptor_, &packetc2l_get_scene_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_get_scene_info_result_descriptor_, &packetl2c_get_scene_info_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_change_rate_descriptor_, &packetc2l_change_rate::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_sync_gold_descriptor_, &packetc2l_sync_gold::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_enter_seat_descriptor_, &packetl2c_bc_enter_seat::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_leave_seat_descriptor_, &packetl2c_bc_leave_seat::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_robot_enter_descriptor_, &packetl2c_robot_enter::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_robot_leave_descriptor_, &packetl2c_robot_leave::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_change_rate_descriptor_, &packetl2c_bc_change_rate::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_change_attr_descriptor_, &packetl2c_bc_change_attr::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_create_fish_descriptor_, &packetl2c_bc_create_fish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_create_generator_descriptor_, &packetl2c_bc_create_generator::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( ManualFireEx_descriptor_, &ManualFireEx::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_manual_fire_descriptor_, &packetc2l_manual_fire::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_manual_fire_descriptor_, &packetl2c_bc_manual_fire::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_hit_fish_descriptor_, &packetc2l_hit_fish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_hit_fishs_descriptor_, &packetc2l_hit_fishs::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( LegindaryCoinGainInfo_descriptor_, &LegindaryCoinGainInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_fish_die_descriptor_, &packetl2c_bc_fish_die::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_notify_bullet_explode_descriptor_, &packetl2c_notify_bullet_explode::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_bullet_explode_descriptor_, &packetl2c_bc_bullet_explode::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_specialfish_die_descriptor_, &packetl2c_bc_specialfish_die::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_fishs_die_descriptor_, &packetl2c_bc_fishs_die::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_change_scene_descriptor_, &packetl2c_bc_change_scene::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_finish_boss_scene_descriptor_, &packetl2c_bc_finish_boss_scene::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_using_item_descriptor_, &packetl2c_bc_using_item::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_stop_using_item_descriptor_, &packetl2c_bc_stop_using_item::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_changeturret_descriptor_, &packetl2c_bc_changeturret::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_lock_fish_descriptor_, &packetc2l_lock_fish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_lock_fish_descriptor_, &packetl2c_bc_lock_fish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_freeze_descriptor_, &packetl2c_bc_freeze::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_change_scene_bg_descriptor_, &packetl2c_bc_change_scene_bg::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_scene_time_descriptor_, &packetl2c_bc_scene_time::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_change_jackpot_descriptor_, &packetl2c_bc_change_jackpot::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_hit_fishs_descriptor_, &packetl2c_bc_hit_fishs::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_turret_rotate_descriptor_, &packetl2c_bc_turret_rotate::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_change_max_power_descriptor_, &packetl2c_bc_change_max_power::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_table_lottery_descriptor_, &packetl2c_bc_table_lottery::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_req_drop_rate_descriptor_, &packetc2l_req_drop_rate::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_req_drop_rate_result_descriptor_, &packetl2c_req_drop_rate_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packet_c2l_benefits_descriptor_, &packet_c2l_benefits::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packet_l2c_benefits_result_descriptor_, &packet_l2c_benefits_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_table_kill_chipfish_descriptor_, &packetl2c_bc_table_kill_chipfish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_table_kill_turntablefish_descriptor_, &packetl2c_bc_table_kill_turntablefish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_kill_goldfish_descriptor_, &packetl2c_kill_goldfish::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_play_ad_reward_descriptor_, &packetc2l_play_ad_reward::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_play_ad_reward_result_descriptor_, &packetl2c_play_ad_reward_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_receive_redpacket_reward_descriptor_, &packetc2l_receive_redpacket_reward::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_receive_redpacket_reward_result_descriptor_, &packetl2c_receive_redpacket_reward_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_trigger_mysterous_shell_descriptor_, &packetl2c_bc_trigger_mysterous_shell::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_req_lottery_mysterous_shell_descriptor_, &packetc2l_req_lottery_mysterous_shell::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( shellLotteryInfo_descriptor_, &shellLotteryInfo::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_req_lottery_mysterous_shell_result_descriptor_, &packetl2c_req_lottery_mysterous_shell_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_mysterous_shell_lottery_result_descriptor_, &packetl2c_bc_mysterous_shell_lottery_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( dice_change_info_descriptor_, &dice_change_info::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_trigger_dice_game_descriptor_, &packetl2c_bc_trigger_dice_game::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_req_lottery_dice_game_descriptor_, &packetc2l_req_lottery_dice_game::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_req_lottery_dice_game_result_descriptor_, &packetl2c_req_lottery_dice_game_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_dice_game_lottery_result_descriptor_, &packetl2c_bc_dice_game_lottery_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_trigger_egg_treasure_descriptor_, &packetl2c_bc_trigger_egg_treasure::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_egg_treasure_lottery_descriptor_, &packetc2l_egg_treasure_lottery::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_egg_treasure_lottery_result_descriptor_, &packetl2c_egg_treasure_lottery_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_change_room_rate_descriptor_, &packetc2l_change_room_rate::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_change_room_rate_result_descriptor_, &packetl2c_change_room_rate_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_change_bullet_power_descriptor_, &packetc2l_change_bullet_power::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_change_bullet_power_result_descriptor_, &packetl2c_change_bullet_power_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_trigger_treasure_bowl_descriptor_, &packetl2c_bc_trigger_treasure_bowl::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_treasure_bowl_lottery_descriptor_, &packetc2l_treasure_bowl_lottery::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_treasure_bowl_lottery_result_descriptor_, &packetl2c_treasure_bowl_lottery_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_bc_trigger_flood_dragon_fly_descriptor_, &packetl2c_bc_trigger_flood_dragon_fly::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_flood_dragon_fly_lottery_descriptor_, &packetc2l_flood_dragon_fly_lottery::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_flood_dragon_fly_lottery_result_descriptor_, &packetl2c_flood_dragon_fly_lottery_result::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_send_item_descriptor_, &packetl2c_send_item::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetc2l_receive_tommorrow_reward_descriptor_, &packetc2l_receive_tommorrow_reward::default_instance()); ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage( packetl2c_receive_tommorrow_reward_result_descriptor_, &packetl2c_receive_tommorrow_reward_result::default_instance()); } } // namespace void protobuf_ShutdownFile_fish_5flogic_2eproto() { delete packetc2l_get_scene_info::default_instance_; delete packetc2l_get_scene_info_reflection_; delete packetl2c_get_scene_info_result::default_instance_; delete packetl2c_get_scene_info_result_reflection_; delete packetc2l_change_rate::default_instance_; delete packetc2l_change_rate_reflection_; delete packetc2l_sync_gold::default_instance_; delete packetc2l_sync_gold_reflection_; delete packetl2c_bc_enter_seat::default_instance_; delete packetl2c_bc_enter_seat_reflection_; delete packetl2c_bc_leave_seat::default_instance_; delete packetl2c_bc_leave_seat_reflection_; delete packetl2c_robot_enter::default_instance_; delete packetl2c_robot_enter_reflection_; delete packetl2c_robot_leave::default_instance_; delete packetl2c_robot_leave_reflection_; delete packetl2c_bc_change_rate::default_instance_; delete packetl2c_bc_change_rate_reflection_; delete packetl2c_bc_change_attr::default_instance_; delete packetl2c_bc_change_attr_reflection_; delete packetl2c_bc_create_fish::default_instance_; delete packetl2c_bc_create_fish_reflection_; delete packetl2c_bc_create_generator::default_instance_; delete packetl2c_bc_create_generator_reflection_; delete ManualFireEx::default_instance_; delete ManualFireEx_reflection_; delete packetc2l_manual_fire::default_instance_; delete packetc2l_manual_fire_reflection_; delete packetl2c_bc_manual_fire::default_instance_; delete packetl2c_bc_manual_fire_reflection_; delete packetc2l_hit_fish::default_instance_; delete packetc2l_hit_fish_reflection_; delete packetc2l_hit_fishs::default_instance_; delete packetc2l_hit_fishs_reflection_; delete LegindaryCoinGainInfo::default_instance_; delete LegindaryCoinGainInfo_reflection_; delete packetl2c_bc_fish_die::default_instance_; delete packetl2c_bc_fish_die_reflection_; delete packetl2c_notify_bullet_explode::default_instance_; delete packetl2c_notify_bullet_explode_reflection_; delete packetl2c_bc_bullet_explode::default_instance_; delete packetl2c_bc_bullet_explode_reflection_; delete packetl2c_bc_specialfish_die::default_instance_; delete packetl2c_bc_specialfish_die_reflection_; delete packetl2c_bc_fishs_die::default_instance_; delete packetl2c_bc_fishs_die_reflection_; delete packetl2c_bc_change_scene::default_instance_; delete packetl2c_bc_change_scene_reflection_; delete packetl2c_bc_finish_boss_scene::default_instance_; delete packetl2c_bc_finish_boss_scene_reflection_; delete packetl2c_bc_using_item::default_instance_; delete packetl2c_bc_using_item_reflection_; delete packetl2c_bc_stop_using_item::default_instance_; delete packetl2c_bc_stop_using_item_reflection_; delete packetl2c_bc_changeturret::default_instance_; delete packetl2c_bc_changeturret_reflection_; delete packetc2l_lock_fish::default_instance_; delete packetc2l_lock_fish_reflection_; delete packetl2c_bc_lock_fish::default_instance_; delete packetl2c_bc_lock_fish_reflection_; delete packetl2c_bc_freeze::default_instance_; delete packetl2c_bc_freeze_reflection_; delete packetl2c_bc_change_scene_bg::default_instance_; delete packetl2c_bc_change_scene_bg_reflection_; delete packetl2c_bc_scene_time::default_instance_; delete packetl2c_bc_scene_time_reflection_; delete packetl2c_bc_change_jackpot::default_instance_; delete packetl2c_bc_change_jackpot_reflection_; delete packetl2c_bc_hit_fishs::default_instance_; delete packetl2c_bc_hit_fishs_reflection_; delete packetl2c_bc_turret_rotate::default_instance_; delete packetl2c_bc_turret_rotate_reflection_; delete packetl2c_bc_change_max_power::default_instance_; delete packetl2c_bc_change_max_power_reflection_; delete packetl2c_bc_table_lottery::default_instance_; delete packetl2c_bc_table_lottery_reflection_; delete packetc2l_req_drop_rate::default_instance_; delete packetc2l_req_drop_rate_reflection_; delete packetl2c_req_drop_rate_result::default_instance_; delete packetl2c_req_drop_rate_result_reflection_; delete packet_c2l_benefits::default_instance_; delete packet_c2l_benefits_reflection_; delete packet_l2c_benefits_result::default_instance_; delete packet_l2c_benefits_result_reflection_; delete packetl2c_bc_table_kill_chipfish::default_instance_; delete packetl2c_bc_table_kill_chipfish_reflection_; delete packetl2c_bc_table_kill_turntablefish::default_instance_; delete packetl2c_bc_table_kill_turntablefish_reflection_; delete packetl2c_kill_goldfish::default_instance_; delete packetl2c_kill_goldfish_reflection_; delete packetc2l_play_ad_reward::default_instance_; delete packetc2l_play_ad_reward_reflection_; delete packetl2c_play_ad_reward_result::default_instance_; delete packetl2c_play_ad_reward_result_reflection_; delete packetc2l_receive_redpacket_reward::default_instance_; delete packetc2l_receive_redpacket_reward_reflection_; delete packetl2c_receive_redpacket_reward_result::default_instance_; delete packetl2c_receive_redpacket_reward_result_reflection_; delete packetl2c_bc_trigger_mysterous_shell::default_instance_; delete packetl2c_bc_trigger_mysterous_shell_reflection_; delete packetc2l_req_lottery_mysterous_shell::default_instance_; delete packetc2l_req_lottery_mysterous_shell_reflection_; delete shellLotteryInfo::default_instance_; delete shellLotteryInfo_reflection_; delete packetl2c_req_lottery_mysterous_shell_result::default_instance_; delete packetl2c_req_lottery_mysterous_shell_result_reflection_; delete packetl2c_bc_mysterous_shell_lottery_result::default_instance_; delete packetl2c_bc_mysterous_shell_lottery_result_reflection_; delete dice_change_info::default_instance_; delete dice_change_info_reflection_; delete packetl2c_bc_trigger_dice_game::default_instance_; delete packetl2c_bc_trigger_dice_game_reflection_; delete packetc2l_req_lottery_dice_game::default_instance_; delete packetc2l_req_lottery_dice_game_reflection_; delete packetl2c_req_lottery_dice_game_result::default_instance_; delete packetl2c_req_lottery_dice_game_result_reflection_; delete packetl2c_bc_dice_game_lottery_result::default_instance_; delete packetl2c_bc_dice_game_lottery_result_reflection_; delete packetl2c_bc_trigger_egg_treasure::default_instance_; delete packetl2c_bc_trigger_egg_treasure_reflection_; delete packetc2l_egg_treasure_lottery::default_instance_; delete packetc2l_egg_treasure_lottery_reflection_; delete packetl2c_egg_treasure_lottery_result::default_instance_; delete packetl2c_egg_treasure_lottery_result_reflection_; delete packetc2l_change_room_rate::default_instance_; delete packetc2l_change_room_rate_reflection_; delete packetl2c_change_room_rate_result::default_instance_; delete packetl2c_change_room_rate_result_reflection_; delete packetc2l_change_bullet_power::default_instance_; delete packetc2l_change_bullet_power_reflection_; delete packetl2c_change_bullet_power_result::default_instance_; delete packetl2c_change_bullet_power_result_reflection_; delete packetl2c_bc_trigger_treasure_bowl::default_instance_; delete packetl2c_bc_trigger_treasure_bowl_reflection_; delete packetc2l_treasure_bowl_lottery::default_instance_; delete packetc2l_treasure_bowl_lottery_reflection_; delete packetl2c_treasure_bowl_lottery_result::default_instance_; delete packetl2c_treasure_bowl_lottery_result_reflection_; delete packetl2c_bc_trigger_flood_dragon_fly::default_instance_; delete packetl2c_bc_trigger_flood_dragon_fly_reflection_; delete packetc2l_flood_dragon_fly_lottery::default_instance_; delete packetc2l_flood_dragon_fly_lottery_reflection_; delete packetl2c_flood_dragon_fly_lottery_result::default_instance_; delete packetl2c_flood_dragon_fly_lottery_result_reflection_; delete packetl2c_send_item::default_instance_; delete packetl2c_send_item_reflection_; delete packetc2l_receive_tommorrow_reward::default_instance_; delete packetc2l_receive_tommorrow_reward_reflection_; delete packetl2c_receive_tommorrow_reward_result::default_instance_; delete packetl2c_receive_tommorrow_reward_result_reflection_; } void protobuf_AddDesc_fish_5flogic_2eproto() { static bool already_here = false; if (already_here) return; already_here = true; GOOGLE_PROTOBUF_VERIFY_VERSION; ::fish_protocols::protobuf_AddDesc_fish_5fdef_2eproto(); ::fish_protocols::protobuf_AddDesc_fish_5ftype_5fdef_2eproto(); ::msg_type_def::protobuf_AddDesc_msg_5ftype_5fdef_2eproto(); ::fish_protocols::protobuf_AddDesc_fish_5farmedshark_5fpalace_2eproto(); ::google::protobuf::DescriptorPool::InternalAddGeneratedFile( "\n\020fish_logic.proto\022\016fish_protocols\032\016fish" "_def.proto\032\023fish_type_def.proto\032\022msg_typ" "e_def.proto\032\034fish_armedshark_palace.prot" "o\"j\n\030packetc2l_get_scene_info\022N\n\tpacket_" "id\030\001 \001(\0162!.fish_protocols.e_server_msg_t" "ype:\030e_mst_c2l_get_scene_info\"\337\001\n\037packet" "l2c_get_scene_info_result\022U\n\tpacket_id\030\001" " \001(\0162!.fish_protocols.e_server_msg_type:" "\037e_mst_l2c_get_scene_info_result\0222\n\nscen" "e_info\030\002 \001(\0132\036.fish_protocols.msg_scene_" "info\022\027\n\017recvBenefitTime\030\004 \001(\005\022\030\n\020recvBen" "efitCount\030\005 \001(\005\"y\n\025packetc2l_change_rate" "\022K\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_s" "erver_msg_type:\025e_mst_c2l_change_rate\022\023\n" "\013turret_rate\030\002 \001(\005\"d\n\023packetc2l_sync_gol" "d\022M\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_" "server_msg_type:\027e_mst_c2l_ask_sync_gold" "\"\232\001\n\027packetl2c_bc_enter_seat\022M\n\tpacket_i" "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty" "pe:\027e_mst_l2c_bc_enter_seat\0220\n\tseat_info" "\030\002 \001(\0132\035.fish_protocols.msg_seat_info\"{\n" "\027packetl2c_bc_leave_seat\022M\n\tpacket_id\030\001 " "\001(\0162!.fish_protocols.e_server_msg_type:\027" "e_mst_l2c_bc_leave_seat\022\021\n\tplayer_id\030\002 \001" "(\005\"\250\001\n\025packetl2c_robot_enter\022K\n\tpacket_i" "d\030\001 \001(\0162!.fish_protocols.e_server_msg_ty" "pe:\025e_mst_c2l_robot_enter\0220\n\tseat_info\030\002" " \001(\0132\035.fish_protocols.msg_seat_info\022\020\n\010s" "cene_id\030\003 \001(\005\"w\n\025packetl2c_robot_leave\022K" "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser" "ver_msg_type:\025e_mst_l2c_robot_leave\022\021\n\tp" "layer_id\030\002 \001(\005\"\222\001\n\030packetl2c_bc_change_r" "ate\022N\n\tpacket_id\030\001 \001(\0162!.fish_protocols." "e_server_msg_type:\030e_mst_l2c_bc_change_r" "ate\022\021\n\tplayer_id\030\002 \001(\005\022\023\n\013turret_rate\030\003 " "\001(\005\"\347\005\n\030packetl2c_bc_change_attr\022N\n\tpack" "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms" "g_type:\030e_mst_l2c_bc_change_attr\022\021\n\tplay" "er_id\030\002 \001(\005\022\023\n\013change_gold\030\003 \001(\003\022\022\n\nchan" "ge_vip\030\004 \001(\005\022\026\n\016change_diamond\030\005 \001(\005\022\025\n\r" "change_ticket\030\006 \001(\005\022\030\n\020change_dimensity\030" "\007 \001(\005\022\030\n\020change_goldingot\030\010 \001(\005\022\026\n\016chang" "e_tombola\030\t \001(\005\022\034\n\024change_legendaryCoin\030" "\n \001(\005\022\030\n\020change_redpacket\030\013 \001(\005\022\023\n\013chang" "e_chip\030\014 \001(\005\022\025\n\rchange_JDchip\030\r \001(\005\022\027\n\017c" "hange_playerlv\030\016 \001(\005\022\027\n\017change_turretlv\030" "\017 \001(\005\022\031\n\021change_dragonBall\030\020 \001(\005\022\033\n\023chan" "ge_gloryCrystal\030\021 \001(\005\022\026\n\016monthCard_time\030" "\022 \001(\005\022\032\n\022goldMonthCard_time\030\023 \001(\005\022\035\n\025dia" "mondMonthCard_time\030\024 \001(\005\022\033\n\023monthcardrem" "aintime\030\025 \001(\005\022\037\n\027goldmonthcardremaintime" "\030\026 \001(\005\022\"\n\032diamondmonthcardremaintime\030\027 \001" "(\005\022\025\n\rweekCard_time\030\030 \001(\005\022\032\n\022weekcardrem" "aintime\030\031 \001(\005\022\016\n\006reason\030\032 \001(\005\"\303\001\n\030packet" "l2c_bc_create_fish\022N\n\tpacket_id\030\001 \001(\0162!." "fish_protocols.e_server_msg_type:\030e_mst_" "l2c_bc_create_fish\0220\n\tfish_info\030\002 \001(\0132\035." "fish_protocols.msg_fish_info\022\016\n\006reason\030\003" " \001(\005\022\025\n\rownerPlayerId\030\004 \001(\005\"\377\001\n\035packetl2" "c_bc_create_generator\022S\n\tpacket_id\030\001 \001(\016" "2!.fish_protocols.e_server_msg_type:\035e_m" "st_l2c_bc_create_generator\022\024\n\014generator_" "id\030\002 \001(\005\022\020\n\010start_id\030\003 \001(\005\022\023\n\010route_id\030\004" " \001(\005:\0010\022\025\n\006is_red\030\005 \001(\010:\005false\022\r\n\005pos_x\030" "\006 \001(\005\022\r\n\005pos_y\030\007 \001(\005\022\027\n\010is_flash\030\010 \001(\010:\005" "false\"1\n\014ManualFireEx\022\021\n\trefItemId\030\001 \001(\005" "\022\016\n\006fishId\030\002 \001(\005\"\306\002\n\025packetc2l_manual_fi" "re\022K\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e" "_server_msg_type:\025e_mst_c2l_manual_fire\022" "\021\n\tbullet_id\030\002 \001(\005\022\024\n\014bullet_angle\030\003 \001(\005" "\022\027\n\010is_multi\030\004 \001(\010:\005false\022\031\n\nis_violent\030" "\005 \001(\010:\005false\022\026\n\013bullet_type\030\006 \001(\005:\0011\022\023\n\013" "bullet_rate\030\007 \001(\005\022\021\n\troom_rate\030\010 \001(\005\022\024\n\014" "bullet_power\030\t \001(\005\022-\n\007exParam\030\n \001(\0132\034.fi" "sh_protocols.ManualFireEx\"\337\002\n\030packetl2c_" "bc_manual_fire\022N\n\tpacket_id\030\001 \001(\0162!.fish" "_protocols.e_server_msg_type:\030e_mst_l2c_" "bc_manual_fire\022\021\n\tbullet_id\030\002 \001(\005\022\021\n\tpla" "yer_id\030\003 \001(\005\022\024\n\014bullet_angle\030\004 \001(\005\022\016\n\006cu" "rExp\030\005 \001(\003\022\026\n\013bullet_type\030\006 \001(\005:\0011\022\031\n\nis" "_violent\030\007 \001(\010:\005false\022-\n\007exParam\030\010 \001(\0132\034" ".fish_protocols.ManualFireEx\022\016\n\006result\030\t" " \001(\005\022\022\n\nbulletRate\030\n \001(\005\022\023\n\013bulletPower\030" "\013 \001(\005\022\014\n\004gold\030\014 \001(\003\"\202\001\n\022packetc2l_hit_fi" "sh\022H\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e" "_server_msg_type:\022e_mst_c2l_hit_fish\022\021\n\t" "bullet_id\030\003 \001(\005\022\017\n\007fish_id\030\004 \001(\005\"\255\001\n\023pac" "ketc2l_hit_fishs\022I\n\tpacket_id\030\001 \001(\0162!.fi" "sh_protocols.e_server_msg_type:\023e_mst_c2" "l_hit_fishs\022\020\n\010hit_type\030\002 \001(\005\022\021\n\tbullet_" "id\030\003 \001(\005\022\020\n\010fish_ids\030\004 \003(\005\022\024\n\thit_param\030" "\005 \001(\005:\0010\"8\n\025LegindaryCoinGainInfo\022\020\n\010pla" "yerId\030\001 \001(\005\022\r\n\005count\030\002 \001(\005\"\216\004\n\025packetl2c" "_bc_fish_die\022K\n\tpacket_id\030\001 \001(\0162!.fish_p" "rotocols.e_server_msg_type:\025e_mst_l2c_bc" "_fish_die\022\017\n\007fish_id\030\002 \001(\005\022\017\n\007kill_id\030\003 " "\001(\005\022\r\n\005score\030\004 \001(\005\022\022\n\007diamond\030\005 \001(\005:\0010\022\021" "\n\006ticket\030\006 \001(\005:\0010\022\024\n\tdimensity\030\007 \001(\005:\0010\022" "\024\n\trefItemId\030\010 \001(\005:\0010\022\025\n\nDragonBall\030\t \001(" "\005:\0010\022<\n\rLegendaryCoin\030\n \003(\0132%.fish_proto" "cols.LegindaryCoinGainInfo\022\020\n\005point\030\013 \001(" "\005:\0010\022\023\n\010addpoint\030\014 \001(\005:\0010\022\027\n\014qualifyPoin" "t\030\r \001(\005:\0010\022@\n\020dailyTopCardInfo\030\016 \001(\0132&.f" "ish_protocols.ArmedSharkCardTypeInfo\022\'\n\005" "items\030\017 \003(\0132\030.fish_protocols.msg_item\022\021\n" "\tfishCfgId\030\020 \001(\005\022\021\n\tfishScore\030\021 \001(\005\"\234\001\n\037" "packetl2c_notify_bullet_explode\022U\n\tpacke" "t_id\030\001 \001(\0162!.fish_protocols.e_server_msg" "_type:\037e_mst_l2c_notify_bullet_explode\022\020" "\n\010playerId\030\002 \001(\005\022\020\n\010bulletId\030\003 \001(\005\"\335\001\n\033p" "acketl2c_bc_bullet_explode\022Q\n\tpacket_id\030" "\001 \001(\0162!.fish_protocols.e_server_msg_type" ":\033e_mst_l2c_bc_bullet_explode\022\020\n\010playerI" "d\030\002 \001(\005\022\020\n\010bulletId\030\003 \001(\005\022\017\n\007fishIds\030\004 \003" "(\005\022\r\n\005score\030\005 \001(\005\022\'\n\005items\030\006 \003(\0132\030.fish_" "protocols.msg_item\"\343\002\n\034packetl2c_bc_spec" "ialfish_die\022R\n\tpacket_id\030\001 \001(\0162!.fish_pr" "otocols.e_server_msg_type:\034e_mst_l2c_bc_" "specialfish_die\022\017\n\007fish_id\030\002 \001(\005\022\021\n\tplay" "er_id\030\003 \001(\005\022\021\n\tbullet_id\030\004 \001(\005\022\022\n\nbase_s" "core\030\005 \001(\005\022\024\n\tadd_score\030\006 \001(\005:\0010\022\021\n\006tick" "et\030\007 \001(\005:\0010\022\026\n\007getstar\030\010 \001(\010:\005false\022\025\n\nD" "ragonBall\030\t \001(\005:\0010\022\020\n\005point\030\n \001(\005:\0010\022\'\n\005" "items\030\013 \003(\0132\030.fish_protocols.msg_item\022\021\n" "\tfishCfgId\030\014 \001(\005\"\276\003\n\026packetl2c_bc_fishs_" "die\022L\n\tpacket_id\030\001 \001(\0162!.fish_protocols." "e_server_msg_type:\026e_mst_l2c_bc_fishs_di" "e\022\021\n\tplayer_id\030\002 \001(\005\022\020\n\010die_type\030\003 \001(\005\022\022" "\n\ndie_params\030\004 \003(\005\022\023\n\013total_score\030\005 \001(\005\022" "\030\n\rtotal_diamond\030\006 \001(\005:\0010\022\032\n\017total_dimen" "sity\030\007 \001(\005:\0010\022\027\n\014total_ticket\030\010 \001(\005:\0010\022\026" "\n\013total_point\030\t \001(\005:\0010\022\024\n\ttorpedoId\030\n \001(" "\005:\0010\022\021\n\tbase_rate\030\013 \001(\005\022\023\n\010add_rate\030\014 \001(" "\005:\0010\022\021\n\006ticket\030\r \001(\005:\0010\022\024\n\tadd_point\030\016 \001" "(\005:\0010\022\'\n\005items\030\017 \003(\0132\030.fish_protocols.ms" "g_item\022\021\n\tfishCfgId\030\020 \001(\005\"\225\001\n\031packetl2c_" "bc_change_scene\022O\n\tpacket_id\030\001 \001(\0162!.fis" "h_protocols.e_server_msg_type:\031e_mst_l2c" "_bc_change_scene\022\020\n\010scene_id\030\002 \001(\005\022\025\n\rla" "rge_fish_id\030\003 \001(\005\"\277\001\n\036packetl2c_bc_finis" "h_boss_scene\022T\n\tpacket_id\030\001 \001(\0162!.fish_p" "rotocols.e_server_msg_type:\036e_mst_l2c_bc" "_finish_boss_scene\022\023\n\013notify_type\030\002 \001(\005\022" "\017\n\007boss_id\030\003 \001(\005\022\017\n\007jackpot\030\004 \001(\003\022\020\n\010bas" "eGold\030\005 \001(\005\"\242\001\n\027packetl2c_bc_using_item\022" "M\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_se" "rver_msg_type:\027e_mst_l2c_bc_using_item\022\017" "\n\007item_id\030\002 \001(\005\022\021\n\tplayer_id\030\003 \001(\005\022\024\n\010us" "e_time\030\004 \001(\005:\002-1\"\226\001\n\034packetl2c_bc_stop_u" "sing_item\022R\n\tpacket_id\030\001 \001(\0162!.fish_prot" "ocols.e_server_msg_type:\034e_mst_l2c_bc_st" "op_using_item\022\017\n\007item_id\030\002 \001(\005\022\021\n\tplayer" "_id\030\003 \001(\005\"\222\001\n\031packetl2c_bc_changeturret\022" "O\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_se" "rver_msg_type:\031e_mst_l2c_bc_changeturret" "\022\021\n\tturret_id\030\002 \001(\005\022\021\n\tplayer_id\030\003 \001(\005\"q" "\n\023packetc2l_lock_fish\022I\n\tpacket_id\030\001 \001(\016" "2!.fish_protocols.e_server_msg_type:\023e_m" "st_c2l_lock_fish\022\017\n\007fish_id\030\004 \001(\005\"\232\001\n\026pa" "cketl2c_bc_lock_fish\022L\n\tpacket_id\030\001 \001(\0162" "!.fish_protocols.e_server_msg_type:\026e_ms" "t_l2c_bc_lock_fish\022\016\n\006result\030\002 \001(\005\022\021\n\tpl" "ayer_id\030\003 \001(\005\022\017\n\007fish_id\030\004 \001(\005\"\230\001\n\023packe" "tl2c_bc_freeze\022I\n\tpacket_id\030\001 \001(\0162!.fish" "_protocols.e_server_msg_type:\023e_mst_l2c_" "bc_freeze\022\020\n\010fish_ids\030\004 \003(\005\022\023\n\013freeze_Ti" "me\030\002 \001(\005\022\017\n\007is_show\030\003 \001(\010\"\204\001\n\034packetl2c_" "bc_change_scene_bg\022R\n\tpacket_id\030\001 \001(\0162!." "fish_protocols.e_server_msg_type:\034e_mst_" "l2c_bc_change_scene_bg\022\020\n\010scene_id\030\002 \001(\005" "\"|\n\027packetl2c_bc_scene_time\022M\n\tpacket_id" "\030\001 \001(\0162!.fish_protocols.e_server_msg_typ" "e:\027e_mst_l2c_bc_scene_time\022\022\n\nscene_time" "\030\002 \001(\005\"\201\001\n\033packetl2c_bc_change_jackpot\022Q" "\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_ser" "ver_msg_type:\033e_mst_l2c_bc_change_jackpo" "t\022\017\n\007curpool\030\002 \001(\003\"\255\001\n\026packetl2c_bc_hit_" "fishs\022L\n\tpacket_id\030\001 \001(\0162!.fish_protocol" "s.e_server_msg_type:\026e_mst_l2c_bc_hit_fi" "shs\022\021\n\tplayer_id\030\002 \001(\005\022\020\n\010hit_type\030\003 \001(\005" "\022\020\n\010fish_ids\030\004 \003(\005\022\016\n\006params\030\005 \003(\005\"\227\001\n\032p" "acketl2c_bc_turret_rotate\022P\n\tpacket_id\030\001" " \001(\0162!.fish_protocols.e_server_msg_type:" "\032e_mst_l2c_bc_turret_rotate\022\021\n\tplayer_id" "\030\002 \001(\005\022\024\n\014rotate_angle\030\003 \001(\005\"\232\001\n\035packetl" "2c_bc_change_max_power\022S\n\tpacket_id\030\001 \001(" "\0162!.fish_protocols.e_server_msg_type:\035e_" "mst_l2c_bc_change_max_power\022\021\n\tplayer_id" "\030\002 \001(\005\022\021\n\tmax_power\030\003 \001(\005\"\246\001\n\032packetl2c_" "bc_table_lottery\022P\n\tpacket_id\030\001 \001(\0162!.fi" "sh_protocols.e_server_msg_type:\032e_mst_l2" "c_bc_table_lottery\022\021\n\tplayer_id\030\002 \001(\005\022\017\n" "\007item_id\030\003 \001(\005\022\022\n\nitem_count\030\004 \001(\005\"h\n\027pa" "cketc2l_req_drop_rate\022M\n\tpacket_id\030\001 \001(\016" "2!.fish_protocols.e_server_msg_type:\027e_m" "st_c2l_req_drop_rate\"\303\001\n\036packetl2c_req_d" "rop_rate_result\022T\n\tpacket_id\030\001 \001(\0162!.fis" "h_protocols.e_server_msg_type:\036e_mst_l2c" "_req_drop_rate_result\022\n\n\002id\030\002 \001(\005\022\017\n\007cur" "Gold\030\003 \001(\003\022\027\n\017recvBenefitTime\030\004 \001(\005\022\025\n\rt" "riggerGiftId\030\005 \001(\005\"o\n\023packet_c2l_benefit" "s\022H\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_" "server_msg_type:\022e_mst_c2l_beneifts\022\016\n\006d" "ouble\030\002 \001(\010\"\215\001\n\032packet_l2c_benefits_resu" "lt\022O\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e" "_server_msg_type:\031e_mst_l2c_benefits_res" "ult\022\016\n\006double\030\002 \001(\010\022\016\n\006result\030\003 \001(\005\"\257\001\n " "packetl2c_bc_table_kill_chipfish\022V\n\tpack" "et_id\030\001 \001(\0162!.fish_protocols.e_server_ms" "g_type: e_mst_l2c_bc_table_kill_chipfish" "\022\020\n\010playerId\030\002 \001(\005\022\021\n\tLotteryId\030\003 \001(\005\022\016\n" "\006fishId\030\004 \001(\005\"\334\001\n%packetl2c_bc_table_kil" "l_turntablefish\022[\n\tpacket_id\030\001 \001(\0162!.fis" "h_protocols.e_server_msg_type:%e_mst_l2c" "_bc_table_kill_turntablefish\022\020\n\010playerId" "\030\002 \001(\005\022\014\n\004gold\030\003 \001(\005\022\016\n\006fishId\030\004 \001(\005\022\016\n\006" "turnId\030\005 \001(\005\022\026\n\016remainTimeCard\030\006 \001(\005\"\215\001\n" "\027packetl2c_kill_goldfish\022M\n\tpacket_id\030\001 " "\001(\0162!.fish_protocols.e_server_msg_type:\027" "e_mst_l2c_kill_goldfish\022\021\n\tkillcount\030\002 \001" "(\005\022\020\n\010goldpool\030\003 \001(\005\"z\n\030packetc2l_play_a" "d_reward\022N\n\tpacket_id\030\001 \001(\0162!.fish_proto" "cols.e_server_msg_type:\030e_mst_c2l_play_a" "d_reward\022\016\n\006double\030\002 \001(\010\"\230\001\n\037packetl2c_p" "lay_ad_reward_result\022U\n\tpacket_id\030\001 \001(\0162" "!.fish_protocols.e_server_msg_type:\037e_ms" "t_l2c_play_ad_reward_result\022\016\n\006double\030\002 " "\001(\010\022\016\n\006result\030\003 \001(\005\"~\n\"packetc2l_receive" "_redpacket_reward\022X\n\tpacket_id\030\001 \001(\0162!.f" "ish_protocols.e_server_msg_type:\"e_mst_c" "2l_receive_redpacket_reward\"\352\001\n)packetl2" "c_receive_redpacket_reward_result\022_\n\tpac" "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m" "sg_type:)e_mst_l2c_receive_redpacket_rew" "ard_result\022\016\n\006result\030\002 \001(\005\022\023\n\013rewardInde" "x\030\003 \001(\005\0227\n\017redEnvlopeInfos\030\004 \003(\0132\036.fish_" "protocols.redEnvlopeInfo\"\224\001\n$packetl2c_b" "c_trigger_mysterous_shell\022Z\n\tpacket_id\030\001" " \001(\0162!.fish_protocols.e_server_msg_type:" "$e_mst_l2c_bc_trigger_mysterous_shell\022\020\n" "\010playerId\030\002 \001(\005\"\223\001\n%packetc2l_req_lotter" "y_mysterous_shell\022[\n\tpacket_id\030\001 \001(\0162!.f" "ish_protocols.e_server_msg_type:%e_mst_c" "2l_req_lottery_mysterous_shell\022\r\n\005index\030" "\002 \001(\005\"C\n\020shellLotteryInfo\022\r\n\005index\030\001 \001(\005" "\022\022\n\nturretRate\030\002 \001(\005\022\014\n\004gold\030\003 \001(\005\"\331\001\n,p" "acketl2c_req_lottery_mysterous_shell_res" "ult\022b\n\tpacket_id\030\001 \001(\0162!.fish_protocols." "e_server_msg_type:,e_mst_l2c_req_lottery" "_mysterous_shell_result\022\016\n\006result\030\002 \001(\005\022" "5\n\013lotteryInfo\030\003 \001(\0132 .fish_protocols.sh" "ellLotteryInfo\"\354\001\n+packetl2c_bc_mysterou" "s_shell_lottery_result\022a\n\tpacket_id\030\001 \001(" "\0162!.fish_protocols.e_server_msg_type:+e_" "mst_l2c_bc_mysterous_shell_lottery_resul" "t\022\020\n\010playerId\030\002 \001(\005\022\021\n\ttotalGold\030\003 \001(\005\0225" "\n\013lotteryInfo\030\004 \003(\0132 .fish_protocols.she" "llLotteryInfo\"3\n\020dice_change_info\022\020\n\010nic" "kName\030\001 \001(\t\022\r\n\005score\030\002 \001(\005\"\320\001\n\036packetl2c" "_bc_trigger_dice_game\022T\n\tpacket_id\030\001 \001(\016" "2!.fish_protocols.e_server_msg_type:\036e_m" "st_l2c_bc_trigger_dice_game\022\020\n\010playerId\030" "\002 \001(\005\022\020\n\010baseGold\030\003 \001(\005\0224\n\nchangeList\030\004 " "\003(\0132 .fish_protocols.dice_change_info\"\210\001" "\n\037packetc2l_req_lottery_dice_game\022U\n\tpac" "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m" "sg_type:\037e_mst_c2l_req_lottery_dice_game" "\022\016\n\006opType\030\002 \001(\005\"\312\001\n&packetl2c_req_lotte" "ry_dice_game_result\022\\\n\tpacket_id\030\001 \001(\0162!" ".fish_protocols.e_server_msg_type:&e_mst" "_l2c_req_lottery_dice_game_result\022\016\n\006res" "ult\030\002 \001(\005\022\016\n\006opType\030\003 \001(\005\022\017\n\007curGold\030\004 \001" "(\005\022\021\n\tresultNum\030\005 \001(\005\"\251\001\n%packetl2c_bc_d" "ice_game_lottery_result\022[\n\tpacket_id\030\001 \001" "(\0162!.fish_protocols.e_server_msg_type:%e" "_mst_l2c_bc_dice_game_lottery_result\022\020\n\010" "playerId\030\002 \001(\005\022\021\n\ttotalGold\030\003 \001(\005\"\242\001\n!pa" "cketl2c_bc_trigger_egg_treasure\022W\n\tpacke" "t_id\030\001 \001(\0162!.fish_protocols.e_server_msg" "_type:!e_mst_l2c_bc_trigger_egg_treasure" "\022\020\n\010playerId\030\002 \001(\005\022\022\n\nturrerRate\030\003 \001(\005\"\205" "\001\n\036packetc2l_egg_treasure_lottery\022T\n\tpac" "ket_id\030\001 \001(\0162!.fish_protocols.e_server_m" "sg_type:\036e_mst_c2l_egg_treasure_lottery\022" "\r\n\005index\030\002 \001(\005\"\321\001\n%packetl2c_egg_treasur" "e_lottery_result\022[\n\tpacket_id\030\001 \001(\0162!.fi" "sh_protocols.e_server_msg_type:%e_mst_l2" "c_egg_treasure_lottery_result\022\020\n\010playerI" "d\030\002 \001(\005\022\016\n\006result\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\022\014" "\n\004gold\030\005 \001(\005\022\014\n\004coin\030\006 \001(\005\"|\n\032packetc2l_" "change_room_rate\022P\n\tpacket_id\030\001 \001(\0162!.fi" "sh_protocols.e_server_msg_type:\032e_mst_c2" "l_change_room_rate\022\014\n\004rate\030\002 \001(\005\"\232\001\n!pac" "ketl2c_change_room_rate_result\022W\n\tpacket" "_id\030\001 \001(\0162!.fish_protocols.e_server_msg_" "type:!e_mst_l2c_change_room_rate_result\022" "\016\n\006result\030\002 \001(\005\022\014\n\004rate\030\003 \001(\005\"\202\001\n\035packet" "c2l_change_bullet_power\022S\n\tpacket_id\030\001 \001" "(\0162!.fish_protocols.e_server_msg_type:\035e" "_mst_c2l_change_bullet_power\022\014\n\004rate\030\002 \001" "(\005\"\240\001\n$packetl2c_change_bullet_power_res" "ult\022Z\n\tpacket_id\030\001 \001(\0162!.fish_protocols." "e_server_msg_type:$e_mst_l2c_change_bull" "et_power_result\022\016\n\006result\030\002 \001(\005\022\014\n\004rate\030" "\003 \001(\005\"\264\001\n\"packetl2c_bc_trigger_treasure_" "bowl\022X\n\tpacket_id\030\001 \001(\0162!.fish_protocols" ".e_server_msg_type:\"e_mst_l2c_bc_trigger" "_treasure_bowl\022\020\n\010playerId\030\002 \001(\005\022\016\n\006fish" "Id\030\003 \001(\005\022\022\n\nturrerRate\030\004 \001(\005\"\207\001\n\037packetc" "2l_treasure_bowl_lottery\022U\n\tpacket_id\030\001 " "\001(\0162!.fish_protocols.e_server_msg_type:\037" "e_mst_c2l_treasure_bowl_lottery\022\r\n\005index" "\030\002 \001(\005\"\340\001\n&packetl2c_treasure_bowl_lotte" "ry_result\022\\\n\tpacket_id\030\001 \001(\0162!.fish_prot" "ocols.e_server_msg_type:&e_mst_l2c_treas" "ure_bowl_lottery_result\022\020\n\010playerId\030\002 \001(" "\005\022\016\n\006result\030\003 \001(\005\022\r\n\005index\030\004 \001(\005\022\'\n\005item" "s\030\006 \003(\0132\030.fish_protocols.msg_item\"\226\001\n%pa" "cketl2c_bc_trigger_flood_dragon_fly\022[\n\tp" "acket_id\030\001 \001(\0162!.fish_protocols.e_server" "_msg_type:%e_mst_l2c_bc_trigger_flood_dr" "agon_fly\022\020\n\010playerId\030\002 \001(\005\"~\n\"packetc2l_" "flood_dragon_fly_lottery\022X\n\tpacket_id\030\001 " "\001(\0162!.fish_protocols.e_server_msg_type:\"" "e_mst_c2l_flood_dragon_fly_lottery\"\364\001\n)p" "acketl2c_flood_dragon_fly_lottery_result" "\022_\n\tpacket_id\030\001 \001(\0162!.fish_protocols.e_s" "erver_msg_type:)e_mst_l2c_flood_dragon_f" "ly_lottery_result\022\020\n\010playerId\030\002 \001(\005\022\016\n\006r" "esult\030\003 \001(\005\022\r\n\005score\030\004 \001(\005\022\022\n\nbulletRate" "\030\005 \001(\005\022\016\n\006points\030\006 \001(\005\022\021\n\taddpoints\030\007 \001(" "\005\"\233\001\n\023packetl2c_send_item\022I\n\tpacket_id\030\001" " \001(\0162!.fish_protocols.e_server_msg_type:" "\023e_mst_l2c_send_item\022\020\n\010playerId\030\002 \001(\005\022\'" "\n\005items\030\003 \003(\0132\030.fish_protocols.msg_item\"" "~\n\"packetc2l_receive_tommorrow_reward\022X\n" "\tpacket_id\030\001 \001(\0162!.fish_protocols.e_serv" "er_msg_type:\"e_mst_c2l_receive_tommorrow" "_reward\"\234\001\n)packetl2c_receive_tommorrow_" "reward_result\022_\n\tpacket_id\030\001 \001(\0162!.fish_" "protocols.e_server_msg_type:)e_mst_l2c_r" "eceive_tommorrow_reward_result\022\016\n\006result" "\030\002 \001(\005", 13686); ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile( "fish_logic.proto", &protobuf_RegisterTypes); packetc2l_get_scene_info::default_instance_ = new packetc2l_get_scene_info(); packetl2c_get_scene_info_result::default_instance_ = new packetl2c_get_scene_info_result(); packetc2l_change_rate::default_instance_ = new packetc2l_change_rate(); packetc2l_sync_gold::default_instance_ = new packetc2l_sync_gold(); packetl2c_bc_enter_seat::default_instance_ = new packetl2c_bc_enter_seat(); packetl2c_bc_leave_seat::default_instance_ = new packetl2c_bc_leave_seat(); packetl2c_robot_enter::default_instance_ = new packetl2c_robot_enter(); packetl2c_robot_leave::default_instance_ = new packetl2c_robot_leave(); packetl2c_bc_change_rate::default_instance_ = new packetl2c_bc_change_rate(); packetl2c_bc_change_attr::default_instance_ = new packetl2c_bc_change_attr(); packetl2c_bc_create_fish::default_instance_ = new packetl2c_bc_create_fish(); packetl2c_bc_create_generator::default_instance_ = new packetl2c_bc_create_generator(); ManualFireEx::default_instance_ = new ManualFireEx(); packetc2l_manual_fire::default_instance_ = new packetc2l_manual_fire(); packetl2c_bc_manual_fire::default_instance_ = new packetl2c_bc_manual_fire(); packetc2l_hit_fish::default_instance_ = new packetc2l_hit_fish(); packetc2l_hit_fishs::default_instance_ = new packetc2l_hit_fishs(); LegindaryCoinGainInfo::default_instance_ = new LegindaryCoinGainInfo(); packetl2c_bc_fish_die::default_instance_ = new packetl2c_bc_fish_die(); packetl2c_notify_bullet_explode::default_instance_ = new packetl2c_notify_bullet_explode(); packetl2c_bc_bullet_explode::default_instance_ = new packetl2c_bc_bullet_explode(); packetl2c_bc_specialfish_die::default_instance_ = new packetl2c_bc_specialfish_die(); packetl2c_bc_fishs_die::default_instance_ = new packetl2c_bc_fishs_die(); packetl2c_bc_change_scene::default_instance_ = new packetl2c_bc_change_scene(); packetl2c_bc_finish_boss_scene::default_instance_ = new packetl2c_bc_finish_boss_scene(); packetl2c_bc_using_item::default_instance_ = new packetl2c_bc_using_item(); packetl2c_bc_stop_using_item::default_instance_ = new packetl2c_bc_stop_using_item(); packetl2c_bc_changeturret::default_instance_ = new packetl2c_bc_changeturret(); packetc2l_lock_fish::default_instance_ = new packetc2l_lock_fish(); packetl2c_bc_lock_fish::default_instance_ = new packetl2c_bc_lock_fish(); packetl2c_bc_freeze::default_instance_ = new packetl2c_bc_freeze(); packetl2c_bc_change_scene_bg::default_instance_ = new packetl2c_bc_change_scene_bg(); packetl2c_bc_scene_time::default_instance_ = new packetl2c_bc_scene_time(); packetl2c_bc_change_jackpot::default_instance_ = new packetl2c_bc_change_jackpot(); packetl2c_bc_hit_fishs::default_instance_ = new packetl2c_bc_hit_fishs(); packetl2c_bc_turret_rotate::default_instance_ = new packetl2c_bc_turret_rotate(); packetl2c_bc_change_max_power::default_instance_ = new packetl2c_bc_change_max_power(); packetl2c_bc_table_lottery::default_instance_ = new packetl2c_bc_table_lottery(); packetc2l_req_drop_rate::default_instance_ = new packetc2l_req_drop_rate(); packetl2c_req_drop_rate_result::default_instance_ = new packetl2c_req_drop_rate_result(); packet_c2l_benefits::default_instance_ = new packet_c2l_benefits(); packet_l2c_benefits_result::default_instance_ = new packet_l2c_benefits_result(); packetl2c_bc_table_kill_chipfish::default_instance_ = new packetl2c_bc_table_kill_chipfish(); packetl2c_bc_table_kill_turntablefish::default_instance_ = new packetl2c_bc_table_kill_turntablefish(); packetl2c_kill_goldfish::default_instance_ = new packetl2c_kill_goldfish(); packetc2l_play_ad_reward::default_instance_ = new packetc2l_play_ad_reward(); packetl2c_play_ad_reward_result::default_instance_ = new packetl2c_play_ad_reward_result(); packetc2l_receive_redpacket_reward::default_instance_ = new packetc2l_receive_redpacket_reward(); packetl2c_receive_redpacket_reward_result::default_instance_ = new packetl2c_receive_redpacket_reward_result(); packetl2c_bc_trigger_mysterous_shell::default_instance_ = new packetl2c_bc_trigger_mysterous_shell(); packetc2l_req_lottery_mysterous_shell::default_instance_ = new packetc2l_req_lottery_mysterous_shell(); shellLotteryInfo::default_instance_ = new shellLotteryInfo(); packetl2c_req_lottery_mysterous_shell_result::default_instance_ = new packetl2c_req_lottery_mysterous_shell_result(); packetl2c_bc_mysterous_shell_lottery_result::default_instance_ = new packetl2c_bc_mysterous_shell_lottery_result(); dice_change_info::default_instance_ = new dice_change_info(); packetl2c_bc_trigger_dice_game::default_instance_ = new packetl2c_bc_trigger_dice_game(); packetc2l_req_lottery_dice_game::default_instance_ = new packetc2l_req_lottery_dice_game(); packetl2c_req_lottery_dice_game_result::default_instance_ = new packetl2c_req_lottery_dice_game_result(); packetl2c_bc_dice_game_lottery_result::default_instance_ = new packetl2c_bc_dice_game_lottery_result(); packetl2c_bc_trigger_egg_treasure::default_instance_ = new packetl2c_bc_trigger_egg_treasure(); packetc2l_egg_treasure_lottery::default_instance_ = new packetc2l_egg_treasure_lottery(); packetl2c_egg_treasure_lottery_result::default_instance_ = new packetl2c_egg_treasure_lottery_result(); packetc2l_change_room_rate::default_instance_ = new packetc2l_change_room_rate(); packetl2c_change_room_rate_result::default_instance_ = new packetl2c_change_room_rate_result(); packetc2l_change_bullet_power::default_instance_ = new packetc2l_change_bullet_power(); packetl2c_change_bullet_power_result::default_instance_ = new packetl2c_change_bullet_power_result(); packetl2c_bc_trigger_treasure_bowl::default_instance_ = new packetl2c_bc_trigger_treasure_bowl(); packetc2l_treasure_bowl_lottery::default_instance_ = new packetc2l_treasure_bowl_lottery(); packetl2c_treasure_bowl_lottery_result::default_instance_ = new packetl2c_treasure_bowl_lottery_result(); packetl2c_bc_trigger_flood_dragon_fly::default_instance_ = new packetl2c_bc_trigger_flood_dragon_fly(); packetc2l_flood_dragon_fly_lottery::default_instance_ = new packetc2l_flood_dragon_fly_lottery(); packetl2c_flood_dragon_fly_lottery_result::default_instance_ = new packetl2c_flood_dragon_fly_lottery_result(); packetl2c_send_item::default_instance_ = new packetl2c_send_item(); packetc2l_receive_tommorrow_reward::default_instance_ = new packetc2l_receive_tommorrow_reward(); packetl2c_receive_tommorrow_reward_result::default_instance_ = new packetl2c_receive_tommorrow_reward_result(); packetc2l_get_scene_info::default_instance_->InitAsDefaultInstance(); packetl2c_get_scene_info_result::default_instance_->InitAsDefaultInstance(); packetc2l_change_rate::default_instance_->InitAsDefaultInstance(); packetc2l_sync_gold::default_instance_->InitAsDefaultInstance(); packetl2c_bc_enter_seat::default_instance_->InitAsDefaultInstance(); packetl2c_bc_leave_seat::default_instance_->InitAsDefaultInstance(); packetl2c_robot_enter::default_instance_->InitAsDefaultInstance(); packetl2c_robot_leave::default_instance_->InitAsDefaultInstance(); packetl2c_bc_change_rate::default_instance_->InitAsDefaultInstance(); packetl2c_bc_change_attr::default_instance_->InitAsDefaultInstance(); packetl2c_bc_create_fish::default_instance_->InitAsDefaultInstance(); packetl2c_bc_create_generator::default_instance_->InitAsDefaultInstance(); ManualFireEx::default_instance_->InitAsDefaultInstance(); packetc2l_manual_fire::default_instance_->InitAsDefaultInstance(); packetl2c_bc_manual_fire::default_instance_->InitAsDefaultInstance(); packetc2l_hit_fish::default_instance_->InitAsDefaultInstance(); packetc2l_hit_fishs::default_instance_->InitAsDefaultInstance(); LegindaryCoinGainInfo::default_instance_->InitAsDefaultInstance(); packetl2c_bc_fish_die::default_instance_->InitAsDefaultInstance(); packetl2c_notify_bullet_explode::default_instance_->InitAsDefaultInstance(); packetl2c_bc_bullet_explode::default_instance_->InitAsDefaultInstance(); packetl2c_bc_specialfish_die::default_instance_->InitAsDefaultInstance(); packetl2c_bc_fishs_die::default_instance_->InitAsDefaultInstance(); packetl2c_bc_change_scene::default_instance_->InitAsDefaultInstance(); packetl2c_bc_finish_boss_scene::default_instance_->InitAsDefaultInstance(); packetl2c_bc_using_item::default_instance_->InitAsDefaultInstance(); packetl2c_bc_stop_using_item::default_instance_->InitAsDefaultInstance(); packetl2c_bc_changeturret::default_instance_->InitAsDefaultInstance(); packetc2l_lock_fish::default_instance_->InitAsDefaultInstance(); packetl2c_bc_lock_fish::default_instance_->InitAsDefaultInstance(); packetl2c_bc_freeze::default_instance_->InitAsDefaultInstance(); packetl2c_bc_change_scene_bg::default_instance_->InitAsDefaultInstance(); packetl2c_bc_scene_time::default_instance_->InitAsDefaultInstance(); packetl2c_bc_change_jackpot::default_instance_->InitAsDefaultInstance(); packetl2c_bc_hit_fishs::default_instance_->InitAsDefaultInstance(); packetl2c_bc_turret_rotate::default_instance_->InitAsDefaultInstance(); packetl2c_bc_change_max_power::default_instance_->InitAsDefaultInstance(); packetl2c_bc_table_lottery::default_instance_->InitAsDefaultInstance(); packetc2l_req_drop_rate::default_instance_->InitAsDefaultInstance(); packetl2c_req_drop_rate_result::default_instance_->InitAsDefaultInstance(); packet_c2l_benefits::default_instance_->InitAsDefaultInstance(); packet_l2c_benefits_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_table_kill_chipfish::default_instance_->InitAsDefaultInstance(); packetl2c_bc_table_kill_turntablefish::default_instance_->InitAsDefaultInstance(); packetl2c_kill_goldfish::default_instance_->InitAsDefaultInstance(); packetc2l_play_ad_reward::default_instance_->InitAsDefaultInstance(); packetl2c_play_ad_reward_result::default_instance_->InitAsDefaultInstance(); packetc2l_receive_redpacket_reward::default_instance_->InitAsDefaultInstance(); packetl2c_receive_redpacket_reward_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_trigger_mysterous_shell::default_instance_->InitAsDefaultInstance(); packetc2l_req_lottery_mysterous_shell::default_instance_->InitAsDefaultInstance(); shellLotteryInfo::default_instance_->InitAsDefaultInstance(); packetl2c_req_lottery_mysterous_shell_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_mysterous_shell_lottery_result::default_instance_->InitAsDefaultInstance(); dice_change_info::default_instance_->InitAsDefaultInstance(); packetl2c_bc_trigger_dice_game::default_instance_->InitAsDefaultInstance(); packetc2l_req_lottery_dice_game::default_instance_->InitAsDefaultInstance(); packetl2c_req_lottery_dice_game_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_dice_game_lottery_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_trigger_egg_treasure::default_instance_->InitAsDefaultInstance(); packetc2l_egg_treasure_lottery::default_instance_->InitAsDefaultInstance(); packetl2c_egg_treasure_lottery_result::default_instance_->InitAsDefaultInstance(); packetc2l_change_room_rate::default_instance_->InitAsDefaultInstance(); packetl2c_change_room_rate_result::default_instance_->InitAsDefaultInstance(); packetc2l_change_bullet_power::default_instance_->InitAsDefaultInstance(); packetl2c_change_bullet_power_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_trigger_treasure_bowl::default_instance_->InitAsDefaultInstance(); packetc2l_treasure_bowl_lottery::default_instance_->InitAsDefaultInstance(); packetl2c_treasure_bowl_lottery_result::default_instance_->InitAsDefaultInstance(); packetl2c_bc_trigger_flood_dragon_fly::default_instance_->InitAsDefaultInstance(); packetc2l_flood_dragon_fly_lottery::default_instance_->InitAsDefaultInstance(); packetl2c_flood_dragon_fly_lottery_result::default_instance_->InitAsDefaultInstance(); packetl2c_send_item::default_instance_->InitAsDefaultInstance(); packetc2l_receive_tommorrow_reward::default_instance_->InitAsDefaultInstance(); packetl2c_receive_tommorrow_reward_result::default_instance_->InitAsDefaultInstance(); ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_fish_5flogic_2eproto); } // Force AddDescriptors() to be called at static initialization time. struct StaticDescriptorInitializer_fish_5flogic_2eproto { StaticDescriptorInitializer_fish_5flogic_2eproto() { protobuf_AddDesc_fish_5flogic_2eproto(); } } static_descriptor_initializer_fish_5flogic_2eproto_; // =================================================================== #ifndef _MSC_VER const int packetc2l_get_scene_info::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_get_scene_info::packetc2l_get_scene_info() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_get_scene_info::InitAsDefaultInstance() { } packetc2l_get_scene_info::packetc2l_get_scene_info(const packetc2l_get_scene_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_get_scene_info::SharedCtor() { _cached_size_ = 0; packet_id_ = 10100; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_get_scene_info::~packetc2l_get_scene_info() { SharedDtor(); } void packetc2l_get_scene_info::SharedDtor() { if (this != default_instance_) { } } void packetc2l_get_scene_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_get_scene_info::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_get_scene_info_descriptor_; } const packetc2l_get_scene_info& packetc2l_get_scene_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_get_scene_info* packetc2l_get_scene_info::default_instance_ = NULL; packetc2l_get_scene_info* packetc2l_get_scene_info::New() const { return new packetc2l_get_scene_info; } void packetc2l_get_scene_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10100; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_get_scene_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_get_scene_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_get_scene_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_get_scene_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_get_scene_info]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_get_scene_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_get_scene_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_get_scene_info::MergeFrom(const packetc2l_get_scene_info& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_get_scene_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_get_scene_info::CopyFrom(const packetc2l_get_scene_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_get_scene_info::IsInitialized() const { return true; } void packetc2l_get_scene_info::Swap(packetc2l_get_scene_info* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_get_scene_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_get_scene_info_descriptor_; metadata.reflection = packetc2l_get_scene_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_get_scene_info_result::kPacketIdFieldNumber; const int packetl2c_get_scene_info_result::kSceneInfoFieldNumber; const int packetl2c_get_scene_info_result::kRecvBenefitTimeFieldNumber; const int packetl2c_get_scene_info_result::kRecvBenefitCountFieldNumber; #endif // !_MSC_VER packetl2c_get_scene_info_result::packetl2c_get_scene_info_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_get_scene_info_result::InitAsDefaultInstance() { scene_info_ = const_cast< ::fish_protocols::msg_scene_info*>(&::fish_protocols::msg_scene_info::default_instance()); } packetl2c_get_scene_info_result::packetl2c_get_scene_info_result(const packetl2c_get_scene_info_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_get_scene_info_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 15100; scene_info_ = NULL; recvbenefittime_ = 0; recvbenefitcount_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_get_scene_info_result::~packetl2c_get_scene_info_result() { SharedDtor(); } void packetl2c_get_scene_info_result::SharedDtor() { if (this != default_instance_) { delete scene_info_; } } void packetl2c_get_scene_info_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_get_scene_info_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_get_scene_info_result_descriptor_; } const packetl2c_get_scene_info_result& packetl2c_get_scene_info_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_get_scene_info_result* packetl2c_get_scene_info_result::default_instance_ = NULL; packetl2c_get_scene_info_result* packetl2c_get_scene_info_result::New() const { return new packetl2c_get_scene_info_result; } void packetl2c_get_scene_info_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15100; if (has_scene_info()) { if (scene_info_ != NULL) scene_info_->::fish_protocols::msg_scene_info::Clear(); } recvbenefittime_ = 0; recvbenefitcount_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_get_scene_info_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_scene_info; break; } // optional .fish_protocols.msg_scene_info scene_info = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_scene_info: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_scene_info())); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_recvBenefitTime; break; } // optional int32 recvBenefitTime = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_recvBenefitTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &recvbenefittime_))); set_has_recvbenefittime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_recvBenefitCount; break; } // optional int32 recvBenefitCount = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_recvBenefitCount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &recvbenefitcount_))); set_has_recvbenefitcount(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_get_scene_info_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional .fish_protocols.msg_scene_info scene_info = 2; if (has_scene_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->scene_info(), output); } // optional int32 recvBenefitTime = 4; if (has_recvbenefittime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recvbenefittime(), output); } // optional int32 recvBenefitCount = 5; if (has_recvbenefitcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->recvbenefitcount(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_get_scene_info_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional .fish_protocols.msg_scene_info scene_info = 2; if (has_scene_info()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->scene_info(), target); } // optional int32 recvBenefitTime = 4; if (has_recvbenefittime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recvbenefittime(), target); } // optional int32 recvBenefitCount = 5; if (has_recvbenefitcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->recvbenefitcount(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_get_scene_info_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_get_scene_info_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional .fish_protocols.msg_scene_info scene_info = 2; if (has_scene_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->scene_info()); } // optional int32 recvBenefitTime = 4; if (has_recvbenefittime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->recvbenefittime()); } // optional int32 recvBenefitCount = 5; if (has_recvbenefitcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->recvbenefitcount()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_get_scene_info_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_get_scene_info_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_get_scene_info_result::MergeFrom(const packetl2c_get_scene_info_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_scene_info()) { mutable_scene_info()->::fish_protocols::msg_scene_info::MergeFrom(from.scene_info()); } if (from.has_recvbenefittime()) { set_recvbenefittime(from.recvbenefittime()); } if (from.has_recvbenefitcount()) { set_recvbenefitcount(from.recvbenefitcount()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_get_scene_info_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_get_scene_info_result::CopyFrom(const packetl2c_get_scene_info_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_get_scene_info_result::IsInitialized() const { return true; } void packetl2c_get_scene_info_result::Swap(packetl2c_get_scene_info_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(scene_info_, other->scene_info_); std::swap(recvbenefittime_, other->recvbenefittime_); std::swap(recvbenefitcount_, other->recvbenefitcount_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_get_scene_info_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_get_scene_info_result_descriptor_; metadata.reflection = packetl2c_get_scene_info_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_change_rate::kPacketIdFieldNumber; const int packetc2l_change_rate::kTurretRateFieldNumber; #endif // !_MSC_VER packetc2l_change_rate::packetc2l_change_rate() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_change_rate::InitAsDefaultInstance() { } packetc2l_change_rate::packetc2l_change_rate(const packetc2l_change_rate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_change_rate::SharedCtor() { _cached_size_ = 0; packet_id_ = 10102; turret_rate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_change_rate::~packetc2l_change_rate() { SharedDtor(); } void packetc2l_change_rate::SharedDtor() { if (this != default_instance_) { } } void packetc2l_change_rate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_change_rate::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_change_rate_descriptor_; } const packetc2l_change_rate& packetc2l_change_rate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_change_rate* packetc2l_change_rate::default_instance_ = NULL; packetc2l_change_rate* packetc2l_change_rate::New() const { return new packetc2l_change_rate; } void packetc2l_change_rate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10102; turret_rate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_change_rate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_turret_rate; break; } // optional int32 turret_rate = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turret_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turret_rate_))); set_has_turret_rate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_change_rate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 turret_rate = 2; if (has_turret_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->turret_rate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_change_rate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 turret_rate = 2; if (has_turret_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->turret_rate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_change_rate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_rate]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 turret_rate = 2; if (has_turret_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turret_rate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_change_rate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_change_rate* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_change_rate::MergeFrom(const packetc2l_change_rate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_turret_rate()) { set_turret_rate(from.turret_rate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_change_rate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_change_rate::CopyFrom(const packetc2l_change_rate& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_change_rate::IsInitialized() const { return true; } void packetc2l_change_rate::Swap(packetc2l_change_rate* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(turret_rate_, other->turret_rate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_change_rate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_change_rate_descriptor_; metadata.reflection = packetc2l_change_rate_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_sync_gold::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_sync_gold::packetc2l_sync_gold() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_sync_gold::InitAsDefaultInstance() { } packetc2l_sync_gold::packetc2l_sync_gold(const packetc2l_sync_gold& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_sync_gold::SharedCtor() { _cached_size_ = 0; packet_id_ = 10126; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_sync_gold::~packetc2l_sync_gold() { SharedDtor(); } void packetc2l_sync_gold::SharedDtor() { if (this != default_instance_) { } } void packetc2l_sync_gold::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_sync_gold::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_sync_gold_descriptor_; } const packetc2l_sync_gold& packetc2l_sync_gold::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_sync_gold* packetc2l_sync_gold::default_instance_ = NULL; packetc2l_sync_gold* packetc2l_sync_gold::New() const { return new packetc2l_sync_gold; } void packetc2l_sync_gold::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10126; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_sync_gold::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_sync_gold::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_sync_gold::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_sync_gold::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_ask_sync_gold]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_sync_gold::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_sync_gold* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_sync_gold::MergeFrom(const packetc2l_sync_gold& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_sync_gold::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_sync_gold::CopyFrom(const packetc2l_sync_gold& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_sync_gold::IsInitialized() const { return true; } void packetc2l_sync_gold::Swap(packetc2l_sync_gold* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_sync_gold::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_sync_gold_descriptor_; metadata.reflection = packetc2l_sync_gold_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_enter_seat::kPacketIdFieldNumber; const int packetl2c_bc_enter_seat::kSeatInfoFieldNumber; #endif // !_MSC_VER packetl2c_bc_enter_seat::packetl2c_bc_enter_seat() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_enter_seat::InitAsDefaultInstance() { seat_info_ = const_cast< ::fish_protocols::msg_seat_info*>(&::fish_protocols::msg_seat_info::default_instance()); } packetl2c_bc_enter_seat::packetl2c_bc_enter_seat(const packetl2c_bc_enter_seat& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_enter_seat::SharedCtor() { _cached_size_ = 0; packet_id_ = 15201; seat_info_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_enter_seat::~packetl2c_bc_enter_seat() { SharedDtor(); } void packetl2c_bc_enter_seat::SharedDtor() { if (this != default_instance_) { delete seat_info_; } } void packetl2c_bc_enter_seat::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_enter_seat::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_enter_seat_descriptor_; } const packetl2c_bc_enter_seat& packetl2c_bc_enter_seat::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_enter_seat* packetl2c_bc_enter_seat::default_instance_ = NULL; packetl2c_bc_enter_seat* packetl2c_bc_enter_seat::New() const { return new packetl2c_bc_enter_seat; } void packetl2c_bc_enter_seat::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15201; if (has_seat_info()) { if (seat_info_ != NULL) seat_info_->::fish_protocols::msg_seat_info::Clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_enter_seat::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_seat_info; break; } // optional .fish_protocols.msg_seat_info seat_info = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_seat_info: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_seat_info())); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_enter_seat::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional .fish_protocols.msg_seat_info seat_info = 2; if (has_seat_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->seat_info(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_enter_seat::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional .fish_protocols.msg_seat_info seat_info = 2; if (has_seat_info()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->seat_info(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_enter_seat::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_enter_seat]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional .fish_protocols.msg_seat_info seat_info = 2; if (has_seat_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->seat_info()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_enter_seat::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_enter_seat* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_enter_seat::MergeFrom(const packetl2c_bc_enter_seat& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_seat_info()) { mutable_seat_info()->::fish_protocols::msg_seat_info::MergeFrom(from.seat_info()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_enter_seat::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_enter_seat::CopyFrom(const packetl2c_bc_enter_seat& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_enter_seat::IsInitialized() const { return true; } void packetl2c_bc_enter_seat::Swap(packetl2c_bc_enter_seat* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(seat_info_, other->seat_info_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_enter_seat::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_enter_seat_descriptor_; metadata.reflection = packetl2c_bc_enter_seat_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_leave_seat::kPacketIdFieldNumber; const int packetl2c_bc_leave_seat::kPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_leave_seat::packetl2c_bc_leave_seat() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_leave_seat::InitAsDefaultInstance() { } packetl2c_bc_leave_seat::packetl2c_bc_leave_seat(const packetl2c_bc_leave_seat& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_leave_seat::SharedCtor() { _cached_size_ = 0; packet_id_ = 15202; player_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_leave_seat::~packetl2c_bc_leave_seat() { SharedDtor(); } void packetl2c_bc_leave_seat::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_leave_seat::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_leave_seat::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_leave_seat_descriptor_; } const packetl2c_bc_leave_seat& packetl2c_bc_leave_seat::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_leave_seat* packetl2c_bc_leave_seat::default_instance_ = NULL; packetl2c_bc_leave_seat* packetl2c_bc_leave_seat::New() const { return new packetl2c_bc_leave_seat; } void packetl2c_bc_leave_seat::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15202; player_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_leave_seat::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_leave_seat::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_leave_seat::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_leave_seat::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_leave_seat]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_leave_seat::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_leave_seat* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_leave_seat::MergeFrom(const packetl2c_bc_leave_seat& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_leave_seat::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_leave_seat::CopyFrom(const packetl2c_bc_leave_seat& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_leave_seat::IsInitialized() const { return true; } void packetl2c_bc_leave_seat::Swap(packetl2c_bc_leave_seat* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_leave_seat::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_leave_seat_descriptor_; metadata.reflection = packetl2c_bc_leave_seat_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_robot_enter::kPacketIdFieldNumber; const int packetl2c_robot_enter::kSeatInfoFieldNumber; const int packetl2c_robot_enter::kSceneIdFieldNumber; #endif // !_MSC_VER packetl2c_robot_enter::packetl2c_robot_enter() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_robot_enter::InitAsDefaultInstance() { seat_info_ = const_cast< ::fish_protocols::msg_seat_info*>(&::fish_protocols::msg_seat_info::default_instance()); } packetl2c_robot_enter::packetl2c_robot_enter(const packetl2c_robot_enter& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_robot_enter::SharedCtor() { _cached_size_ = 0; packet_id_ = 16000; seat_info_ = NULL; scene_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_robot_enter::~packetl2c_robot_enter() { SharedDtor(); } void packetl2c_robot_enter::SharedDtor() { if (this != default_instance_) { delete seat_info_; } } void packetl2c_robot_enter::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_robot_enter::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_robot_enter_descriptor_; } const packetl2c_robot_enter& packetl2c_robot_enter::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_robot_enter* packetl2c_robot_enter::default_instance_ = NULL; packetl2c_robot_enter* packetl2c_robot_enter::New() const { return new packetl2c_robot_enter; } void packetl2c_robot_enter::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16000; if (has_seat_info()) { if (seat_info_ != NULL) seat_info_->::fish_protocols::msg_seat_info::Clear(); } scene_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_robot_enter::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_seat_info; break; } // optional .fish_protocols.msg_seat_info seat_info = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_seat_info: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_seat_info())); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_scene_id; break; } // optional int32 scene_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_scene_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &scene_id_))); set_has_scene_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_robot_enter::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional .fish_protocols.msg_seat_info seat_info = 2; if (has_seat_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->seat_info(), output); } // optional int32 scene_id = 3; if (has_scene_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->scene_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_robot_enter::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional .fish_protocols.msg_seat_info seat_info = 2; if (has_seat_info()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->seat_info(), target); } // optional int32 scene_id = 3; if (has_scene_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->scene_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_robot_enter::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_robot_enter]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional .fish_protocols.msg_seat_info seat_info = 2; if (has_seat_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->seat_info()); } // optional int32 scene_id = 3; if (has_scene_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->scene_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_robot_enter::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_robot_enter* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_robot_enter::MergeFrom(const packetl2c_robot_enter& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_seat_info()) { mutable_seat_info()->::fish_protocols::msg_seat_info::MergeFrom(from.seat_info()); } if (from.has_scene_id()) { set_scene_id(from.scene_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_robot_enter::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_robot_enter::CopyFrom(const packetl2c_robot_enter& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_robot_enter::IsInitialized() const { return true; } void packetl2c_robot_enter::Swap(packetl2c_robot_enter* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(seat_info_, other->seat_info_); std::swap(scene_id_, other->scene_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_robot_enter::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_robot_enter_descriptor_; metadata.reflection = packetl2c_robot_enter_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_robot_leave::kPacketIdFieldNumber; const int packetl2c_robot_leave::kPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_robot_leave::packetl2c_robot_leave() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_robot_leave::InitAsDefaultInstance() { } packetl2c_robot_leave::packetl2c_robot_leave(const packetl2c_robot_leave& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_robot_leave::SharedCtor() { _cached_size_ = 0; packet_id_ = 16100; player_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_robot_leave::~packetl2c_robot_leave() { SharedDtor(); } void packetl2c_robot_leave::SharedDtor() { if (this != default_instance_) { } } void packetl2c_robot_leave::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_robot_leave::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_robot_leave_descriptor_; } const packetl2c_robot_leave& packetl2c_robot_leave::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_robot_leave* packetl2c_robot_leave::default_instance_ = NULL; packetl2c_robot_leave* packetl2c_robot_leave::New() const { return new packetl2c_robot_leave; } void packetl2c_robot_leave::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16100; player_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_robot_leave::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_robot_leave::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_robot_leave::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_robot_leave::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_robot_leave]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_robot_leave::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_robot_leave* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_robot_leave::MergeFrom(const packetl2c_robot_leave& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_robot_leave::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_robot_leave::CopyFrom(const packetl2c_robot_leave& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_robot_leave::IsInitialized() const { return true; } void packetl2c_robot_leave::Swap(packetl2c_robot_leave* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_robot_leave::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_robot_leave_descriptor_; metadata.reflection = packetl2c_robot_leave_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_change_rate::kPacketIdFieldNumber; const int packetl2c_bc_change_rate::kPlayerIdFieldNumber; const int packetl2c_bc_change_rate::kTurretRateFieldNumber; #endif // !_MSC_VER packetl2c_bc_change_rate::packetl2c_bc_change_rate() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_change_rate::InitAsDefaultInstance() { } packetl2c_bc_change_rate::packetl2c_bc_change_rate(const packetl2c_bc_change_rate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_change_rate::SharedCtor() { _cached_size_ = 0; packet_id_ = 15203; player_id_ = 0; turret_rate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_change_rate::~packetl2c_bc_change_rate() { SharedDtor(); } void packetl2c_bc_change_rate::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_change_rate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_change_rate::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_change_rate_descriptor_; } const packetl2c_bc_change_rate& packetl2c_bc_change_rate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_change_rate* packetl2c_bc_change_rate::default_instance_ = NULL; packetl2c_bc_change_rate* packetl2c_bc_change_rate::New() const { return new packetl2c_bc_change_rate; } void packetl2c_bc_change_rate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15203; player_id_ = 0; turret_rate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_change_rate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_turret_rate; break; } // optional int32 turret_rate = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turret_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turret_rate_))); set_has_turret_rate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_change_rate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int32 turret_rate = 3; if (has_turret_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->turret_rate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_change_rate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int32 turret_rate = 3; if (has_turret_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->turret_rate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_change_rate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_rate]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 turret_rate = 3; if (has_turret_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turret_rate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_change_rate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_change_rate* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_change_rate::MergeFrom(const packetl2c_bc_change_rate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_turret_rate()) { set_turret_rate(from.turret_rate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_change_rate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_change_rate::CopyFrom(const packetl2c_bc_change_rate& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_change_rate::IsInitialized() const { return true; } void packetl2c_bc_change_rate::Swap(packetl2c_bc_change_rate* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(turret_rate_, other->turret_rate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_change_rate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_change_rate_descriptor_; metadata.reflection = packetl2c_bc_change_rate_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_change_attr::kPacketIdFieldNumber; const int packetl2c_bc_change_attr::kPlayerIdFieldNumber; const int packetl2c_bc_change_attr::kChangeGoldFieldNumber; const int packetl2c_bc_change_attr::kChangeVipFieldNumber; const int packetl2c_bc_change_attr::kChangeDiamondFieldNumber; const int packetl2c_bc_change_attr::kChangeTicketFieldNumber; const int packetl2c_bc_change_attr::kChangeDimensityFieldNumber; const int packetl2c_bc_change_attr::kChangeGoldingotFieldNumber; const int packetl2c_bc_change_attr::kChangeTombolaFieldNumber; const int packetl2c_bc_change_attr::kChangeLegendaryCoinFieldNumber; const int packetl2c_bc_change_attr::kChangeRedpacketFieldNumber; const int packetl2c_bc_change_attr::kChangeChipFieldNumber; const int packetl2c_bc_change_attr::kChangeJDchipFieldNumber; const int packetl2c_bc_change_attr::kChangePlayerlvFieldNumber; const int packetl2c_bc_change_attr::kChangeTurretlvFieldNumber; const int packetl2c_bc_change_attr::kChangeDragonBallFieldNumber; const int packetl2c_bc_change_attr::kChangeGloryCrystalFieldNumber; const int packetl2c_bc_change_attr::kMonthCardTimeFieldNumber; const int packetl2c_bc_change_attr::kGoldMonthCardTimeFieldNumber; const int packetl2c_bc_change_attr::kDiamondMonthCardTimeFieldNumber; const int packetl2c_bc_change_attr::kMonthcardremaintimeFieldNumber; const int packetl2c_bc_change_attr::kGoldmonthcardremaintimeFieldNumber; const int packetl2c_bc_change_attr::kDiamondmonthcardremaintimeFieldNumber; const int packetl2c_bc_change_attr::kWeekCardTimeFieldNumber; const int packetl2c_bc_change_attr::kWeekcardremaintimeFieldNumber; const int packetl2c_bc_change_attr::kReasonFieldNumber; #endif // !_MSC_VER packetl2c_bc_change_attr::packetl2c_bc_change_attr() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_change_attr::InitAsDefaultInstance() { } packetl2c_bc_change_attr::packetl2c_bc_change_attr(const packetl2c_bc_change_attr& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_change_attr::SharedCtor() { _cached_size_ = 0; packet_id_ = 15207; player_id_ = 0; change_gold_ = GOOGLE_LONGLONG(0); change_vip_ = 0; change_diamond_ = 0; change_ticket_ = 0; change_dimensity_ = 0; change_goldingot_ = 0; change_tombola_ = 0; change_legendarycoin_ = 0; change_redpacket_ = 0; change_chip_ = 0; change_jdchip_ = 0; change_playerlv_ = 0; change_turretlv_ = 0; change_dragonball_ = 0; change_glorycrystal_ = 0; monthcard_time_ = 0; goldmonthcard_time_ = 0; diamondmonthcard_time_ = 0; monthcardremaintime_ = 0; goldmonthcardremaintime_ = 0; diamondmonthcardremaintime_ = 0; weekcard_time_ = 0; weekcardremaintime_ = 0; reason_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_change_attr::~packetl2c_bc_change_attr() { SharedDtor(); } void packetl2c_bc_change_attr::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_change_attr::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_change_attr::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_change_attr_descriptor_; } const packetl2c_bc_change_attr& packetl2c_bc_change_attr::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_change_attr* packetl2c_bc_change_attr::default_instance_ = NULL; packetl2c_bc_change_attr* packetl2c_bc_change_attr::New() const { return new packetl2c_bc_change_attr; } void packetl2c_bc_change_attr::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15207; player_id_ = 0; change_gold_ = GOOGLE_LONGLONG(0); change_vip_ = 0; change_diamond_ = 0; change_ticket_ = 0; change_dimensity_ = 0; change_goldingot_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { change_tombola_ = 0; change_legendarycoin_ = 0; change_redpacket_ = 0; change_chip_ = 0; change_jdchip_ = 0; change_playerlv_ = 0; change_turretlv_ = 0; change_dragonball_ = 0; } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { change_glorycrystal_ = 0; monthcard_time_ = 0; goldmonthcard_time_ = 0; diamondmonthcard_time_ = 0; monthcardremaintime_ = 0; goldmonthcardremaintime_ = 0; diamondmonthcardremaintime_ = 0; weekcard_time_ = 0; } if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { weekcardremaintime_ = 0; reason_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_change_attr::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_change_gold; break; } // optional int64 change_gold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &change_gold_))); set_has_change_gold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_change_vip; break; } // optional int32 change_vip = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_vip: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_vip_))); set_has_change_vip(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_change_diamond; break; } // optional int32 change_diamond = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_diamond: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_diamond_))); set_has_change_diamond(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_change_ticket; break; } // optional int32 change_ticket = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_ticket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_ticket_))); set_has_change_ticket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_change_dimensity; break; } // optional int32 change_dimensity = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_dimensity: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_dimensity_))); set_has_change_dimensity(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_change_goldingot; break; } // optional int32 change_goldingot = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_goldingot: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_goldingot_))); set_has_change_goldingot(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_change_tombola; break; } // optional int32 change_tombola = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_tombola: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_tombola_))); set_has_change_tombola(); } else { goto handle_uninterpreted; } if (input->ExpectTag(80)) goto parse_change_legendaryCoin; break; } // optional int32 change_legendaryCoin = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_legendaryCoin: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_legendarycoin_))); set_has_change_legendarycoin(); } else { goto handle_uninterpreted; } if (input->ExpectTag(88)) goto parse_change_redpacket; break; } // optional int32 change_redpacket = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_redpacket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_redpacket_))); set_has_change_redpacket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(96)) goto parse_change_chip; break; } // optional int32 change_chip = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_chip: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_chip_))); set_has_change_chip(); } else { goto handle_uninterpreted; } if (input->ExpectTag(104)) goto parse_change_JDchip; break; } // optional int32 change_JDchip = 13; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_JDchip: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_jdchip_))); set_has_change_jdchip(); } else { goto handle_uninterpreted; } if (input->ExpectTag(112)) goto parse_change_playerlv; break; } // optional int32 change_playerlv = 14; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_playerlv: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_playerlv_))); set_has_change_playerlv(); } else { goto handle_uninterpreted; } if (input->ExpectTag(120)) goto parse_change_turretlv; break; } // optional int32 change_turretlv = 15; case 15: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_turretlv: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_turretlv_))); set_has_change_turretlv(); } else { goto handle_uninterpreted; } if (input->ExpectTag(128)) goto parse_change_dragonBall; break; } // optional int32 change_dragonBall = 16; case 16: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_dragonBall: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_dragonball_))); set_has_change_dragonball(); } else { goto handle_uninterpreted; } if (input->ExpectTag(136)) goto parse_change_gloryCrystal; break; } // optional int32 change_gloryCrystal = 17; case 17: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_change_gloryCrystal: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &change_glorycrystal_))); set_has_change_glorycrystal(); } else { goto handle_uninterpreted; } if (input->ExpectTag(144)) goto parse_monthCard_time; break; } // optional int32 monthCard_time = 18; case 18: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_monthCard_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &monthcard_time_))); set_has_monthcard_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(152)) goto parse_goldMonthCard_time; break; } // optional int32 goldMonthCard_time = 19; case 19: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_goldMonthCard_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &goldmonthcard_time_))); set_has_goldmonthcard_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(160)) goto parse_diamondMonthCard_time; break; } // optional int32 diamondMonthCard_time = 20; case 20: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_diamondMonthCard_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &diamondmonthcard_time_))); set_has_diamondmonthcard_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(168)) goto parse_monthcardremaintime; break; } // optional int32 monthcardremaintime = 21; case 21: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_monthcardremaintime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &monthcardremaintime_))); set_has_monthcardremaintime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(176)) goto parse_goldmonthcardremaintime; break; } // optional int32 goldmonthcardremaintime = 22; case 22: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_goldmonthcardremaintime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &goldmonthcardremaintime_))); set_has_goldmonthcardremaintime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(184)) goto parse_diamondmonthcardremaintime; break; } // optional int32 diamondmonthcardremaintime = 23; case 23: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_diamondmonthcardremaintime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &diamondmonthcardremaintime_))); set_has_diamondmonthcardremaintime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(192)) goto parse_weekCard_time; break; } // optional int32 weekCard_time = 24; case 24: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_weekCard_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &weekcard_time_))); set_has_weekcard_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(200)) goto parse_weekcardremaintime; break; } // optional int32 weekcardremaintime = 25; case 25: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_weekcardremaintime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &weekcardremaintime_))); set_has_weekcardremaintime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(208)) goto parse_reason; break; } // optional int32 reason = 26; case 26: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_reason: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &reason_))); set_has_reason(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_change_attr::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int64 change_gold = 3; if (has_change_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->change_gold(), output); } // optional int32 change_vip = 4; if (has_change_vip()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->change_vip(), output); } // optional int32 change_diamond = 5; if (has_change_diamond()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->change_diamond(), output); } // optional int32 change_ticket = 6; if (has_change_ticket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->change_ticket(), output); } // optional int32 change_dimensity = 7; if (has_change_dimensity()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->change_dimensity(), output); } // optional int32 change_goldingot = 8; if (has_change_goldingot()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->change_goldingot(), output); } // optional int32 change_tombola = 9; if (has_change_tombola()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->change_tombola(), output); } // optional int32 change_legendaryCoin = 10; if (has_change_legendarycoin()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->change_legendarycoin(), output); } // optional int32 change_redpacket = 11; if (has_change_redpacket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->change_redpacket(), output); } // optional int32 change_chip = 12; if (has_change_chip()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->change_chip(), output); } // optional int32 change_JDchip = 13; if (has_change_jdchip()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->change_jdchip(), output); } // optional int32 change_playerlv = 14; if (has_change_playerlv()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->change_playerlv(), output); } // optional int32 change_turretlv = 15; if (has_change_turretlv()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(15, this->change_turretlv(), output); } // optional int32 change_dragonBall = 16; if (has_change_dragonball()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->change_dragonball(), output); } // optional int32 change_gloryCrystal = 17; if (has_change_glorycrystal()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->change_glorycrystal(), output); } // optional int32 monthCard_time = 18; if (has_monthcard_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(18, this->monthcard_time(), output); } // optional int32 goldMonthCard_time = 19; if (has_goldmonthcard_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(19, this->goldmonthcard_time(), output); } // optional int32 diamondMonthCard_time = 20; if (has_diamondmonthcard_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(20, this->diamondmonthcard_time(), output); } // optional int32 monthcardremaintime = 21; if (has_monthcardremaintime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(21, this->monthcardremaintime(), output); } // optional int32 goldmonthcardremaintime = 22; if (has_goldmonthcardremaintime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(22, this->goldmonthcardremaintime(), output); } // optional int32 diamondmonthcardremaintime = 23; if (has_diamondmonthcardremaintime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(23, this->diamondmonthcardremaintime(), output); } // optional int32 weekCard_time = 24; if (has_weekcard_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(24, this->weekcard_time(), output); } // optional int32 weekcardremaintime = 25; if (has_weekcardremaintime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(25, this->weekcardremaintime(), output); } // optional int32 reason = 26; if (has_reason()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(26, this->reason(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_change_attr::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int64 change_gold = 3; if (has_change_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->change_gold(), target); } // optional int32 change_vip = 4; if (has_change_vip()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->change_vip(), target); } // optional int32 change_diamond = 5; if (has_change_diamond()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->change_diamond(), target); } // optional int32 change_ticket = 6; if (has_change_ticket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->change_ticket(), target); } // optional int32 change_dimensity = 7; if (has_change_dimensity()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->change_dimensity(), target); } // optional int32 change_goldingot = 8; if (has_change_goldingot()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->change_goldingot(), target); } // optional int32 change_tombola = 9; if (has_change_tombola()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->change_tombola(), target); } // optional int32 change_legendaryCoin = 10; if (has_change_legendarycoin()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->change_legendarycoin(), target); } // optional int32 change_redpacket = 11; if (has_change_redpacket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->change_redpacket(), target); } // optional int32 change_chip = 12; if (has_change_chip()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->change_chip(), target); } // optional int32 change_JDchip = 13; if (has_change_jdchip()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->change_jdchip(), target); } // optional int32 change_playerlv = 14; if (has_change_playerlv()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->change_playerlv(), target); } // optional int32 change_turretlv = 15; if (has_change_turretlv()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(15, this->change_turretlv(), target); } // optional int32 change_dragonBall = 16; if (has_change_dragonball()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->change_dragonball(), target); } // optional int32 change_gloryCrystal = 17; if (has_change_glorycrystal()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->change_glorycrystal(), target); } // optional int32 monthCard_time = 18; if (has_monthcard_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(18, this->monthcard_time(), target); } // optional int32 goldMonthCard_time = 19; if (has_goldmonthcard_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(19, this->goldmonthcard_time(), target); } // optional int32 diamondMonthCard_time = 20; if (has_diamondmonthcard_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(20, this->diamondmonthcard_time(), target); } // optional int32 monthcardremaintime = 21; if (has_monthcardremaintime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(21, this->monthcardremaintime(), target); } // optional int32 goldmonthcardremaintime = 22; if (has_goldmonthcardremaintime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(22, this->goldmonthcardremaintime(), target); } // optional int32 diamondmonthcardremaintime = 23; if (has_diamondmonthcardremaintime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(23, this->diamondmonthcardremaintime(), target); } // optional int32 weekCard_time = 24; if (has_weekcard_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(24, this->weekcard_time(), target); } // optional int32 weekcardremaintime = 25; if (has_weekcardremaintime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(25, this->weekcardremaintime(), target); } // optional int32 reason = 26; if (has_reason()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(26, this->reason(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_change_attr::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_attr]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int64 change_gold = 3; if (has_change_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->change_gold()); } // optional int32 change_vip = 4; if (has_change_vip()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_vip()); } // optional int32 change_diamond = 5; if (has_change_diamond()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_diamond()); } // optional int32 change_ticket = 6; if (has_change_ticket()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_ticket()); } // optional int32 change_dimensity = 7; if (has_change_dimensity()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_dimensity()); } // optional int32 change_goldingot = 8; if (has_change_goldingot()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_goldingot()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 change_tombola = 9; if (has_change_tombola()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_tombola()); } // optional int32 change_legendaryCoin = 10; if (has_change_legendarycoin()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_legendarycoin()); } // optional int32 change_redpacket = 11; if (has_change_redpacket()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_redpacket()); } // optional int32 change_chip = 12; if (has_change_chip()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_chip()); } // optional int32 change_JDchip = 13; if (has_change_jdchip()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_jdchip()); } // optional int32 change_playerlv = 14; if (has_change_playerlv()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_playerlv()); } // optional int32 change_turretlv = 15; if (has_change_turretlv()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_turretlv()); } // optional int32 change_dragonBall = 16; if (has_change_dragonball()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_dragonball()); } } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { // optional int32 change_gloryCrystal = 17; if (has_change_glorycrystal()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->change_glorycrystal()); } // optional int32 monthCard_time = 18; if (has_monthcard_time()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->monthcard_time()); } // optional int32 goldMonthCard_time = 19; if (has_goldmonthcard_time()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->goldmonthcard_time()); } // optional int32 diamondMonthCard_time = 20; if (has_diamondmonthcard_time()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->diamondmonthcard_time()); } // optional int32 monthcardremaintime = 21; if (has_monthcardremaintime()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->monthcardremaintime()); } // optional int32 goldmonthcardremaintime = 22; if (has_goldmonthcardremaintime()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->goldmonthcardremaintime()); } // optional int32 diamondmonthcardremaintime = 23; if (has_diamondmonthcardremaintime()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->diamondmonthcardremaintime()); } // optional int32 weekCard_time = 24; if (has_weekcard_time()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->weekcard_time()); } } if (_has_bits_[24 / 32] & (0xffu << (24 % 32))) { // optional int32 weekcardremaintime = 25; if (has_weekcardremaintime()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->weekcardremaintime()); } // optional int32 reason = 26; if (has_reason()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->reason()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_change_attr::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_change_attr* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_change_attr::MergeFrom(const packetl2c_bc_change_attr& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_change_gold()) { set_change_gold(from.change_gold()); } if (from.has_change_vip()) { set_change_vip(from.change_vip()); } if (from.has_change_diamond()) { set_change_diamond(from.change_diamond()); } if (from.has_change_ticket()) { set_change_ticket(from.change_ticket()); } if (from.has_change_dimensity()) { set_change_dimensity(from.change_dimensity()); } if (from.has_change_goldingot()) { set_change_goldingot(from.change_goldingot()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_change_tombola()) { set_change_tombola(from.change_tombola()); } if (from.has_change_legendarycoin()) { set_change_legendarycoin(from.change_legendarycoin()); } if (from.has_change_redpacket()) { set_change_redpacket(from.change_redpacket()); } if (from.has_change_chip()) { set_change_chip(from.change_chip()); } if (from.has_change_jdchip()) { set_change_jdchip(from.change_jdchip()); } if (from.has_change_playerlv()) { set_change_playerlv(from.change_playerlv()); } if (from.has_change_turretlv()) { set_change_turretlv(from.change_turretlv()); } if (from.has_change_dragonball()) { set_change_dragonball(from.change_dragonball()); } } if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { if (from.has_change_glorycrystal()) { set_change_glorycrystal(from.change_glorycrystal()); } if (from.has_monthcard_time()) { set_monthcard_time(from.monthcard_time()); } if (from.has_goldmonthcard_time()) { set_goldmonthcard_time(from.goldmonthcard_time()); } if (from.has_diamondmonthcard_time()) { set_diamondmonthcard_time(from.diamondmonthcard_time()); } if (from.has_monthcardremaintime()) { set_monthcardremaintime(from.monthcardremaintime()); } if (from.has_goldmonthcardremaintime()) { set_goldmonthcardremaintime(from.goldmonthcardremaintime()); } if (from.has_diamondmonthcardremaintime()) { set_diamondmonthcardremaintime(from.diamondmonthcardremaintime()); } if (from.has_weekcard_time()) { set_weekcard_time(from.weekcard_time()); } } if (from._has_bits_[24 / 32] & (0xffu << (24 % 32))) { if (from.has_weekcardremaintime()) { set_weekcardremaintime(from.weekcardremaintime()); } if (from.has_reason()) { set_reason(from.reason()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_change_attr::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_change_attr::CopyFrom(const packetl2c_bc_change_attr& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_change_attr::IsInitialized() const { return true; } void packetl2c_bc_change_attr::Swap(packetl2c_bc_change_attr* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(change_gold_, other->change_gold_); std::swap(change_vip_, other->change_vip_); std::swap(change_diamond_, other->change_diamond_); std::swap(change_ticket_, other->change_ticket_); std::swap(change_dimensity_, other->change_dimensity_); std::swap(change_goldingot_, other->change_goldingot_); std::swap(change_tombola_, other->change_tombola_); std::swap(change_legendarycoin_, other->change_legendarycoin_); std::swap(change_redpacket_, other->change_redpacket_); std::swap(change_chip_, other->change_chip_); std::swap(change_jdchip_, other->change_jdchip_); std::swap(change_playerlv_, other->change_playerlv_); std::swap(change_turretlv_, other->change_turretlv_); std::swap(change_dragonball_, other->change_dragonball_); std::swap(change_glorycrystal_, other->change_glorycrystal_); std::swap(monthcard_time_, other->monthcard_time_); std::swap(goldmonthcard_time_, other->goldmonthcard_time_); std::swap(diamondmonthcard_time_, other->diamondmonthcard_time_); std::swap(monthcardremaintime_, other->monthcardremaintime_); std::swap(goldmonthcardremaintime_, other->goldmonthcardremaintime_); std::swap(diamondmonthcardremaintime_, other->diamondmonthcardremaintime_); std::swap(weekcard_time_, other->weekcard_time_); std::swap(weekcardremaintime_, other->weekcardremaintime_); std::swap(reason_, other->reason_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_change_attr::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_change_attr_descriptor_; metadata.reflection = packetl2c_bc_change_attr_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_create_fish::kPacketIdFieldNumber; const int packetl2c_bc_create_fish::kFishInfoFieldNumber; const int packetl2c_bc_create_fish::kReasonFieldNumber; const int packetl2c_bc_create_fish::kOwnerPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_create_fish::packetl2c_bc_create_fish() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_create_fish::InitAsDefaultInstance() { fish_info_ = const_cast< ::fish_protocols::msg_fish_info*>(&::fish_protocols::msg_fish_info::default_instance()); } packetl2c_bc_create_fish::packetl2c_bc_create_fish(const packetl2c_bc_create_fish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_create_fish::SharedCtor() { _cached_size_ = 0; packet_id_ = 15204; fish_info_ = NULL; reason_ = 0; ownerplayerid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_create_fish::~packetl2c_bc_create_fish() { SharedDtor(); } void packetl2c_bc_create_fish::SharedDtor() { if (this != default_instance_) { delete fish_info_; } } void packetl2c_bc_create_fish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_create_fish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_create_fish_descriptor_; } const packetl2c_bc_create_fish& packetl2c_bc_create_fish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_create_fish* packetl2c_bc_create_fish::default_instance_ = NULL; packetl2c_bc_create_fish* packetl2c_bc_create_fish::New() const { return new packetl2c_bc_create_fish; } void packetl2c_bc_create_fish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15204; if (has_fish_info()) { if (fish_info_ != NULL) fish_info_->::fish_protocols::msg_fish_info::Clear(); } reason_ = 0; ownerplayerid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_create_fish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(18)) goto parse_fish_info; break; } // optional .fish_protocols.msg_fish_info fish_info = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_fish_info: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_fish_info())); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_reason; break; } // optional int32 reason = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_reason: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &reason_))); set_has_reason(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_ownerPlayerId; break; } // optional int32 ownerPlayerId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_ownerPlayerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ownerplayerid_))); set_has_ownerplayerid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_create_fish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional .fish_protocols.msg_fish_info fish_info = 2; if (has_fish_info()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 2, this->fish_info(), output); } // optional int32 reason = 3; if (has_reason()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->reason(), output); } // optional int32 ownerPlayerId = 4; if (has_ownerplayerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->ownerplayerid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_create_fish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional .fish_protocols.msg_fish_info fish_info = 2; if (has_fish_info()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 2, this->fish_info(), target); } // optional int32 reason = 3; if (has_reason()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->reason(), target); } // optional int32 ownerPlayerId = 4; if (has_ownerplayerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->ownerplayerid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_create_fish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_fish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional .fish_protocols.msg_fish_info fish_info = 2; if (has_fish_info()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->fish_info()); } // optional int32 reason = 3; if (has_reason()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->reason()); } // optional int32 ownerPlayerId = 4; if (has_ownerplayerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->ownerplayerid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_create_fish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_create_fish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_create_fish::MergeFrom(const packetl2c_bc_create_fish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_fish_info()) { mutable_fish_info()->::fish_protocols::msg_fish_info::MergeFrom(from.fish_info()); } if (from.has_reason()) { set_reason(from.reason()); } if (from.has_ownerplayerid()) { set_ownerplayerid(from.ownerplayerid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_create_fish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_create_fish::CopyFrom(const packetl2c_bc_create_fish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_create_fish::IsInitialized() const { return true; } void packetl2c_bc_create_fish::Swap(packetl2c_bc_create_fish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(fish_info_, other->fish_info_); std::swap(reason_, other->reason_); std::swap(ownerplayerid_, other->ownerplayerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_create_fish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_create_fish_descriptor_; metadata.reflection = packetl2c_bc_create_fish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_create_generator::kPacketIdFieldNumber; const int packetl2c_bc_create_generator::kGeneratorIdFieldNumber; const int packetl2c_bc_create_generator::kStartIdFieldNumber; const int packetl2c_bc_create_generator::kRouteIdFieldNumber; const int packetl2c_bc_create_generator::kIsRedFieldNumber; const int packetl2c_bc_create_generator::kPosXFieldNumber; const int packetl2c_bc_create_generator::kPosYFieldNumber; const int packetl2c_bc_create_generator::kIsFlashFieldNumber; #endif // !_MSC_VER packetl2c_bc_create_generator::packetl2c_bc_create_generator() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_create_generator::InitAsDefaultInstance() { } packetl2c_bc_create_generator::packetl2c_bc_create_generator(const packetl2c_bc_create_generator& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_create_generator::SharedCtor() { _cached_size_ = 0; packet_id_ = 15208; generator_id_ = 0; start_id_ = 0; route_id_ = 0; is_red_ = false; pos_x_ = 0; pos_y_ = 0; is_flash_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_create_generator::~packetl2c_bc_create_generator() { SharedDtor(); } void packetl2c_bc_create_generator::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_create_generator::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_create_generator::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_create_generator_descriptor_; } const packetl2c_bc_create_generator& packetl2c_bc_create_generator::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_create_generator* packetl2c_bc_create_generator::default_instance_ = NULL; packetl2c_bc_create_generator* packetl2c_bc_create_generator::New() const { return new packetl2c_bc_create_generator; } void packetl2c_bc_create_generator::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15208; generator_id_ = 0; start_id_ = 0; route_id_ = 0; is_red_ = false; pos_x_ = 0; pos_y_ = 0; is_flash_ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_create_generator::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_generator_id; break; } // optional int32 generator_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_generator_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &generator_id_))); set_has_generator_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_start_id; break; } // optional int32 start_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_start_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &start_id_))); set_has_start_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_route_id; break; } // optional int32 route_id = 4 [default = 0]; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_route_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &route_id_))); set_has_route_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_is_red; break; } // optional bool is_red = 5 [default = false]; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_is_red: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_red_))); set_has_is_red(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_pos_x; break; } // optional int32 pos_x = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_pos_x: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &pos_x_))); set_has_pos_x(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_pos_y; break; } // optional int32 pos_y = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_pos_y: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &pos_y_))); set_has_pos_y(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_is_flash; break; } // optional bool is_flash = 8 [default = false]; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_is_flash: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_flash_))); set_has_is_flash(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_create_generator::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 generator_id = 2; if (has_generator_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->generator_id(), output); } // optional int32 start_id = 3; if (has_start_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->start_id(), output); } // optional int32 route_id = 4 [default = 0]; if (has_route_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->route_id(), output); } // optional bool is_red = 5 [default = false]; if (has_is_red()) { ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_red(), output); } // optional int32 pos_x = 6; if (has_pos_x()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->pos_x(), output); } // optional int32 pos_y = 7; if (has_pos_y()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->pos_y(), output); } // optional bool is_flash = 8 [default = false]; if (has_is_flash()) { ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->is_flash(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_create_generator::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 generator_id = 2; if (has_generator_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->generator_id(), target); } // optional int32 start_id = 3; if (has_start_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->start_id(), target); } // optional int32 route_id = 4 [default = 0]; if (has_route_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->route_id(), target); } // optional bool is_red = 5 [default = false]; if (has_is_red()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_red(), target); } // optional int32 pos_x = 6; if (has_pos_x()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->pos_x(), target); } // optional int32 pos_y = 7; if (has_pos_y()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->pos_y(), target); } // optional bool is_flash = 8 [default = false]; if (has_is_flash()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->is_flash(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_create_generator::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_create_generator]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 generator_id = 2; if (has_generator_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->generator_id()); } // optional int32 start_id = 3; if (has_start_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->start_id()); } // optional int32 route_id = 4 [default = 0]; if (has_route_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->route_id()); } // optional bool is_red = 5 [default = false]; if (has_is_red()) { total_size += 1 + 1; } // optional int32 pos_x = 6; if (has_pos_x()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->pos_x()); } // optional int32 pos_y = 7; if (has_pos_y()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->pos_y()); } // optional bool is_flash = 8 [default = false]; if (has_is_flash()) { total_size += 1 + 1; } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_create_generator::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_create_generator* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_create_generator::MergeFrom(const packetl2c_bc_create_generator& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_generator_id()) { set_generator_id(from.generator_id()); } if (from.has_start_id()) { set_start_id(from.start_id()); } if (from.has_route_id()) { set_route_id(from.route_id()); } if (from.has_is_red()) { set_is_red(from.is_red()); } if (from.has_pos_x()) { set_pos_x(from.pos_x()); } if (from.has_pos_y()) { set_pos_y(from.pos_y()); } if (from.has_is_flash()) { set_is_flash(from.is_flash()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_create_generator::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_create_generator::CopyFrom(const packetl2c_bc_create_generator& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_create_generator::IsInitialized() const { return true; } void packetl2c_bc_create_generator::Swap(packetl2c_bc_create_generator* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(generator_id_, other->generator_id_); std::swap(start_id_, other->start_id_); std::swap(route_id_, other->route_id_); std::swap(is_red_, other->is_red_); std::swap(pos_x_, other->pos_x_); std::swap(pos_y_, other->pos_y_); std::swap(is_flash_, other->is_flash_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_create_generator::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_create_generator_descriptor_; metadata.reflection = packetl2c_bc_create_generator_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int ManualFireEx::kRefItemIdFieldNumber; const int ManualFireEx::kFishIdFieldNumber; #endif // !_MSC_VER ManualFireEx::ManualFireEx() : ::google::protobuf::Message() { SharedCtor(); } void ManualFireEx::InitAsDefaultInstance() { } ManualFireEx::ManualFireEx(const ManualFireEx& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void ManualFireEx::SharedCtor() { _cached_size_ = 0; refitemid_ = 0; fishid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } ManualFireEx::~ManualFireEx() { SharedDtor(); } void ManualFireEx::SharedDtor() { if (this != default_instance_) { } } void ManualFireEx::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* ManualFireEx::descriptor() { protobuf_AssignDescriptorsOnce(); return ManualFireEx_descriptor_; } const ManualFireEx& ManualFireEx::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } ManualFireEx* ManualFireEx::default_instance_ = NULL; ManualFireEx* ManualFireEx::New() const { return new ManualFireEx; } void ManualFireEx::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { refitemid_ = 0; fishid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool ManualFireEx::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 refItemId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &refitemid_))); set_has_refitemid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_fishId; break; } // optional int32 fishId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishid_))); set_has_fishid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void ManualFireEx::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 refItemId = 1; if (has_refitemid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->refitemid(), output); } // optional int32 fishId = 2; if (has_fishid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fishid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* ManualFireEx::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 refItemId = 1; if (has_refitemid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->refitemid(), target); } // optional int32 fishId = 2; if (has_fishid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fishid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int ManualFireEx::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 refItemId = 1; if (has_refitemid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->refitemid()); } // optional int32 fishId = 2; if (has_fishid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void ManualFireEx::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const ManualFireEx* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void ManualFireEx::MergeFrom(const ManualFireEx& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_refitemid()) { set_refitemid(from.refitemid()); } if (from.has_fishid()) { set_fishid(from.fishid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void ManualFireEx::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void ManualFireEx::CopyFrom(const ManualFireEx& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool ManualFireEx::IsInitialized() const { return true; } void ManualFireEx::Swap(ManualFireEx* other) { if (other != this) { std::swap(refitemid_, other->refitemid_); std::swap(fishid_, other->fishid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata ManualFireEx::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = ManualFireEx_descriptor_; metadata.reflection = ManualFireEx_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_manual_fire::kPacketIdFieldNumber; const int packetc2l_manual_fire::kBulletIdFieldNumber; const int packetc2l_manual_fire::kBulletAngleFieldNumber; const int packetc2l_manual_fire::kIsMultiFieldNumber; const int packetc2l_manual_fire::kIsViolentFieldNumber; const int packetc2l_manual_fire::kBulletTypeFieldNumber; const int packetc2l_manual_fire::kBulletRateFieldNumber; const int packetc2l_manual_fire::kRoomRateFieldNumber; const int packetc2l_manual_fire::kBulletPowerFieldNumber; const int packetc2l_manual_fire::kExParamFieldNumber; #endif // !_MSC_VER packetc2l_manual_fire::packetc2l_manual_fire() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_manual_fire::InitAsDefaultInstance() { exparam_ = const_cast< ::fish_protocols::ManualFireEx*>(&::fish_protocols::ManualFireEx::default_instance()); } packetc2l_manual_fire::packetc2l_manual_fire(const packetc2l_manual_fire& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_manual_fire::SharedCtor() { _cached_size_ = 0; packet_id_ = 10103; bullet_id_ = 0; bullet_angle_ = 0; is_multi_ = false; is_violent_ = false; bullet_type_ = 1; bullet_rate_ = 0; room_rate_ = 0; bullet_power_ = 0; exparam_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_manual_fire::~packetc2l_manual_fire() { SharedDtor(); } void packetc2l_manual_fire::SharedDtor() { if (this != default_instance_) { delete exparam_; } } void packetc2l_manual_fire::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_manual_fire::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_manual_fire_descriptor_; } const packetc2l_manual_fire& packetc2l_manual_fire::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_manual_fire* packetc2l_manual_fire::default_instance_ = NULL; packetc2l_manual_fire* packetc2l_manual_fire::New() const { return new packetc2l_manual_fire; } void packetc2l_manual_fire::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10103; bullet_id_ = 0; bullet_angle_ = 0; is_multi_ = false; is_violent_ = false; bullet_type_ = 1; bullet_rate_ = 0; room_rate_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { bullet_power_ = 0; if (has_exparam()) { if (exparam_ != NULL) exparam_->::fish_protocols::ManualFireEx::Clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_manual_fire::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_bullet_id; break; } // optional int32 bullet_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_id_))); set_has_bullet_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_bullet_angle; break; } // optional int32 bullet_angle = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_angle: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_angle_))); set_has_bullet_angle(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_is_multi; break; } // optional bool is_multi = 4 [default = false]; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_is_multi: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_multi_))); set_has_is_multi(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_is_violent; break; } // optional bool is_violent = 5 [default = false]; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_is_violent: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_violent_))); set_has_is_violent(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_bullet_type; break; } // optional int32 bullet_type = 6 [default = 1]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_type: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_type_))); set_has_bullet_type(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_bullet_rate; break; } // optional int32 bullet_rate = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_rate_))); set_has_bullet_rate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_room_rate; break; } // optional int32 room_rate = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_room_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &room_rate_))); set_has_room_rate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_bullet_power; break; } // optional int32 bullet_power = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_power: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_power_))); set_has_bullet_power(); } else { goto handle_uninterpreted; } if (input->ExpectTag(82)) goto parse_exParam; break; } // optional .fish_protocols.ManualFireEx exParam = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_exParam: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_exparam())); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_manual_fire::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 bullet_id = 2; if (has_bullet_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bullet_id(), output); } // optional int32 bullet_angle = 3; if (has_bullet_angle()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bullet_angle(), output); } // optional bool is_multi = 4 [default = false]; if (has_is_multi()) { ::google::protobuf::internal::WireFormatLite::WriteBool(4, this->is_multi(), output); } // optional bool is_violent = 5 [default = false]; if (has_is_violent()) { ::google::protobuf::internal::WireFormatLite::WriteBool(5, this->is_violent(), output); } // optional int32 bullet_type = 6 [default = 1]; if (has_bullet_type()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bullet_type(), output); } // optional int32 bullet_rate = 7; if (has_bullet_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->bullet_rate(), output); } // optional int32 room_rate = 8; if (has_room_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->room_rate(), output); } // optional int32 bullet_power = 9; if (has_bullet_power()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->bullet_power(), output); } // optional .fish_protocols.ManualFireEx exParam = 10; if (has_exparam()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 10, this->exparam(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_manual_fire::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 bullet_id = 2; if (has_bullet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bullet_id(), target); } // optional int32 bullet_angle = 3; if (has_bullet_angle()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bullet_angle(), target); } // optional bool is_multi = 4 [default = false]; if (has_is_multi()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(4, this->is_multi(), target); } // optional bool is_violent = 5 [default = false]; if (has_is_violent()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(5, this->is_violent(), target); } // optional int32 bullet_type = 6 [default = 1]; if (has_bullet_type()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bullet_type(), target); } // optional int32 bullet_rate = 7; if (has_bullet_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->bullet_rate(), target); } // optional int32 room_rate = 8; if (has_room_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->room_rate(), target); } // optional int32 bullet_power = 9; if (has_bullet_power()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->bullet_power(), target); } // optional .fish_protocols.ManualFireEx exParam = 10; if (has_exparam()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 10, this->exparam(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_manual_fire::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_manual_fire]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 bullet_id = 2; if (has_bullet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_id()); } // optional int32 bullet_angle = 3; if (has_bullet_angle()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_angle()); } // optional bool is_multi = 4 [default = false]; if (has_is_multi()) { total_size += 1 + 1; } // optional bool is_violent = 5 [default = false]; if (has_is_violent()) { total_size += 1 + 1; } // optional int32 bullet_type = 6 [default = 1]; if (has_bullet_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_type()); } // optional int32 bullet_rate = 7; if (has_bullet_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_rate()); } // optional int32 room_rate = 8; if (has_room_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->room_rate()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 bullet_power = 9; if (has_bullet_power()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_power()); } // optional .fish_protocols.ManualFireEx exParam = 10; if (has_exparam()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->exparam()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_manual_fire::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_manual_fire* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_manual_fire::MergeFrom(const packetc2l_manual_fire& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_bullet_id()) { set_bullet_id(from.bullet_id()); } if (from.has_bullet_angle()) { set_bullet_angle(from.bullet_angle()); } if (from.has_is_multi()) { set_is_multi(from.is_multi()); } if (from.has_is_violent()) { set_is_violent(from.is_violent()); } if (from.has_bullet_type()) { set_bullet_type(from.bullet_type()); } if (from.has_bullet_rate()) { set_bullet_rate(from.bullet_rate()); } if (from.has_room_rate()) { set_room_rate(from.room_rate()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_bullet_power()) { set_bullet_power(from.bullet_power()); } if (from.has_exparam()) { mutable_exparam()->::fish_protocols::ManualFireEx::MergeFrom(from.exparam()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_manual_fire::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_manual_fire::CopyFrom(const packetc2l_manual_fire& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_manual_fire::IsInitialized() const { return true; } void packetc2l_manual_fire::Swap(packetc2l_manual_fire* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(bullet_id_, other->bullet_id_); std::swap(bullet_angle_, other->bullet_angle_); std::swap(is_multi_, other->is_multi_); std::swap(is_violent_, other->is_violent_); std::swap(bullet_type_, other->bullet_type_); std::swap(bullet_rate_, other->bullet_rate_); std::swap(room_rate_, other->room_rate_); std::swap(bullet_power_, other->bullet_power_); std::swap(exparam_, other->exparam_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_manual_fire::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_manual_fire_descriptor_; metadata.reflection = packetc2l_manual_fire_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_manual_fire::kPacketIdFieldNumber; const int packetl2c_bc_manual_fire::kBulletIdFieldNumber; const int packetl2c_bc_manual_fire::kPlayerIdFieldNumber; const int packetl2c_bc_manual_fire::kBulletAngleFieldNumber; const int packetl2c_bc_manual_fire::kCurExpFieldNumber; const int packetl2c_bc_manual_fire::kBulletTypeFieldNumber; const int packetl2c_bc_manual_fire::kIsViolentFieldNumber; const int packetl2c_bc_manual_fire::kExParamFieldNumber; const int packetl2c_bc_manual_fire::kResultFieldNumber; const int packetl2c_bc_manual_fire::kBulletRateFieldNumber; const int packetl2c_bc_manual_fire::kBulletPowerFieldNumber; const int packetl2c_bc_manual_fire::kGoldFieldNumber; #endif // !_MSC_VER packetl2c_bc_manual_fire::packetl2c_bc_manual_fire() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_manual_fire::InitAsDefaultInstance() { exparam_ = const_cast< ::fish_protocols::ManualFireEx*>(&::fish_protocols::ManualFireEx::default_instance()); } packetl2c_bc_manual_fire::packetl2c_bc_manual_fire(const packetl2c_bc_manual_fire& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_manual_fire::SharedCtor() { _cached_size_ = 0; packet_id_ = 15205; bullet_id_ = 0; player_id_ = 0; bullet_angle_ = 0; curexp_ = GOOGLE_LONGLONG(0); bullet_type_ = 1; is_violent_ = false; exparam_ = NULL; result_ = 0; bulletrate_ = 0; bulletpower_ = 0; gold_ = GOOGLE_LONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_manual_fire::~packetl2c_bc_manual_fire() { SharedDtor(); } void packetl2c_bc_manual_fire::SharedDtor() { if (this != default_instance_) { delete exparam_; } } void packetl2c_bc_manual_fire::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_manual_fire::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_manual_fire_descriptor_; } const packetl2c_bc_manual_fire& packetl2c_bc_manual_fire::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_manual_fire* packetl2c_bc_manual_fire::default_instance_ = NULL; packetl2c_bc_manual_fire* packetl2c_bc_manual_fire::New() const { return new packetl2c_bc_manual_fire; } void packetl2c_bc_manual_fire::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15205; bullet_id_ = 0; player_id_ = 0; bullet_angle_ = 0; curexp_ = GOOGLE_LONGLONG(0); bullet_type_ = 1; is_violent_ = false; if (has_exparam()) { if (exparam_ != NULL) exparam_->::fish_protocols::ManualFireEx::Clear(); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { result_ = 0; bulletrate_ = 0; bulletpower_ = 0; gold_ = GOOGLE_LONGLONG(0); } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_manual_fire::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_bullet_id; break; } // optional int32 bullet_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_id_))); set_has_bullet_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_player_id; break; } // optional int32 player_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_bullet_angle; break; } // optional int32 bullet_angle = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_angle: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_angle_))); set_has_bullet_angle(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_curExp; break; } // optional int64 curExp = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_curExp: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &curexp_))); set_has_curexp(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_bullet_type; break; } // optional int32 bullet_type = 6 [default = 1]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_type: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_type_))); set_has_bullet_type(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_is_violent; break; } // optional bool is_violent = 7 [default = false]; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_is_violent: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_violent_))); set_has_is_violent(); } else { goto handle_uninterpreted; } if (input->ExpectTag(66)) goto parse_exParam; break; } // optional .fish_protocols.ManualFireEx exParam = 8; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_exParam: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_exparam())); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_result; break; } // optional int32 result = 9; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(80)) goto parse_bulletRate; break; } // optional int32 bulletRate = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bulletRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bulletrate_))); set_has_bulletrate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(88)) goto parse_bulletPower; break; } // optional int32 bulletPower = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bulletPower: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bulletpower_))); set_has_bulletpower(); } else { goto handle_uninterpreted; } if (input->ExpectTag(96)) goto parse_gold; break; } // optional int64 gold = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &gold_))); set_has_gold(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_manual_fire::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 bullet_id = 2; if (has_bullet_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->bullet_id(), output); } // optional int32 player_id = 3; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output); } // optional int32 bullet_angle = 4; if (has_bullet_angle()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bullet_angle(), output); } // optional int64 curExp = 5; if (has_curexp()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(5, this->curexp(), output); } // optional int32 bullet_type = 6 [default = 1]; if (has_bullet_type()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->bullet_type(), output); } // optional bool is_violent = 7 [default = false]; if (has_is_violent()) { ::google::protobuf::internal::WireFormatLite::WriteBool(7, this->is_violent(), output); } // optional .fish_protocols.ManualFireEx exParam = 8; if (has_exparam()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 8, this->exparam(), output); } // optional int32 result = 9; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->result(), output); } // optional int32 bulletRate = 10; if (has_bulletrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->bulletrate(), output); } // optional int32 bulletPower = 11; if (has_bulletpower()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->bulletpower(), output); } // optional int64 gold = 12; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(12, this->gold(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_manual_fire::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 bullet_id = 2; if (has_bullet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->bullet_id(), target); } // optional int32 player_id = 3; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target); } // optional int32 bullet_angle = 4; if (has_bullet_angle()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bullet_angle(), target); } // optional int64 curExp = 5; if (has_curexp()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(5, this->curexp(), target); } // optional int32 bullet_type = 6 [default = 1]; if (has_bullet_type()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->bullet_type(), target); } // optional bool is_violent = 7 [default = false]; if (has_is_violent()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(7, this->is_violent(), target); } // optional .fish_protocols.ManualFireEx exParam = 8; if (has_exparam()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 8, this->exparam(), target); } // optional int32 result = 9; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->result(), target); } // optional int32 bulletRate = 10; if (has_bulletrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->bulletrate(), target); } // optional int32 bulletPower = 11; if (has_bulletpower()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->bulletpower(), target); } // optional int64 gold = 12; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(12, this->gold(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_manual_fire::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_manual_fire]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 bullet_id = 2; if (has_bullet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_id()); } // optional int32 player_id = 3; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 bullet_angle = 4; if (has_bullet_angle()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_angle()); } // optional int64 curExp = 5; if (has_curexp()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->curexp()); } // optional int32 bullet_type = 6 [default = 1]; if (has_bullet_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_type()); } // optional bool is_violent = 7 [default = false]; if (has_is_violent()) { total_size += 1 + 1; } // optional .fish_protocols.ManualFireEx exParam = 8; if (has_exparam()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->exparam()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 result = 9; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 bulletRate = 10; if (has_bulletrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bulletrate()); } // optional int32 bulletPower = 11; if (has_bulletpower()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bulletpower()); } // optional int64 gold = 12; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->gold()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_manual_fire::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_manual_fire* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_manual_fire::MergeFrom(const packetl2c_bc_manual_fire& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_bullet_id()) { set_bullet_id(from.bullet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_bullet_angle()) { set_bullet_angle(from.bullet_angle()); } if (from.has_curexp()) { set_curexp(from.curexp()); } if (from.has_bullet_type()) { set_bullet_type(from.bullet_type()); } if (from.has_is_violent()) { set_is_violent(from.is_violent()); } if (from.has_exparam()) { mutable_exparam()->::fish_protocols::ManualFireEx::MergeFrom(from.exparam()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_result()) { set_result(from.result()); } if (from.has_bulletrate()) { set_bulletrate(from.bulletrate()); } if (from.has_bulletpower()) { set_bulletpower(from.bulletpower()); } if (from.has_gold()) { set_gold(from.gold()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_manual_fire::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_manual_fire::CopyFrom(const packetl2c_bc_manual_fire& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_manual_fire::IsInitialized() const { return true; } void packetl2c_bc_manual_fire::Swap(packetl2c_bc_manual_fire* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(bullet_id_, other->bullet_id_); std::swap(player_id_, other->player_id_); std::swap(bullet_angle_, other->bullet_angle_); std::swap(curexp_, other->curexp_); std::swap(bullet_type_, other->bullet_type_); std::swap(is_violent_, other->is_violent_); std::swap(exparam_, other->exparam_); std::swap(result_, other->result_); std::swap(bulletrate_, other->bulletrate_); std::swap(bulletpower_, other->bulletpower_); std::swap(gold_, other->gold_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_manual_fire::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_manual_fire_descriptor_; metadata.reflection = packetl2c_bc_manual_fire_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_hit_fish::kPacketIdFieldNumber; const int packetc2l_hit_fish::kBulletIdFieldNumber; const int packetc2l_hit_fish::kFishIdFieldNumber; #endif // !_MSC_VER packetc2l_hit_fish::packetc2l_hit_fish() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_hit_fish::InitAsDefaultInstance() { } packetc2l_hit_fish::packetc2l_hit_fish(const packetc2l_hit_fish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_hit_fish::SharedCtor() { _cached_size_ = 0; packet_id_ = 10104; bullet_id_ = 0; fish_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_hit_fish::~packetc2l_hit_fish() { SharedDtor(); } void packetc2l_hit_fish::SharedDtor() { if (this != default_instance_) { } } void packetc2l_hit_fish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_hit_fish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_hit_fish_descriptor_; } const packetc2l_hit_fish& packetc2l_hit_fish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_hit_fish* packetc2l_hit_fish::default_instance_ = NULL; packetc2l_hit_fish* packetc2l_hit_fish::New() const { return new packetc2l_hit_fish; } void packetc2l_hit_fish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10104; bullet_id_ = 0; fish_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_hit_fish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_bullet_id; break; } // optional int32 bullet_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_id_))); set_has_bullet_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_id; break; } // optional int32 fish_id = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_hit_fish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 bullet_id = 3; if (has_bullet_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bullet_id(), output); } // optional int32 fish_id = 4; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fish_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_hit_fish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 bullet_id = 3; if (has_bullet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bullet_id(), target); } // optional int32 fish_id = 4; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fish_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_hit_fish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 bullet_id = 3; if (has_bullet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_id()); } // optional int32 fish_id = 4; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_hit_fish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_hit_fish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_hit_fish::MergeFrom(const packetc2l_hit_fish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_bullet_id()) { set_bullet_id(from.bullet_id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_hit_fish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_hit_fish::CopyFrom(const packetc2l_hit_fish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_hit_fish::IsInitialized() const { return true; } void packetc2l_hit_fish::Swap(packetc2l_hit_fish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(bullet_id_, other->bullet_id_); std::swap(fish_id_, other->fish_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_hit_fish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_hit_fish_descriptor_; metadata.reflection = packetc2l_hit_fish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_hit_fishs::kPacketIdFieldNumber; const int packetc2l_hit_fishs::kHitTypeFieldNumber; const int packetc2l_hit_fishs::kBulletIdFieldNumber; const int packetc2l_hit_fishs::kFishIdsFieldNumber; const int packetc2l_hit_fishs::kHitParamFieldNumber; #endif // !_MSC_VER packetc2l_hit_fishs::packetc2l_hit_fishs() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_hit_fishs::InitAsDefaultInstance() { } packetc2l_hit_fishs::packetc2l_hit_fishs(const packetc2l_hit_fishs& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_hit_fishs::SharedCtor() { _cached_size_ = 0; packet_id_ = 10108; hit_type_ = 0; bullet_id_ = 0; hit_param_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_hit_fishs::~packetc2l_hit_fishs() { SharedDtor(); } void packetc2l_hit_fishs::SharedDtor() { if (this != default_instance_) { } } void packetc2l_hit_fishs::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_hit_fishs::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_hit_fishs_descriptor_; } const packetc2l_hit_fishs& packetc2l_hit_fishs::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_hit_fishs* packetc2l_hit_fishs::default_instance_ = NULL; packetc2l_hit_fishs* packetc2l_hit_fishs::New() const { return new packetc2l_hit_fishs; } void packetc2l_hit_fishs::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10108; hit_type_ = 0; bullet_id_ = 0; hit_param_ = 0; } fish_ids_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_hit_fishs::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_hit_type; break; } // optional int32 hit_type = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_hit_type: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &hit_type_))); set_has_hit_type(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_bullet_id; break; } // optional int32 bullet_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_id_))); set_has_bullet_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_ids; break; } // repeated int32 fish_ids = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_ids: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 32, input, this->mutable_fish_ids()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_fish_ids()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_ids; if (input->ExpectTag(40)) goto parse_hit_param; break; } // optional int32 hit_param = 5 [default = 0]; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_hit_param: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &hit_param_))); set_has_hit_param(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_hit_fishs::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 hit_type = 2; if (has_hit_type()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->hit_type(), output); } // optional int32 bullet_id = 3; if (has_bullet_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bullet_id(), output); } // repeated int32 fish_ids = 4; for (int i = 0; i < this->fish_ids_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 4, this->fish_ids(i), output); } // optional int32 hit_param = 5 [default = 0]; if (has_hit_param()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->hit_param(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_hit_fishs::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 hit_type = 2; if (has_hit_type()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->hit_type(), target); } // optional int32 bullet_id = 3; if (has_bullet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bullet_id(), target); } // repeated int32 fish_ids = 4; for (int i = 0; i < this->fish_ids_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(4, this->fish_ids(i), target); } // optional int32 hit_param = 5 [default = 0]; if (has_hit_param()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->hit_param(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_hit_fishs::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_hit_fishs]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 hit_type = 2; if (has_hit_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->hit_type()); } // optional int32 bullet_id = 3; if (has_bullet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_id()); } // optional int32 hit_param = 5 [default = 0]; if (has_hit_param()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->hit_param()); } } // repeated int32 fish_ids = 4; { int data_size = 0; for (int i = 0; i < this->fish_ids_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->fish_ids(i)); } total_size += 1 * this->fish_ids_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_hit_fishs::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_hit_fishs* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_hit_fishs::MergeFrom(const packetc2l_hit_fishs& from) { GOOGLE_CHECK_NE(&from, this); fish_ids_.MergeFrom(from.fish_ids_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_hit_type()) { set_hit_type(from.hit_type()); } if (from.has_bullet_id()) { set_bullet_id(from.bullet_id()); } if (from.has_hit_param()) { set_hit_param(from.hit_param()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_hit_fishs::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_hit_fishs::CopyFrom(const packetc2l_hit_fishs& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_hit_fishs::IsInitialized() const { return true; } void packetc2l_hit_fishs::Swap(packetc2l_hit_fishs* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(hit_type_, other->hit_type_); std::swap(bullet_id_, other->bullet_id_); fish_ids_.Swap(&other->fish_ids_); std::swap(hit_param_, other->hit_param_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_hit_fishs::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_hit_fishs_descriptor_; metadata.reflection = packetc2l_hit_fishs_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int LegindaryCoinGainInfo::kPlayerIdFieldNumber; const int LegindaryCoinGainInfo::kCountFieldNumber; #endif // !_MSC_VER LegindaryCoinGainInfo::LegindaryCoinGainInfo() : ::google::protobuf::Message() { SharedCtor(); } void LegindaryCoinGainInfo::InitAsDefaultInstance() { } LegindaryCoinGainInfo::LegindaryCoinGainInfo(const LegindaryCoinGainInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void LegindaryCoinGainInfo::SharedCtor() { _cached_size_ = 0; playerid_ = 0; count_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } LegindaryCoinGainInfo::~LegindaryCoinGainInfo() { SharedDtor(); } void LegindaryCoinGainInfo::SharedDtor() { if (this != default_instance_) { } } void LegindaryCoinGainInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* LegindaryCoinGainInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return LegindaryCoinGainInfo_descriptor_; } const LegindaryCoinGainInfo& LegindaryCoinGainInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } LegindaryCoinGainInfo* LegindaryCoinGainInfo::default_instance_ = NULL; LegindaryCoinGainInfo* LegindaryCoinGainInfo::New() const { return new LegindaryCoinGainInfo; } void LegindaryCoinGainInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { playerid_ = 0; count_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool LegindaryCoinGainInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 playerId = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_count; break; } // optional int32 count = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_count: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &count_))); set_has_count(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void LegindaryCoinGainInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 playerId = 1; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->playerid(), output); } // optional int32 count = 2; if (has_count()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->count(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* LegindaryCoinGainInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 playerId = 1; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->playerid(), target); } // optional int32 count = 2; if (has_count()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->count(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int LegindaryCoinGainInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 playerId = 1; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 count = 2; if (has_count()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->count()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void LegindaryCoinGainInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const LegindaryCoinGainInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void LegindaryCoinGainInfo::MergeFrom(const LegindaryCoinGainInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_count()) { set_count(from.count()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void LegindaryCoinGainInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void LegindaryCoinGainInfo::CopyFrom(const LegindaryCoinGainInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool LegindaryCoinGainInfo::IsInitialized() const { return true; } void LegindaryCoinGainInfo::Swap(LegindaryCoinGainInfo* other) { if (other != this) { std::swap(playerid_, other->playerid_); std::swap(count_, other->count_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata LegindaryCoinGainInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = LegindaryCoinGainInfo_descriptor_; metadata.reflection = LegindaryCoinGainInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_fish_die::kPacketIdFieldNumber; const int packetl2c_bc_fish_die::kFishIdFieldNumber; const int packetl2c_bc_fish_die::kKillIdFieldNumber; const int packetl2c_bc_fish_die::kScoreFieldNumber; const int packetl2c_bc_fish_die::kDiamondFieldNumber; const int packetl2c_bc_fish_die::kTicketFieldNumber; const int packetl2c_bc_fish_die::kDimensityFieldNumber; const int packetl2c_bc_fish_die::kRefItemIdFieldNumber; const int packetl2c_bc_fish_die::kDragonBallFieldNumber; const int packetl2c_bc_fish_die::kLegendaryCoinFieldNumber; const int packetl2c_bc_fish_die::kPointFieldNumber; const int packetl2c_bc_fish_die::kAddpointFieldNumber; const int packetl2c_bc_fish_die::kQualifyPointFieldNumber; const int packetl2c_bc_fish_die::kDailyTopCardInfoFieldNumber; const int packetl2c_bc_fish_die::kItemsFieldNumber; const int packetl2c_bc_fish_die::kFishCfgIdFieldNumber; const int packetl2c_bc_fish_die::kFishScoreFieldNumber; #endif // !_MSC_VER packetl2c_bc_fish_die::packetl2c_bc_fish_die() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_fish_die::InitAsDefaultInstance() { dailytopcardinfo_ = const_cast< ::fish_protocols::ArmedSharkCardTypeInfo*>(&::fish_protocols::ArmedSharkCardTypeInfo::default_instance()); } packetl2c_bc_fish_die::packetl2c_bc_fish_die(const packetl2c_bc_fish_die& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_fish_die::SharedCtor() { _cached_size_ = 0; packet_id_ = 15206; fish_id_ = 0; kill_id_ = 0; score_ = 0; diamond_ = 0; ticket_ = 0; dimensity_ = 0; refitemid_ = 0; dragonball_ = 0; point_ = 0; addpoint_ = 0; qualifypoint_ = 0; dailytopcardinfo_ = NULL; fishcfgid_ = 0; fishscore_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_fish_die::~packetl2c_bc_fish_die() { SharedDtor(); } void packetl2c_bc_fish_die::SharedDtor() { if (this != default_instance_) { delete dailytopcardinfo_; } } void packetl2c_bc_fish_die::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_fish_die::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_fish_die_descriptor_; } const packetl2c_bc_fish_die& packetl2c_bc_fish_die::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_fish_die* packetl2c_bc_fish_die::default_instance_ = NULL; packetl2c_bc_fish_die* packetl2c_bc_fish_die::New() const { return new packetl2c_bc_fish_die; } void packetl2c_bc_fish_die::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15206; fish_id_ = 0; kill_id_ = 0; score_ = 0; diamond_ = 0; ticket_ = 0; dimensity_ = 0; refitemid_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { dragonball_ = 0; point_ = 0; addpoint_ = 0; qualifypoint_ = 0; if (has_dailytopcardinfo()) { if (dailytopcardinfo_ != NULL) dailytopcardinfo_->::fish_protocols::ArmedSharkCardTypeInfo::Clear(); } fishcfgid_ = 0; } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { fishscore_ = 0; } legendarycoin_.Clear(); items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_fish_die::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_fish_id; break; } // optional int32 fish_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_kill_id; break; } // optional int32 kill_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_kill_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &kill_id_))); set_has_kill_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_score; break; } // optional int32 score = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &score_))); set_has_score(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_diamond; break; } // optional int32 diamond = 5 [default = 0]; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_diamond: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &diamond_))); set_has_diamond(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_ticket; break; } // optional int32 ticket = 6 [default = 0]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_ticket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ticket_))); set_has_ticket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_dimensity; break; } // optional int32 dimensity = 7 [default = 0]; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_dimensity: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &dimensity_))); set_has_dimensity(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_refItemId; break; } // optional int32 refItemId = 8 [default = 0]; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_refItemId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &refitemid_))); set_has_refitemid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_DragonBall; break; } // optional int32 DragonBall = 9 [default = 0]; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_DragonBall: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &dragonball_))); set_has_dragonball(); } else { goto handle_uninterpreted; } if (input->ExpectTag(82)) goto parse_LegendaryCoin; break; } // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_LegendaryCoin: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_legendarycoin())); } else { goto handle_uninterpreted; } if (input->ExpectTag(82)) goto parse_LegendaryCoin; if (input->ExpectTag(88)) goto parse_point; break; } // optional int32 point = 11 [default = 0]; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_point: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &point_))); set_has_point(); } else { goto handle_uninterpreted; } if (input->ExpectTag(96)) goto parse_addpoint; break; } // optional int32 addpoint = 12 [default = 0]; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_addpoint: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &addpoint_))); set_has_addpoint(); } else { goto handle_uninterpreted; } if (input->ExpectTag(104)) goto parse_qualifyPoint; break; } // optional int32 qualifyPoint = 13 [default = 0]; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_qualifyPoint: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &qualifypoint_))); set_has_qualifypoint(); } else { goto handle_uninterpreted; } if (input->ExpectTag(114)) goto parse_dailyTopCardInfo; break; } // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_dailyTopCardInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_dailytopcardinfo())); } else { goto handle_uninterpreted; } if (input->ExpectTag(122)) goto parse_items; break; } // repeated .fish_protocols.msg_item items = 15; case 15: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(122)) goto parse_items; if (input->ExpectTag(128)) goto parse_fishCfgId; break; } // optional int32 fishCfgId = 16; case 16: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishCfgId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishcfgid_))); set_has_fishcfgid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(136)) goto parse_fishScore; break; } // optional int32 fishScore = 17; case 17: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishScore: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishscore_))); set_has_fishscore(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_fish_die::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 fish_id = 2; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fish_id(), output); } // optional int32 kill_id = 3; if (has_kill_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->kill_id(), output); } // optional int32 score = 4; if (has_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->score(), output); } // optional int32 diamond = 5 [default = 0]; if (has_diamond()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->diamond(), output); } // optional int32 ticket = 6 [default = 0]; if (has_ticket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->ticket(), output); } // optional int32 dimensity = 7 [default = 0]; if (has_dimensity()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->dimensity(), output); } // optional int32 refItemId = 8 [default = 0]; if (has_refitemid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->refitemid(), output); } // optional int32 DragonBall = 9 [default = 0]; if (has_dragonball()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->dragonball(), output); } // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10; for (int i = 0; i < this->legendarycoin_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 10, this->legendarycoin(i), output); } // optional int32 point = 11 [default = 0]; if (has_point()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->point(), output); } // optional int32 addpoint = 12 [default = 0]; if (has_addpoint()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->addpoint(), output); } // optional int32 qualifyPoint = 13 [default = 0]; if (has_qualifypoint()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->qualifypoint(), output); } // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14; if (has_dailytopcardinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 14, this->dailytopcardinfo(), output); } // repeated .fish_protocols.msg_item items = 15; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 15, this->items(i), output); } // optional int32 fishCfgId = 16; if (has_fishcfgid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->fishcfgid(), output); } // optional int32 fishScore = 17; if (has_fishscore()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(17, this->fishscore(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_fish_die::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 fish_id = 2; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fish_id(), target); } // optional int32 kill_id = 3; if (has_kill_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->kill_id(), target); } // optional int32 score = 4; if (has_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->score(), target); } // optional int32 diamond = 5 [default = 0]; if (has_diamond()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->diamond(), target); } // optional int32 ticket = 6 [default = 0]; if (has_ticket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->ticket(), target); } // optional int32 dimensity = 7 [default = 0]; if (has_dimensity()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->dimensity(), target); } // optional int32 refItemId = 8 [default = 0]; if (has_refitemid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->refitemid(), target); } // optional int32 DragonBall = 9 [default = 0]; if (has_dragonball()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->dragonball(), target); } // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10; for (int i = 0; i < this->legendarycoin_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 10, this->legendarycoin(i), target); } // optional int32 point = 11 [default = 0]; if (has_point()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->point(), target); } // optional int32 addpoint = 12 [default = 0]; if (has_addpoint()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->addpoint(), target); } // optional int32 qualifyPoint = 13 [default = 0]; if (has_qualifypoint()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->qualifypoint(), target); } // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14; if (has_dailytopcardinfo()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 14, this->dailytopcardinfo(), target); } // repeated .fish_protocols.msg_item items = 15; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 15, this->items(i), target); } // optional int32 fishCfgId = 16; if (has_fishcfgid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->fishcfgid(), target); } // optional int32 fishScore = 17; if (has_fishscore()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(17, this->fishscore(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_fish_die::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fish_die]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 fish_id = 2; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } // optional int32 kill_id = 3; if (has_kill_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->kill_id()); } // optional int32 score = 4; if (has_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->score()); } // optional int32 diamond = 5 [default = 0]; if (has_diamond()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->diamond()); } // optional int32 ticket = 6 [default = 0]; if (has_ticket()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->ticket()); } // optional int32 dimensity = 7 [default = 0]; if (has_dimensity()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->dimensity()); } // optional int32 refItemId = 8 [default = 0]; if (has_refitemid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->refitemid()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 DragonBall = 9 [default = 0]; if (has_dragonball()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->dragonball()); } // optional int32 point = 11 [default = 0]; if (has_point()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->point()); } // optional int32 addpoint = 12 [default = 0]; if (has_addpoint()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->addpoint()); } // optional int32 qualifyPoint = 13 [default = 0]; if (has_qualifypoint()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->qualifypoint()); } // optional .fish_protocols.ArmedSharkCardTypeInfo dailyTopCardInfo = 14; if (has_dailytopcardinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->dailytopcardinfo()); } // optional int32 fishCfgId = 16; if (has_fishcfgid()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishcfgid()); } } if (_has_bits_[16 / 32] & (0xffu << (16 % 32))) { // optional int32 fishScore = 17; if (has_fishscore()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishscore()); } } // repeated .fish_protocols.LegindaryCoinGainInfo LegendaryCoin = 10; total_size += 1 * this->legendarycoin_size(); for (int i = 0; i < this->legendarycoin_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->legendarycoin(i)); } // repeated .fish_protocols.msg_item items = 15; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_fish_die::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_fish_die* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_fish_die::MergeFrom(const packetl2c_bc_fish_die& from) { GOOGLE_CHECK_NE(&from, this); legendarycoin_.MergeFrom(from.legendarycoin_); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } if (from.has_kill_id()) { set_kill_id(from.kill_id()); } if (from.has_score()) { set_score(from.score()); } if (from.has_diamond()) { set_diamond(from.diamond()); } if (from.has_ticket()) { set_ticket(from.ticket()); } if (from.has_dimensity()) { set_dimensity(from.dimensity()); } if (from.has_refitemid()) { set_refitemid(from.refitemid()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_dragonball()) { set_dragonball(from.dragonball()); } if (from.has_point()) { set_point(from.point()); } if (from.has_addpoint()) { set_addpoint(from.addpoint()); } if (from.has_qualifypoint()) { set_qualifypoint(from.qualifypoint()); } if (from.has_dailytopcardinfo()) { mutable_dailytopcardinfo()->::fish_protocols::ArmedSharkCardTypeInfo::MergeFrom(from.dailytopcardinfo()); } if (from.has_fishcfgid()) { set_fishcfgid(from.fishcfgid()); } } if (from._has_bits_[16 / 32] & (0xffu << (16 % 32))) { if (from.has_fishscore()) { set_fishscore(from.fishscore()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_fish_die::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_fish_die::CopyFrom(const packetl2c_bc_fish_die& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_fish_die::IsInitialized() const { return true; } void packetl2c_bc_fish_die::Swap(packetl2c_bc_fish_die* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(fish_id_, other->fish_id_); std::swap(kill_id_, other->kill_id_); std::swap(score_, other->score_); std::swap(diamond_, other->diamond_); std::swap(ticket_, other->ticket_); std::swap(dimensity_, other->dimensity_); std::swap(refitemid_, other->refitemid_); std::swap(dragonball_, other->dragonball_); legendarycoin_.Swap(&other->legendarycoin_); std::swap(point_, other->point_); std::swap(addpoint_, other->addpoint_); std::swap(qualifypoint_, other->qualifypoint_); std::swap(dailytopcardinfo_, other->dailytopcardinfo_); items_.Swap(&other->items_); std::swap(fishcfgid_, other->fishcfgid_); std::swap(fishscore_, other->fishscore_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_fish_die::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_fish_die_descriptor_; metadata.reflection = packetl2c_bc_fish_die_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_notify_bullet_explode::kPacketIdFieldNumber; const int packetl2c_notify_bullet_explode::kPlayerIdFieldNumber; const int packetl2c_notify_bullet_explode::kBulletIdFieldNumber; #endif // !_MSC_VER packetl2c_notify_bullet_explode::packetl2c_notify_bullet_explode() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_notify_bullet_explode::InitAsDefaultInstance() { } packetl2c_notify_bullet_explode::packetl2c_notify_bullet_explode(const packetl2c_notify_bullet_explode& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_notify_bullet_explode::SharedCtor() { _cached_size_ = 0; packet_id_ = 15231; playerid_ = 0; bulletid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_notify_bullet_explode::~packetl2c_notify_bullet_explode() { SharedDtor(); } void packetl2c_notify_bullet_explode::SharedDtor() { if (this != default_instance_) { } } void packetl2c_notify_bullet_explode::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_notify_bullet_explode::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_notify_bullet_explode_descriptor_; } const packetl2c_notify_bullet_explode& packetl2c_notify_bullet_explode::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_notify_bullet_explode* packetl2c_notify_bullet_explode::default_instance_ = NULL; packetl2c_notify_bullet_explode* packetl2c_notify_bullet_explode::New() const { return new packetl2c_notify_bullet_explode; } void packetl2c_notify_bullet_explode::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15231; playerid_ = 0; bulletid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_notify_bullet_explode::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_bulletId; break; } // optional int32 bulletId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bulletId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bulletid_))); set_has_bulletid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_notify_bullet_explode::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 bulletId = 3; if (has_bulletid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_notify_bullet_explode::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 bulletId = 3; if (has_bulletid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_notify_bullet_explode::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_notify_bullet_explode]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 bulletId = 3; if (has_bulletid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bulletid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_notify_bullet_explode::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_notify_bullet_explode* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_notify_bullet_explode::MergeFrom(const packetl2c_notify_bullet_explode& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_bulletid()) { set_bulletid(from.bulletid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_notify_bullet_explode::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_notify_bullet_explode::CopyFrom(const packetl2c_notify_bullet_explode& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_notify_bullet_explode::IsInitialized() const { return true; } void packetl2c_notify_bullet_explode::Swap(packetl2c_notify_bullet_explode* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(bulletid_, other->bulletid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_notify_bullet_explode::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_notify_bullet_explode_descriptor_; metadata.reflection = packetl2c_notify_bullet_explode_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_bullet_explode::kPacketIdFieldNumber; const int packetl2c_bc_bullet_explode::kPlayerIdFieldNumber; const int packetl2c_bc_bullet_explode::kBulletIdFieldNumber; const int packetl2c_bc_bullet_explode::kFishIdsFieldNumber; const int packetl2c_bc_bullet_explode::kScoreFieldNumber; const int packetl2c_bc_bullet_explode::kItemsFieldNumber; #endif // !_MSC_VER packetl2c_bc_bullet_explode::packetl2c_bc_bullet_explode() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_bullet_explode::InitAsDefaultInstance() { } packetl2c_bc_bullet_explode::packetl2c_bc_bullet_explode(const packetl2c_bc_bullet_explode& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_bullet_explode::SharedCtor() { _cached_size_ = 0; packet_id_ = 15222; playerid_ = 0; bulletid_ = 0; score_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_bullet_explode::~packetl2c_bc_bullet_explode() { SharedDtor(); } void packetl2c_bc_bullet_explode::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_bullet_explode::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_bullet_explode::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_bullet_explode_descriptor_; } const packetl2c_bc_bullet_explode& packetl2c_bc_bullet_explode::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_bullet_explode* packetl2c_bc_bullet_explode::default_instance_ = NULL; packetl2c_bc_bullet_explode* packetl2c_bc_bullet_explode::New() const { return new packetl2c_bc_bullet_explode; } void packetl2c_bc_bullet_explode::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15222; playerid_ = 0; bulletid_ = 0; score_ = 0; } fishids_.Clear(); items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_bullet_explode::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_bulletId; break; } // optional int32 bulletId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bulletId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bulletid_))); set_has_bulletid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fishIds; break; } // repeated int32 fishIds = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishIds: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 32, input, this->mutable_fishids()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_fishids()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fishIds; if (input->ExpectTag(40)) goto parse_score; break; } // optional int32 score = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &score_))); set_has_score(); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_items; break; } // repeated .fish_protocols.msg_item items = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_items; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_bullet_explode::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 bulletId = 3; if (has_bulletid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->bulletid(), output); } // repeated int32 fishIds = 4; for (int i = 0; i < this->fishids_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 4, this->fishids(i), output); } // optional int32 score = 5; if (has_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->score(), output); } // repeated .fish_protocols.msg_item items = 6; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->items(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_bullet_explode::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 bulletId = 3; if (has_bulletid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->bulletid(), target); } // repeated int32 fishIds = 4; for (int i = 0; i < this->fishids_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(4, this->fishids(i), target); } // optional int32 score = 5; if (has_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->score(), target); } // repeated .fish_protocols.msg_item items = 6; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 6, this->items(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_bullet_explode::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_bullet_explode]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 bulletId = 3; if (has_bulletid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bulletid()); } // optional int32 score = 5; if (has_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->score()); } } // repeated int32 fishIds = 4; { int data_size = 0; for (int i = 0; i < this->fishids_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->fishids(i)); } total_size += 1 * this->fishids_size() + data_size; } // repeated .fish_protocols.msg_item items = 6; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_bullet_explode::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_bullet_explode* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_bullet_explode::MergeFrom(const packetl2c_bc_bullet_explode& from) { GOOGLE_CHECK_NE(&from, this); fishids_.MergeFrom(from.fishids_); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_bulletid()) { set_bulletid(from.bulletid()); } if (from.has_score()) { set_score(from.score()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_bullet_explode::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_bullet_explode::CopyFrom(const packetl2c_bc_bullet_explode& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_bullet_explode::IsInitialized() const { return true; } void packetl2c_bc_bullet_explode::Swap(packetl2c_bc_bullet_explode* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(bulletid_, other->bulletid_); fishids_.Swap(&other->fishids_); std::swap(score_, other->score_); items_.Swap(&other->items_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_bullet_explode::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_bullet_explode_descriptor_; metadata.reflection = packetl2c_bc_bullet_explode_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_specialfish_die::kPacketIdFieldNumber; const int packetl2c_bc_specialfish_die::kFishIdFieldNumber; const int packetl2c_bc_specialfish_die::kPlayerIdFieldNumber; const int packetl2c_bc_specialfish_die::kBulletIdFieldNumber; const int packetl2c_bc_specialfish_die::kBaseScoreFieldNumber; const int packetl2c_bc_specialfish_die::kAddScoreFieldNumber; const int packetl2c_bc_specialfish_die::kTicketFieldNumber; const int packetl2c_bc_specialfish_die::kGetstarFieldNumber; const int packetl2c_bc_specialfish_die::kDragonBallFieldNumber; const int packetl2c_bc_specialfish_die::kPointFieldNumber; const int packetl2c_bc_specialfish_die::kItemsFieldNumber; const int packetl2c_bc_specialfish_die::kFishCfgIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_specialfish_die::packetl2c_bc_specialfish_die() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_specialfish_die::InitAsDefaultInstance() { } packetl2c_bc_specialfish_die::packetl2c_bc_specialfish_die(const packetl2c_bc_specialfish_die& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_specialfish_die::SharedCtor() { _cached_size_ = 0; packet_id_ = 15219; fish_id_ = 0; player_id_ = 0; bullet_id_ = 0; base_score_ = 0; add_score_ = 0; ticket_ = 0; getstar_ = false; dragonball_ = 0; point_ = 0; fishcfgid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_specialfish_die::~packetl2c_bc_specialfish_die() { SharedDtor(); } void packetl2c_bc_specialfish_die::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_specialfish_die::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_specialfish_die::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_specialfish_die_descriptor_; } const packetl2c_bc_specialfish_die& packetl2c_bc_specialfish_die::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_specialfish_die* packetl2c_bc_specialfish_die::default_instance_ = NULL; packetl2c_bc_specialfish_die* packetl2c_bc_specialfish_die::New() const { return new packetl2c_bc_specialfish_die; } void packetl2c_bc_specialfish_die::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15219; fish_id_ = 0; player_id_ = 0; bullet_id_ = 0; base_score_ = 0; add_score_ = 0; ticket_ = 0; getstar_ = false; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { dragonball_ = 0; point_ = 0; fishcfgid_ = 0; } items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_specialfish_die::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_fish_id; break; } // optional int32 fish_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_player_id; break; } // optional int32 player_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_bullet_id; break; } // optional int32 bullet_id = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bullet_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bullet_id_))); set_has_bullet_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_base_score; break; } // optional int32 base_score = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_base_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &base_score_))); set_has_base_score(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_add_score; break; } // optional int32 add_score = 6 [default = 0]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_add_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &add_score_))); set_has_add_score(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_ticket; break; } // optional int32 ticket = 7 [default = 0]; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_ticket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ticket_))); set_has_ticket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_getstar; break; } // optional bool getstar = 8 [default = false]; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_getstar: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &getstar_))); set_has_getstar(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_DragonBall; break; } // optional int32 DragonBall = 9 [default = 0]; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_DragonBall: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &dragonball_))); set_has_dragonball(); } else { goto handle_uninterpreted; } if (input->ExpectTag(80)) goto parse_point; break; } // optional int32 point = 10 [default = 0]; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_point: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &point_))); set_has_point(); } else { goto handle_uninterpreted; } if (input->ExpectTag(90)) goto parse_items; break; } // repeated .fish_protocols.msg_item items = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(90)) goto parse_items; if (input->ExpectTag(96)) goto parse_fishCfgId; break; } // optional int32 fishCfgId = 12; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishCfgId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishcfgid_))); set_has_fishcfgid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_specialfish_die::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 fish_id = 2; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->fish_id(), output); } // optional int32 player_id = 3; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output); } // optional int32 bullet_id = 4; if (has_bullet_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->bullet_id(), output); } // optional int32 base_score = 5; if (has_base_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->base_score(), output); } // optional int32 add_score = 6 [default = 0]; if (has_add_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->add_score(), output); } // optional int32 ticket = 7 [default = 0]; if (has_ticket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->ticket(), output); } // optional bool getstar = 8 [default = false]; if (has_getstar()) { ::google::protobuf::internal::WireFormatLite::WriteBool(8, this->getstar(), output); } // optional int32 DragonBall = 9 [default = 0]; if (has_dragonball()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->dragonball(), output); } // optional int32 point = 10 [default = 0]; if (has_point()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->point(), output); } // repeated .fish_protocols.msg_item items = 11; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 11, this->items(i), output); } // optional int32 fishCfgId = 12; if (has_fishcfgid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->fishcfgid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_specialfish_die::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 fish_id = 2; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->fish_id(), target); } // optional int32 player_id = 3; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target); } // optional int32 bullet_id = 4; if (has_bullet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->bullet_id(), target); } // optional int32 base_score = 5; if (has_base_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->base_score(), target); } // optional int32 add_score = 6 [default = 0]; if (has_add_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->add_score(), target); } // optional int32 ticket = 7 [default = 0]; if (has_ticket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->ticket(), target); } // optional bool getstar = 8 [default = false]; if (has_getstar()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(8, this->getstar(), target); } // optional int32 DragonBall = 9 [default = 0]; if (has_dragonball()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->dragonball(), target); } // optional int32 point = 10 [default = 0]; if (has_point()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->point(), target); } // repeated .fish_protocols.msg_item items = 11; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 11, this->items(i), target); } // optional int32 fishCfgId = 12; if (has_fishcfgid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->fishcfgid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_specialfish_die::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_specialfish_die]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 fish_id = 2; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } // optional int32 player_id = 3; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 bullet_id = 4; if (has_bullet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bullet_id()); } // optional int32 base_score = 5; if (has_base_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->base_score()); } // optional int32 add_score = 6 [default = 0]; if (has_add_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->add_score()); } // optional int32 ticket = 7 [default = 0]; if (has_ticket()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->ticket()); } // optional bool getstar = 8 [default = false]; if (has_getstar()) { total_size += 1 + 1; } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 DragonBall = 9 [default = 0]; if (has_dragonball()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->dragonball()); } // optional int32 point = 10 [default = 0]; if (has_point()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->point()); } // optional int32 fishCfgId = 12; if (has_fishcfgid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishcfgid()); } } // repeated .fish_protocols.msg_item items = 11; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_specialfish_die::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_specialfish_die* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_specialfish_die::MergeFrom(const packetl2c_bc_specialfish_die& from) { GOOGLE_CHECK_NE(&from, this); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_bullet_id()) { set_bullet_id(from.bullet_id()); } if (from.has_base_score()) { set_base_score(from.base_score()); } if (from.has_add_score()) { set_add_score(from.add_score()); } if (from.has_ticket()) { set_ticket(from.ticket()); } if (from.has_getstar()) { set_getstar(from.getstar()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_dragonball()) { set_dragonball(from.dragonball()); } if (from.has_point()) { set_point(from.point()); } if (from.has_fishcfgid()) { set_fishcfgid(from.fishcfgid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_specialfish_die::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_specialfish_die::CopyFrom(const packetl2c_bc_specialfish_die& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_specialfish_die::IsInitialized() const { return true; } void packetl2c_bc_specialfish_die::Swap(packetl2c_bc_specialfish_die* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(fish_id_, other->fish_id_); std::swap(player_id_, other->player_id_); std::swap(bullet_id_, other->bullet_id_); std::swap(base_score_, other->base_score_); std::swap(add_score_, other->add_score_); std::swap(ticket_, other->ticket_); std::swap(getstar_, other->getstar_); std::swap(dragonball_, other->dragonball_); std::swap(point_, other->point_); items_.Swap(&other->items_); std::swap(fishcfgid_, other->fishcfgid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_specialfish_die::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_specialfish_die_descriptor_; metadata.reflection = packetl2c_bc_specialfish_die_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_fishs_die::kPacketIdFieldNumber; const int packetl2c_bc_fishs_die::kPlayerIdFieldNumber; const int packetl2c_bc_fishs_die::kDieTypeFieldNumber; const int packetl2c_bc_fishs_die::kDieParamsFieldNumber; const int packetl2c_bc_fishs_die::kTotalScoreFieldNumber; const int packetl2c_bc_fishs_die::kTotalDiamondFieldNumber; const int packetl2c_bc_fishs_die::kTotalDimensityFieldNumber; const int packetl2c_bc_fishs_die::kTotalTicketFieldNumber; const int packetl2c_bc_fishs_die::kTotalPointFieldNumber; const int packetl2c_bc_fishs_die::kTorpedoIdFieldNumber; const int packetl2c_bc_fishs_die::kBaseRateFieldNumber; const int packetl2c_bc_fishs_die::kAddRateFieldNumber; const int packetl2c_bc_fishs_die::kTicketFieldNumber; const int packetl2c_bc_fishs_die::kAddPointFieldNumber; const int packetl2c_bc_fishs_die::kItemsFieldNumber; const int packetl2c_bc_fishs_die::kFishCfgIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_fishs_die::packetl2c_bc_fishs_die() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_fishs_die::InitAsDefaultInstance() { } packetl2c_bc_fishs_die::packetl2c_bc_fishs_die(const packetl2c_bc_fishs_die& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_fishs_die::SharedCtor() { _cached_size_ = 0; packet_id_ = 15218; player_id_ = 0; die_type_ = 0; total_score_ = 0; total_diamond_ = 0; total_dimensity_ = 0; total_ticket_ = 0; total_point_ = 0; torpedoid_ = 0; base_rate_ = 0; add_rate_ = 0; ticket_ = 0; add_point_ = 0; fishcfgid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_fishs_die::~packetl2c_bc_fishs_die() { SharedDtor(); } void packetl2c_bc_fishs_die::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_fishs_die::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_fishs_die::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_fishs_die_descriptor_; } const packetl2c_bc_fishs_die& packetl2c_bc_fishs_die::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_fishs_die* packetl2c_bc_fishs_die::default_instance_ = NULL; packetl2c_bc_fishs_die* packetl2c_bc_fishs_die::New() const { return new packetl2c_bc_fishs_die; } void packetl2c_bc_fishs_die::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15218; player_id_ = 0; die_type_ = 0; total_score_ = 0; total_diamond_ = 0; total_dimensity_ = 0; total_ticket_ = 0; } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { total_point_ = 0; torpedoid_ = 0; base_rate_ = 0; add_rate_ = 0; ticket_ = 0; add_point_ = 0; fishcfgid_ = 0; } die_params_.Clear(); items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_fishs_die::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_die_type; break; } // optional int32 die_type = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_die_type: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &die_type_))); set_has_die_type(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_die_params; break; } // repeated int32 die_params = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_die_params: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 32, input, this->mutable_die_params()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_die_params()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_die_params; if (input->ExpectTag(40)) goto parse_total_score; break; } // optional int32 total_score = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_total_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &total_score_))); set_has_total_score(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_total_diamond; break; } // optional int32 total_diamond = 6 [default = 0]; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_total_diamond: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &total_diamond_))); set_has_total_diamond(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_total_dimensity; break; } // optional int32 total_dimensity = 7 [default = 0]; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_total_dimensity: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &total_dimensity_))); set_has_total_dimensity(); } else { goto handle_uninterpreted; } if (input->ExpectTag(64)) goto parse_total_ticket; break; } // optional int32 total_ticket = 8 [default = 0]; case 8: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_total_ticket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &total_ticket_))); set_has_total_ticket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(72)) goto parse_total_point; break; } // optional int32 total_point = 9 [default = 0]; case 9: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_total_point: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &total_point_))); set_has_total_point(); } else { goto handle_uninterpreted; } if (input->ExpectTag(80)) goto parse_torpedoId; break; } // optional int32 torpedoId = 10 [default = 0]; case 10: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_torpedoId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &torpedoid_))); set_has_torpedoid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(88)) goto parse_base_rate; break; } // optional int32 base_rate = 11; case 11: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_base_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &base_rate_))); set_has_base_rate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(96)) goto parse_add_rate; break; } // optional int32 add_rate = 12 [default = 0]; case 12: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_add_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &add_rate_))); set_has_add_rate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(104)) goto parse_ticket; break; } // optional int32 ticket = 13 [default = 0]; case 13: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_ticket: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &ticket_))); set_has_ticket(); } else { goto handle_uninterpreted; } if (input->ExpectTag(112)) goto parse_add_point; break; } // optional int32 add_point = 14 [default = 0]; case 14: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_add_point: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &add_point_))); set_has_add_point(); } else { goto handle_uninterpreted; } if (input->ExpectTag(122)) goto parse_items; break; } // repeated .fish_protocols.msg_item items = 15; case 15: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(122)) goto parse_items; if (input->ExpectTag(128)) goto parse_fishCfgId; break; } // optional int32 fishCfgId = 16; case 16: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishCfgId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishcfgid_))); set_has_fishcfgid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_fishs_die::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int32 die_type = 3; if (has_die_type()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->die_type(), output); } // repeated int32 die_params = 4; for (int i = 0; i < this->die_params_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 4, this->die_params(i), output); } // optional int32 total_score = 5; if (has_total_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->total_score(), output); } // optional int32 total_diamond = 6 [default = 0]; if (has_total_diamond()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->total_diamond(), output); } // optional int32 total_dimensity = 7 [default = 0]; if (has_total_dimensity()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->total_dimensity(), output); } // optional int32 total_ticket = 8 [default = 0]; if (has_total_ticket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(8, this->total_ticket(), output); } // optional int32 total_point = 9 [default = 0]; if (has_total_point()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(9, this->total_point(), output); } // optional int32 torpedoId = 10 [default = 0]; if (has_torpedoid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(10, this->torpedoid(), output); } // optional int32 base_rate = 11; if (has_base_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(11, this->base_rate(), output); } // optional int32 add_rate = 12 [default = 0]; if (has_add_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(12, this->add_rate(), output); } // optional int32 ticket = 13 [default = 0]; if (has_ticket()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(13, this->ticket(), output); } // optional int32 add_point = 14 [default = 0]; if (has_add_point()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(14, this->add_point(), output); } // repeated .fish_protocols.msg_item items = 15; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 15, this->items(i), output); } // optional int32 fishCfgId = 16; if (has_fishcfgid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(16, this->fishcfgid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_fishs_die::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int32 die_type = 3; if (has_die_type()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->die_type(), target); } // repeated int32 die_params = 4; for (int i = 0; i < this->die_params_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(4, this->die_params(i), target); } // optional int32 total_score = 5; if (has_total_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->total_score(), target); } // optional int32 total_diamond = 6 [default = 0]; if (has_total_diamond()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->total_diamond(), target); } // optional int32 total_dimensity = 7 [default = 0]; if (has_total_dimensity()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->total_dimensity(), target); } // optional int32 total_ticket = 8 [default = 0]; if (has_total_ticket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(8, this->total_ticket(), target); } // optional int32 total_point = 9 [default = 0]; if (has_total_point()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(9, this->total_point(), target); } // optional int32 torpedoId = 10 [default = 0]; if (has_torpedoid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(10, this->torpedoid(), target); } // optional int32 base_rate = 11; if (has_base_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(11, this->base_rate(), target); } // optional int32 add_rate = 12 [default = 0]; if (has_add_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(12, this->add_rate(), target); } // optional int32 ticket = 13 [default = 0]; if (has_ticket()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(13, this->ticket(), target); } // optional int32 add_point = 14 [default = 0]; if (has_add_point()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(14, this->add_point(), target); } // repeated .fish_protocols.msg_item items = 15; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 15, this->items(i), target); } // optional int32 fishCfgId = 16; if (has_fishcfgid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(16, this->fishcfgid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_fishs_die::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_fishs_die]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 die_type = 3; if (has_die_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->die_type()); } // optional int32 total_score = 5; if (has_total_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->total_score()); } // optional int32 total_diamond = 6 [default = 0]; if (has_total_diamond()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->total_diamond()); } // optional int32 total_dimensity = 7 [default = 0]; if (has_total_dimensity()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->total_dimensity()); } // optional int32 total_ticket = 8 [default = 0]; if (has_total_ticket()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->total_ticket()); } } if (_has_bits_[8 / 32] & (0xffu << (8 % 32))) { // optional int32 total_point = 9 [default = 0]; if (has_total_point()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->total_point()); } // optional int32 torpedoId = 10 [default = 0]; if (has_torpedoid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->torpedoid()); } // optional int32 base_rate = 11; if (has_base_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->base_rate()); } // optional int32 add_rate = 12 [default = 0]; if (has_add_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->add_rate()); } // optional int32 ticket = 13 [default = 0]; if (has_ticket()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->ticket()); } // optional int32 add_point = 14 [default = 0]; if (has_add_point()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->add_point()); } // optional int32 fishCfgId = 16; if (has_fishcfgid()) { total_size += 2 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishcfgid()); } } // repeated int32 die_params = 4; { int data_size = 0; for (int i = 0; i < this->die_params_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->die_params(i)); } total_size += 1 * this->die_params_size() + data_size; } // repeated .fish_protocols.msg_item items = 15; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_fishs_die::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_fishs_die* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_fishs_die::MergeFrom(const packetl2c_bc_fishs_die& from) { GOOGLE_CHECK_NE(&from, this); die_params_.MergeFrom(from.die_params_); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_die_type()) { set_die_type(from.die_type()); } if (from.has_total_score()) { set_total_score(from.total_score()); } if (from.has_total_diamond()) { set_total_diamond(from.total_diamond()); } if (from.has_total_dimensity()) { set_total_dimensity(from.total_dimensity()); } if (from.has_total_ticket()) { set_total_ticket(from.total_ticket()); } } if (from._has_bits_[8 / 32] & (0xffu << (8 % 32))) { if (from.has_total_point()) { set_total_point(from.total_point()); } if (from.has_torpedoid()) { set_torpedoid(from.torpedoid()); } if (from.has_base_rate()) { set_base_rate(from.base_rate()); } if (from.has_add_rate()) { set_add_rate(from.add_rate()); } if (from.has_ticket()) { set_ticket(from.ticket()); } if (from.has_add_point()) { set_add_point(from.add_point()); } if (from.has_fishcfgid()) { set_fishcfgid(from.fishcfgid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_fishs_die::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_fishs_die::CopyFrom(const packetl2c_bc_fishs_die& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_fishs_die::IsInitialized() const { return true; } void packetl2c_bc_fishs_die::Swap(packetl2c_bc_fishs_die* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(die_type_, other->die_type_); die_params_.Swap(&other->die_params_); std::swap(total_score_, other->total_score_); std::swap(total_diamond_, other->total_diamond_); std::swap(total_dimensity_, other->total_dimensity_); std::swap(total_ticket_, other->total_ticket_); std::swap(total_point_, other->total_point_); std::swap(torpedoid_, other->torpedoid_); std::swap(base_rate_, other->base_rate_); std::swap(add_rate_, other->add_rate_); std::swap(ticket_, other->ticket_); std::swap(add_point_, other->add_point_); items_.Swap(&other->items_); std::swap(fishcfgid_, other->fishcfgid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_fishs_die::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_fishs_die_descriptor_; metadata.reflection = packetl2c_bc_fishs_die_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_change_scene::kPacketIdFieldNumber; const int packetl2c_bc_change_scene::kSceneIdFieldNumber; const int packetl2c_bc_change_scene::kLargeFishIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_change_scene::packetl2c_bc_change_scene() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_change_scene::InitAsDefaultInstance() { } packetl2c_bc_change_scene::packetl2c_bc_change_scene(const packetl2c_bc_change_scene& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_change_scene::SharedCtor() { _cached_size_ = 0; packet_id_ = 15209; scene_id_ = 0; large_fish_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_change_scene::~packetl2c_bc_change_scene() { SharedDtor(); } void packetl2c_bc_change_scene::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_change_scene::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_change_scene::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_change_scene_descriptor_; } const packetl2c_bc_change_scene& packetl2c_bc_change_scene::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_change_scene* packetl2c_bc_change_scene::default_instance_ = NULL; packetl2c_bc_change_scene* packetl2c_bc_change_scene::New() const { return new packetl2c_bc_change_scene; } void packetl2c_bc_change_scene::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15209; scene_id_ = 0; large_fish_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_change_scene::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_scene_id; break; } // optional int32 scene_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_scene_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &scene_id_))); set_has_scene_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_large_fish_id; break; } // optional int32 large_fish_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_large_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &large_fish_id_))); set_has_large_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_change_scene::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 scene_id = 2; if (has_scene_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scene_id(), output); } // optional int32 large_fish_id = 3; if (has_large_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->large_fish_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_change_scene::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 scene_id = 2; if (has_scene_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scene_id(), target); } // optional int32 large_fish_id = 3; if (has_large_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->large_fish_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_change_scene::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 scene_id = 2; if (has_scene_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->scene_id()); } // optional int32 large_fish_id = 3; if (has_large_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->large_fish_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_change_scene::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_change_scene* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_change_scene::MergeFrom(const packetl2c_bc_change_scene& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_scene_id()) { set_scene_id(from.scene_id()); } if (from.has_large_fish_id()) { set_large_fish_id(from.large_fish_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_change_scene::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_change_scene::CopyFrom(const packetl2c_bc_change_scene& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_change_scene::IsInitialized() const { return true; } void packetl2c_bc_change_scene::Swap(packetl2c_bc_change_scene* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(scene_id_, other->scene_id_); std::swap(large_fish_id_, other->large_fish_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_change_scene::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_change_scene_descriptor_; metadata.reflection = packetl2c_bc_change_scene_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_finish_boss_scene::kPacketIdFieldNumber; const int packetl2c_bc_finish_boss_scene::kNotifyTypeFieldNumber; const int packetl2c_bc_finish_boss_scene::kBossIdFieldNumber; const int packetl2c_bc_finish_boss_scene::kJackpotFieldNumber; const int packetl2c_bc_finish_boss_scene::kBaseGoldFieldNumber; #endif // !_MSC_VER packetl2c_bc_finish_boss_scene::packetl2c_bc_finish_boss_scene() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_finish_boss_scene::InitAsDefaultInstance() { } packetl2c_bc_finish_boss_scene::packetl2c_bc_finish_boss_scene(const packetl2c_bc_finish_boss_scene& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_finish_boss_scene::SharedCtor() { _cached_size_ = 0; packet_id_ = 15228; notify_type_ = 0; boss_id_ = 0; jackpot_ = GOOGLE_LONGLONG(0); basegold_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_finish_boss_scene::~packetl2c_bc_finish_boss_scene() { SharedDtor(); } void packetl2c_bc_finish_boss_scene::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_finish_boss_scene::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_finish_boss_scene::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_finish_boss_scene_descriptor_; } const packetl2c_bc_finish_boss_scene& packetl2c_bc_finish_boss_scene::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_finish_boss_scene* packetl2c_bc_finish_boss_scene::default_instance_ = NULL; packetl2c_bc_finish_boss_scene* packetl2c_bc_finish_boss_scene::New() const { return new packetl2c_bc_finish_boss_scene; } void packetl2c_bc_finish_boss_scene::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15228; notify_type_ = 0; boss_id_ = 0; jackpot_ = GOOGLE_LONGLONG(0); basegold_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_finish_boss_scene::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_notify_type; break; } // optional int32 notify_type = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_notify_type: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, ¬ify_type_))); set_has_notify_type(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_boss_id; break; } // optional int32 boss_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_boss_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &boss_id_))); set_has_boss_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_jackpot; break; } // optional int64 jackpot = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_jackpot: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &jackpot_))); set_has_jackpot(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_baseGold; break; } // optional int32 baseGold = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_baseGold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &basegold_))); set_has_basegold(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_finish_boss_scene::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 notify_type = 2; if (has_notify_type()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->notify_type(), output); } // optional int32 boss_id = 3; if (has_boss_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->boss_id(), output); } // optional int64 jackpot = 4; if (has_jackpot()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(4, this->jackpot(), output); } // optional int32 baseGold = 5; if (has_basegold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->basegold(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_finish_boss_scene::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 notify_type = 2; if (has_notify_type()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->notify_type(), target); } // optional int32 boss_id = 3; if (has_boss_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->boss_id(), target); } // optional int64 jackpot = 4; if (has_jackpot()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(4, this->jackpot(), target); } // optional int32 baseGold = 5; if (has_basegold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->basegold(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_finish_boss_scene::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_finish_boss_scene]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 notify_type = 2; if (has_notify_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->notify_type()); } // optional int32 boss_id = 3; if (has_boss_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->boss_id()); } // optional int64 jackpot = 4; if (has_jackpot()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->jackpot()); } // optional int32 baseGold = 5; if (has_basegold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->basegold()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_finish_boss_scene::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_finish_boss_scene* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_finish_boss_scene::MergeFrom(const packetl2c_bc_finish_boss_scene& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_notify_type()) { set_notify_type(from.notify_type()); } if (from.has_boss_id()) { set_boss_id(from.boss_id()); } if (from.has_jackpot()) { set_jackpot(from.jackpot()); } if (from.has_basegold()) { set_basegold(from.basegold()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_finish_boss_scene::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_finish_boss_scene::CopyFrom(const packetl2c_bc_finish_boss_scene& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_finish_boss_scene::IsInitialized() const { return true; } void packetl2c_bc_finish_boss_scene::Swap(packetl2c_bc_finish_boss_scene* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(notify_type_, other->notify_type_); std::swap(boss_id_, other->boss_id_); std::swap(jackpot_, other->jackpot_); std::swap(basegold_, other->basegold_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_finish_boss_scene::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_finish_boss_scene_descriptor_; metadata.reflection = packetl2c_bc_finish_boss_scene_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_using_item::kPacketIdFieldNumber; const int packetl2c_bc_using_item::kItemIdFieldNumber; const int packetl2c_bc_using_item::kPlayerIdFieldNumber; const int packetl2c_bc_using_item::kUseTimeFieldNumber; #endif // !_MSC_VER packetl2c_bc_using_item::packetl2c_bc_using_item() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_using_item::InitAsDefaultInstance() { } packetl2c_bc_using_item::packetl2c_bc_using_item(const packetl2c_bc_using_item& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_using_item::SharedCtor() { _cached_size_ = 0; packet_id_ = 15213; item_id_ = 0; player_id_ = 0; use_time_ = -1; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_using_item::~packetl2c_bc_using_item() { SharedDtor(); } void packetl2c_bc_using_item::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_using_item::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_using_item::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_using_item_descriptor_; } const packetl2c_bc_using_item& packetl2c_bc_using_item::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_using_item* packetl2c_bc_using_item::default_instance_ = NULL; packetl2c_bc_using_item* packetl2c_bc_using_item::New() const { return new packetl2c_bc_using_item; } void packetl2c_bc_using_item::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15213; item_id_ = 0; player_id_ = 0; use_time_ = -1; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_using_item::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_item_id; break; } // optional int32 item_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_item_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &item_id_))); set_has_item_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_player_id; break; } // optional int32 player_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_use_time; break; } // optional int32 use_time = 4 [default = -1]; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_use_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &use_time_))); set_has_use_time(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_using_item::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 item_id = 2; if (has_item_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->item_id(), output); } // optional int32 player_id = 3; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output); } // optional int32 use_time = 4 [default = -1]; if (has_use_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->use_time(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_using_item::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 item_id = 2; if (has_item_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->item_id(), target); } // optional int32 player_id = 3; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target); } // optional int32 use_time = 4 [default = -1]; if (has_use_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->use_time(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_using_item::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_using_item]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 item_id = 2; if (has_item_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->item_id()); } // optional int32 player_id = 3; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 use_time = 4 [default = -1]; if (has_use_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->use_time()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_using_item::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_using_item* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_using_item::MergeFrom(const packetl2c_bc_using_item& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_item_id()) { set_item_id(from.item_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_use_time()) { set_use_time(from.use_time()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_using_item::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_using_item::CopyFrom(const packetl2c_bc_using_item& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_using_item::IsInitialized() const { return true; } void packetl2c_bc_using_item::Swap(packetl2c_bc_using_item* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(item_id_, other->item_id_); std::swap(player_id_, other->player_id_); std::swap(use_time_, other->use_time_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_using_item::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_using_item_descriptor_; metadata.reflection = packetl2c_bc_using_item_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_stop_using_item::kPacketIdFieldNumber; const int packetl2c_bc_stop_using_item::kItemIdFieldNumber; const int packetl2c_bc_stop_using_item::kPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_stop_using_item::packetl2c_bc_stop_using_item() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_stop_using_item::InitAsDefaultInstance() { } packetl2c_bc_stop_using_item::packetl2c_bc_stop_using_item(const packetl2c_bc_stop_using_item& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_stop_using_item::SharedCtor() { _cached_size_ = 0; packet_id_ = 15214; item_id_ = 0; player_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_stop_using_item::~packetl2c_bc_stop_using_item() { SharedDtor(); } void packetl2c_bc_stop_using_item::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_stop_using_item::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_stop_using_item::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_stop_using_item_descriptor_; } const packetl2c_bc_stop_using_item& packetl2c_bc_stop_using_item::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_stop_using_item* packetl2c_bc_stop_using_item::default_instance_ = NULL; packetl2c_bc_stop_using_item* packetl2c_bc_stop_using_item::New() const { return new packetl2c_bc_stop_using_item; } void packetl2c_bc_stop_using_item::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15214; item_id_ = 0; player_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_stop_using_item::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_item_id; break; } // optional int32 item_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_item_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &item_id_))); set_has_item_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_player_id; break; } // optional int32 player_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_stop_using_item::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 item_id = 2; if (has_item_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->item_id(), output); } // optional int32 player_id = 3; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_stop_using_item::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 item_id = 2; if (has_item_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->item_id(), target); } // optional int32 player_id = 3; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_stop_using_item::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_stop_using_item]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 item_id = 2; if (has_item_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->item_id()); } // optional int32 player_id = 3; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_stop_using_item::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_stop_using_item* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_stop_using_item::MergeFrom(const packetl2c_bc_stop_using_item& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_item_id()) { set_item_id(from.item_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_stop_using_item::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_stop_using_item::CopyFrom(const packetl2c_bc_stop_using_item& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_stop_using_item::IsInitialized() const { return true; } void packetl2c_bc_stop_using_item::Swap(packetl2c_bc_stop_using_item* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(item_id_, other->item_id_); std::swap(player_id_, other->player_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_stop_using_item::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_stop_using_item_descriptor_; metadata.reflection = packetl2c_bc_stop_using_item_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_changeturret::kPacketIdFieldNumber; const int packetl2c_bc_changeturret::kTurretIdFieldNumber; const int packetl2c_bc_changeturret::kPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_changeturret::packetl2c_bc_changeturret() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_changeturret::InitAsDefaultInstance() { } packetl2c_bc_changeturret::packetl2c_bc_changeturret(const packetl2c_bc_changeturret& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_changeturret::SharedCtor() { _cached_size_ = 0; packet_id_ = 15215; turret_id_ = 0; player_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_changeturret::~packetl2c_bc_changeturret() { SharedDtor(); } void packetl2c_bc_changeturret::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_changeturret::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_changeturret::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_changeturret_descriptor_; } const packetl2c_bc_changeturret& packetl2c_bc_changeturret::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_changeturret* packetl2c_bc_changeturret::default_instance_ = NULL; packetl2c_bc_changeturret* packetl2c_bc_changeturret::New() const { return new packetl2c_bc_changeturret; } void packetl2c_bc_changeturret::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15215; turret_id_ = 0; player_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_changeturret::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_turret_id; break; } // optional int32 turret_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turret_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turret_id_))); set_has_turret_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_player_id; break; } // optional int32 player_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_changeturret::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 turret_id = 2; if (has_turret_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->turret_id(), output); } // optional int32 player_id = 3; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_changeturret::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 turret_id = 2; if (has_turret_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->turret_id(), target); } // optional int32 player_id = 3; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_changeturret::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_changeturret]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 turret_id = 2; if (has_turret_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turret_id()); } // optional int32 player_id = 3; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_changeturret::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_changeturret* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_changeturret::MergeFrom(const packetl2c_bc_changeturret& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_turret_id()) { set_turret_id(from.turret_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_changeturret::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_changeturret::CopyFrom(const packetl2c_bc_changeturret& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_changeturret::IsInitialized() const { return true; } void packetl2c_bc_changeturret::Swap(packetl2c_bc_changeturret* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(turret_id_, other->turret_id_); std::swap(player_id_, other->player_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_changeturret::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_changeturret_descriptor_; metadata.reflection = packetl2c_bc_changeturret_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_lock_fish::kPacketIdFieldNumber; const int packetc2l_lock_fish::kFishIdFieldNumber; #endif // !_MSC_VER packetc2l_lock_fish::packetc2l_lock_fish() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_lock_fish::InitAsDefaultInstance() { } packetc2l_lock_fish::packetc2l_lock_fish(const packetc2l_lock_fish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_lock_fish::SharedCtor() { _cached_size_ = 0; packet_id_ = 10109; fish_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_lock_fish::~packetc2l_lock_fish() { SharedDtor(); } void packetc2l_lock_fish::SharedDtor() { if (this != default_instance_) { } } void packetc2l_lock_fish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_lock_fish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_lock_fish_descriptor_; } const packetc2l_lock_fish& packetc2l_lock_fish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_lock_fish* packetc2l_lock_fish::default_instance_ = NULL; packetc2l_lock_fish* packetc2l_lock_fish::New() const { return new packetc2l_lock_fish; } void packetc2l_lock_fish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10109; fish_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_lock_fish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_id; break; } // optional int32 fish_id = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_lock_fish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 fish_id = 4; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fish_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_lock_fish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 fish_id = 4; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fish_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_lock_fish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_lock_fish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 fish_id = 4; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_lock_fish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_lock_fish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_lock_fish::MergeFrom(const packetc2l_lock_fish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_lock_fish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_lock_fish::CopyFrom(const packetc2l_lock_fish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_lock_fish::IsInitialized() const { return true; } void packetc2l_lock_fish::Swap(packetc2l_lock_fish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(fish_id_, other->fish_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_lock_fish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_lock_fish_descriptor_; metadata.reflection = packetc2l_lock_fish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_lock_fish::kPacketIdFieldNumber; const int packetl2c_bc_lock_fish::kResultFieldNumber; const int packetl2c_bc_lock_fish::kPlayerIdFieldNumber; const int packetl2c_bc_lock_fish::kFishIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_lock_fish::packetl2c_bc_lock_fish() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_lock_fish::InitAsDefaultInstance() { } packetl2c_bc_lock_fish::packetl2c_bc_lock_fish(const packetl2c_bc_lock_fish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_lock_fish::SharedCtor() { _cached_size_ = 0; packet_id_ = 15216; result_ = 0; player_id_ = 0; fish_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_lock_fish::~packetl2c_bc_lock_fish() { SharedDtor(); } void packetl2c_bc_lock_fish::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_lock_fish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_lock_fish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_lock_fish_descriptor_; } const packetl2c_bc_lock_fish& packetl2c_bc_lock_fish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_lock_fish* packetl2c_bc_lock_fish::default_instance_ = NULL; packetl2c_bc_lock_fish* packetl2c_bc_lock_fish::New() const { return new packetl2c_bc_lock_fish; } void packetl2c_bc_lock_fish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15216; result_ = 0; player_id_ = 0; fish_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_lock_fish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_player_id; break; } // optional int32 player_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_id; break; } // optional int32 fish_id = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fish_id_))); set_has_fish_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_lock_fish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 player_id = 3; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->player_id(), output); } // optional int32 fish_id = 4; if (has_fish_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fish_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_lock_fish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 player_id = 3; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->player_id(), target); } // optional int32 fish_id = 4; if (has_fish_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fish_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_lock_fish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_lock_fish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 player_id = 3; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 fish_id = 4; if (has_fish_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fish_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_lock_fish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_lock_fish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_lock_fish::MergeFrom(const packetl2c_bc_lock_fish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_fish_id()) { set_fish_id(from.fish_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_lock_fish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_lock_fish::CopyFrom(const packetl2c_bc_lock_fish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_lock_fish::IsInitialized() const { return true; } void packetl2c_bc_lock_fish::Swap(packetl2c_bc_lock_fish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(player_id_, other->player_id_); std::swap(fish_id_, other->fish_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_lock_fish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_lock_fish_descriptor_; metadata.reflection = packetl2c_bc_lock_fish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_freeze::kPacketIdFieldNumber; const int packetl2c_bc_freeze::kFishIdsFieldNumber; const int packetl2c_bc_freeze::kFreezeTimeFieldNumber; const int packetl2c_bc_freeze::kIsShowFieldNumber; #endif // !_MSC_VER packetl2c_bc_freeze::packetl2c_bc_freeze() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_freeze::InitAsDefaultInstance() { } packetl2c_bc_freeze::packetl2c_bc_freeze(const packetl2c_bc_freeze& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_freeze::SharedCtor() { _cached_size_ = 0; packet_id_ = 15217; freeze_time_ = 0; is_show_ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_freeze::~packetl2c_bc_freeze() { SharedDtor(); } void packetl2c_bc_freeze::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_freeze::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_freeze::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_freeze_descriptor_; } const packetl2c_bc_freeze& packetl2c_bc_freeze::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_freeze* packetl2c_bc_freeze::default_instance_ = NULL; packetl2c_bc_freeze* packetl2c_bc_freeze::New() const { return new packetl2c_bc_freeze; } void packetl2c_bc_freeze::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15217; freeze_time_ = 0; is_show_ = false; } fish_ids_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_freeze::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_freeze_Time; break; } // optional int32 freeze_Time = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_freeze_Time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &freeze_time_))); set_has_freeze_time(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_is_show; break; } // optional bool is_show = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_is_show: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &is_show_))); set_has_is_show(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_ids; break; } // repeated int32 fish_ids = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_ids: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 32, input, this->mutable_fish_ids()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_fish_ids()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_ids; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_freeze::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 freeze_Time = 2; if (has_freeze_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->freeze_time(), output); } // optional bool is_show = 3; if (has_is_show()) { ::google::protobuf::internal::WireFormatLite::WriteBool(3, this->is_show(), output); } // repeated int32 fish_ids = 4; for (int i = 0; i < this->fish_ids_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 4, this->fish_ids(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_freeze::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 freeze_Time = 2; if (has_freeze_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->freeze_time(), target); } // optional bool is_show = 3; if (has_is_show()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(3, this->is_show(), target); } // repeated int32 fish_ids = 4; for (int i = 0; i < this->fish_ids_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(4, this->fish_ids(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_freeze::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_freeze]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 freeze_Time = 2; if (has_freeze_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->freeze_time()); } // optional bool is_show = 3; if (has_is_show()) { total_size += 1 + 1; } } // repeated int32 fish_ids = 4; { int data_size = 0; for (int i = 0; i < this->fish_ids_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->fish_ids(i)); } total_size += 1 * this->fish_ids_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_freeze::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_freeze* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_freeze::MergeFrom(const packetl2c_bc_freeze& from) { GOOGLE_CHECK_NE(&from, this); fish_ids_.MergeFrom(from.fish_ids_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_freeze_time()) { set_freeze_time(from.freeze_time()); } if (from.has_is_show()) { set_is_show(from.is_show()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_freeze::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_freeze::CopyFrom(const packetl2c_bc_freeze& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_freeze::IsInitialized() const { return true; } void packetl2c_bc_freeze::Swap(packetl2c_bc_freeze* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); fish_ids_.Swap(&other->fish_ids_); std::swap(freeze_time_, other->freeze_time_); std::swap(is_show_, other->is_show_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_freeze::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_freeze_descriptor_; metadata.reflection = packetl2c_bc_freeze_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_change_scene_bg::kPacketIdFieldNumber; const int packetl2c_bc_change_scene_bg::kSceneIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_change_scene_bg::packetl2c_bc_change_scene_bg() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_change_scene_bg::InitAsDefaultInstance() { } packetl2c_bc_change_scene_bg::packetl2c_bc_change_scene_bg(const packetl2c_bc_change_scene_bg& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_change_scene_bg::SharedCtor() { _cached_size_ = 0; packet_id_ = 15220; scene_id_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_change_scene_bg::~packetl2c_bc_change_scene_bg() { SharedDtor(); } void packetl2c_bc_change_scene_bg::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_change_scene_bg::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_change_scene_bg::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_change_scene_bg_descriptor_; } const packetl2c_bc_change_scene_bg& packetl2c_bc_change_scene_bg::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_change_scene_bg* packetl2c_bc_change_scene_bg::default_instance_ = NULL; packetl2c_bc_change_scene_bg* packetl2c_bc_change_scene_bg::New() const { return new packetl2c_bc_change_scene_bg; } void packetl2c_bc_change_scene_bg::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15220; scene_id_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_change_scene_bg::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_scene_id; break; } // optional int32 scene_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_scene_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &scene_id_))); set_has_scene_id(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_change_scene_bg::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 scene_id = 2; if (has_scene_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scene_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_change_scene_bg::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 scene_id = 2; if (has_scene_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scene_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_change_scene_bg::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_scene_bg]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 scene_id = 2; if (has_scene_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->scene_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_change_scene_bg::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_change_scene_bg* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_change_scene_bg::MergeFrom(const packetl2c_bc_change_scene_bg& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_scene_id()) { set_scene_id(from.scene_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_change_scene_bg::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_change_scene_bg::CopyFrom(const packetl2c_bc_change_scene_bg& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_change_scene_bg::IsInitialized() const { return true; } void packetl2c_bc_change_scene_bg::Swap(packetl2c_bc_change_scene_bg* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(scene_id_, other->scene_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_change_scene_bg::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_change_scene_bg_descriptor_; metadata.reflection = packetl2c_bc_change_scene_bg_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_scene_time::kPacketIdFieldNumber; const int packetl2c_bc_scene_time::kSceneTimeFieldNumber; #endif // !_MSC_VER packetl2c_bc_scene_time::packetl2c_bc_scene_time() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_scene_time::InitAsDefaultInstance() { } packetl2c_bc_scene_time::packetl2c_bc_scene_time(const packetl2c_bc_scene_time& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_scene_time::SharedCtor() { _cached_size_ = 0; packet_id_ = 15221; scene_time_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_scene_time::~packetl2c_bc_scene_time() { SharedDtor(); } void packetl2c_bc_scene_time::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_scene_time::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_scene_time::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_scene_time_descriptor_; } const packetl2c_bc_scene_time& packetl2c_bc_scene_time::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_scene_time* packetl2c_bc_scene_time::default_instance_ = NULL; packetl2c_bc_scene_time* packetl2c_bc_scene_time::New() const { return new packetl2c_bc_scene_time; } void packetl2c_bc_scene_time::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15221; scene_time_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_scene_time::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_scene_time; break; } // optional int32 scene_time = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_scene_time: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &scene_time_))); set_has_scene_time(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_scene_time::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 scene_time = 2; if (has_scene_time()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->scene_time(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_scene_time::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 scene_time = 2; if (has_scene_time()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->scene_time(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_scene_time::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_scene_time]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 scene_time = 2; if (has_scene_time()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->scene_time()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_scene_time::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_scene_time* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_scene_time::MergeFrom(const packetl2c_bc_scene_time& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_scene_time()) { set_scene_time(from.scene_time()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_scene_time::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_scene_time::CopyFrom(const packetl2c_bc_scene_time& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_scene_time::IsInitialized() const { return true; } void packetl2c_bc_scene_time::Swap(packetl2c_bc_scene_time* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(scene_time_, other->scene_time_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_scene_time::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_scene_time_descriptor_; metadata.reflection = packetl2c_bc_scene_time_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_change_jackpot::kPacketIdFieldNumber; const int packetl2c_bc_change_jackpot::kCurpoolFieldNumber; #endif // !_MSC_VER packetl2c_bc_change_jackpot::packetl2c_bc_change_jackpot() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_change_jackpot::InitAsDefaultInstance() { } packetl2c_bc_change_jackpot::packetl2c_bc_change_jackpot(const packetl2c_bc_change_jackpot& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_change_jackpot::SharedCtor() { _cached_size_ = 0; packet_id_ = 15230; curpool_ = GOOGLE_LONGLONG(0); ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_change_jackpot::~packetl2c_bc_change_jackpot() { SharedDtor(); } void packetl2c_bc_change_jackpot::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_change_jackpot::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_change_jackpot::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_change_jackpot_descriptor_; } const packetl2c_bc_change_jackpot& packetl2c_bc_change_jackpot::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_change_jackpot* packetl2c_bc_change_jackpot::default_instance_ = NULL; packetl2c_bc_change_jackpot* packetl2c_bc_change_jackpot::New() const { return new packetl2c_bc_change_jackpot; } void packetl2c_bc_change_jackpot::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15230; curpool_ = GOOGLE_LONGLONG(0); } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_change_jackpot::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_curpool; break; } // optional int64 curpool = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_curpool: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &curpool_))); set_has_curpool(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_change_jackpot::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int64 curpool = 2; if (has_curpool()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(2, this->curpool(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_change_jackpot::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int64 curpool = 2; if (has_curpool()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(2, this->curpool(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_change_jackpot::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_jackpot]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int64 curpool = 2; if (has_curpool()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->curpool()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_change_jackpot::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_change_jackpot* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_change_jackpot::MergeFrom(const packetl2c_bc_change_jackpot& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_curpool()) { set_curpool(from.curpool()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_change_jackpot::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_change_jackpot::CopyFrom(const packetl2c_bc_change_jackpot& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_change_jackpot::IsInitialized() const { return true; } void packetl2c_bc_change_jackpot::Swap(packetl2c_bc_change_jackpot* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(curpool_, other->curpool_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_change_jackpot::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_change_jackpot_descriptor_; metadata.reflection = packetl2c_bc_change_jackpot_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_hit_fishs::kPacketIdFieldNumber; const int packetl2c_bc_hit_fishs::kPlayerIdFieldNumber; const int packetl2c_bc_hit_fishs::kHitTypeFieldNumber; const int packetl2c_bc_hit_fishs::kFishIdsFieldNumber; const int packetl2c_bc_hit_fishs::kParamsFieldNumber; #endif // !_MSC_VER packetl2c_bc_hit_fishs::packetl2c_bc_hit_fishs() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_hit_fishs::InitAsDefaultInstance() { } packetl2c_bc_hit_fishs::packetl2c_bc_hit_fishs(const packetl2c_bc_hit_fishs& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_hit_fishs::SharedCtor() { _cached_size_ = 0; packet_id_ = 15223; player_id_ = 0; hit_type_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_hit_fishs::~packetl2c_bc_hit_fishs() { SharedDtor(); } void packetl2c_bc_hit_fishs::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_hit_fishs::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_hit_fishs::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_hit_fishs_descriptor_; } const packetl2c_bc_hit_fishs& packetl2c_bc_hit_fishs::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_hit_fishs* packetl2c_bc_hit_fishs::default_instance_ = NULL; packetl2c_bc_hit_fishs* packetl2c_bc_hit_fishs::New() const { return new packetl2c_bc_hit_fishs; } void packetl2c_bc_hit_fishs::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15223; player_id_ = 0; hit_type_ = 0; } fish_ids_.Clear(); params_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_hit_fishs::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_hit_type; break; } // optional int32 hit_type = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_hit_type: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &hit_type_))); set_has_hit_type(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_ids; break; } // repeated int32 fish_ids = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fish_ids: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 32, input, this->mutable_fish_ids()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_fish_ids()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fish_ids; if (input->ExpectTag(40)) goto parse_params; break; } // repeated int32 params = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_params: DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( 1, 40, input, this->mutable_params()))); } else if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite:: WIRETYPE_LENGTH_DELIMITED) { DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitiveNoInline< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, this->mutable_params()))); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_params; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_hit_fishs::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int32 hit_type = 3; if (has_hit_type()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->hit_type(), output); } // repeated int32 fish_ids = 4; for (int i = 0; i < this->fish_ids_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 4, this->fish_ids(i), output); } // repeated int32 params = 5; for (int i = 0; i < this->params_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteInt32( 5, this->params(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_hit_fishs::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int32 hit_type = 3; if (has_hit_type()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->hit_type(), target); } // repeated int32 fish_ids = 4; for (int i = 0; i < this->fish_ids_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(4, this->fish_ids(i), target); } // repeated int32 params = 5; for (int i = 0; i < this->params_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteInt32ToArray(5, this->params(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_hit_fishs::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_hit_fishs]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 hit_type = 3; if (has_hit_type()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->hit_type()); } } // repeated int32 fish_ids = 4; { int data_size = 0; for (int i = 0; i < this->fish_ids_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->fish_ids(i)); } total_size += 1 * this->fish_ids_size() + data_size; } // repeated int32 params = 5; { int data_size = 0; for (int i = 0; i < this->params_size(); i++) { data_size += ::google::protobuf::internal::WireFormatLite:: Int32Size(this->params(i)); } total_size += 1 * this->params_size() + data_size; } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_hit_fishs::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_hit_fishs* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_hit_fishs::MergeFrom(const packetl2c_bc_hit_fishs& from) { GOOGLE_CHECK_NE(&from, this); fish_ids_.MergeFrom(from.fish_ids_); params_.MergeFrom(from.params_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_hit_type()) { set_hit_type(from.hit_type()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_hit_fishs::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_hit_fishs::CopyFrom(const packetl2c_bc_hit_fishs& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_hit_fishs::IsInitialized() const { return true; } void packetl2c_bc_hit_fishs::Swap(packetl2c_bc_hit_fishs* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(hit_type_, other->hit_type_); fish_ids_.Swap(&other->fish_ids_); params_.Swap(&other->params_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_hit_fishs::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_hit_fishs_descriptor_; metadata.reflection = packetl2c_bc_hit_fishs_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_turret_rotate::kPacketIdFieldNumber; const int packetl2c_bc_turret_rotate::kPlayerIdFieldNumber; const int packetl2c_bc_turret_rotate::kRotateAngleFieldNumber; #endif // !_MSC_VER packetl2c_bc_turret_rotate::packetl2c_bc_turret_rotate() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_turret_rotate::InitAsDefaultInstance() { } packetl2c_bc_turret_rotate::packetl2c_bc_turret_rotate(const packetl2c_bc_turret_rotate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_turret_rotate::SharedCtor() { _cached_size_ = 0; packet_id_ = 15224; player_id_ = 0; rotate_angle_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_turret_rotate::~packetl2c_bc_turret_rotate() { SharedDtor(); } void packetl2c_bc_turret_rotate::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_turret_rotate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_turret_rotate::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_turret_rotate_descriptor_; } const packetl2c_bc_turret_rotate& packetl2c_bc_turret_rotate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_turret_rotate* packetl2c_bc_turret_rotate::default_instance_ = NULL; packetl2c_bc_turret_rotate* packetl2c_bc_turret_rotate::New() const { return new packetl2c_bc_turret_rotate; } void packetl2c_bc_turret_rotate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15224; player_id_ = 0; rotate_angle_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_turret_rotate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rotate_angle; break; } // optional int32 rotate_angle = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rotate_angle: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rotate_angle_))); set_has_rotate_angle(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_turret_rotate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int32 rotate_angle = 3; if (has_rotate_angle()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rotate_angle(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_turret_rotate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int32 rotate_angle = 3; if (has_rotate_angle()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rotate_angle(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_turret_rotate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_turret_rotate]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 rotate_angle = 3; if (has_rotate_angle()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rotate_angle()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_turret_rotate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_turret_rotate* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_turret_rotate::MergeFrom(const packetl2c_bc_turret_rotate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_rotate_angle()) { set_rotate_angle(from.rotate_angle()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_turret_rotate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_turret_rotate::CopyFrom(const packetl2c_bc_turret_rotate& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_turret_rotate::IsInitialized() const { return true; } void packetl2c_bc_turret_rotate::Swap(packetl2c_bc_turret_rotate* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(rotate_angle_, other->rotate_angle_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_turret_rotate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_turret_rotate_descriptor_; metadata.reflection = packetl2c_bc_turret_rotate_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_change_max_power::kPacketIdFieldNumber; const int packetl2c_bc_change_max_power::kPlayerIdFieldNumber; const int packetl2c_bc_change_max_power::kMaxPowerFieldNumber; #endif // !_MSC_VER packetl2c_bc_change_max_power::packetl2c_bc_change_max_power() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_change_max_power::InitAsDefaultInstance() { } packetl2c_bc_change_max_power::packetl2c_bc_change_max_power(const packetl2c_bc_change_max_power& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_change_max_power::SharedCtor() { _cached_size_ = 0; packet_id_ = 15225; player_id_ = 0; max_power_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_change_max_power::~packetl2c_bc_change_max_power() { SharedDtor(); } void packetl2c_bc_change_max_power::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_change_max_power::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_change_max_power::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_change_max_power_descriptor_; } const packetl2c_bc_change_max_power& packetl2c_bc_change_max_power::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_change_max_power* packetl2c_bc_change_max_power::default_instance_ = NULL; packetl2c_bc_change_max_power* packetl2c_bc_change_max_power::New() const { return new packetl2c_bc_change_max_power; } void packetl2c_bc_change_max_power::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15225; player_id_ = 0; max_power_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_change_max_power::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_max_power; break; } // optional int32 max_power = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_max_power: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &max_power_))); set_has_max_power(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_change_max_power::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int32 max_power = 3; if (has_max_power()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->max_power(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_change_max_power::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int32 max_power = 3; if (has_max_power()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->max_power(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_change_max_power::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_change_max_power]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 max_power = 3; if (has_max_power()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->max_power()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_change_max_power::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_change_max_power* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_change_max_power::MergeFrom(const packetl2c_bc_change_max_power& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_max_power()) { set_max_power(from.max_power()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_change_max_power::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_change_max_power::CopyFrom(const packetl2c_bc_change_max_power& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_change_max_power::IsInitialized() const { return true; } void packetl2c_bc_change_max_power::Swap(packetl2c_bc_change_max_power* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(max_power_, other->max_power_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_change_max_power::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_change_max_power_descriptor_; metadata.reflection = packetl2c_bc_change_max_power_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_table_lottery::kPacketIdFieldNumber; const int packetl2c_bc_table_lottery::kPlayerIdFieldNumber; const int packetl2c_bc_table_lottery::kItemIdFieldNumber; const int packetl2c_bc_table_lottery::kItemCountFieldNumber; #endif // !_MSC_VER packetl2c_bc_table_lottery::packetl2c_bc_table_lottery() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_table_lottery::InitAsDefaultInstance() { } packetl2c_bc_table_lottery::packetl2c_bc_table_lottery(const packetl2c_bc_table_lottery& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_table_lottery::SharedCtor() { _cached_size_ = 0; packet_id_ = 15229; player_id_ = 0; item_id_ = 0; item_count_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_table_lottery::~packetl2c_bc_table_lottery() { SharedDtor(); } void packetl2c_bc_table_lottery::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_table_lottery::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_table_lottery::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_table_lottery_descriptor_; } const packetl2c_bc_table_lottery& packetl2c_bc_table_lottery::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_table_lottery* packetl2c_bc_table_lottery::default_instance_ = NULL; packetl2c_bc_table_lottery* packetl2c_bc_table_lottery::New() const { return new packetl2c_bc_table_lottery; } void packetl2c_bc_table_lottery::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 15229; player_id_ = 0; item_id_ = 0; item_count_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_table_lottery::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_player_id; break; } // optional int32 player_id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_player_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &player_id_))); set_has_player_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_item_id; break; } // optional int32 item_id = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_item_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &item_id_))); set_has_item_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_item_count; break; } // optional int32 item_count = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_item_count: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &item_count_))); set_has_item_count(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_table_lottery::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 player_id = 2; if (has_player_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->player_id(), output); } // optional int32 item_id = 3; if (has_item_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->item_id(), output); } // optional int32 item_count = 4; if (has_item_count()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->item_count(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_table_lottery::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 player_id = 2; if (has_player_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->player_id(), target); } // optional int32 item_id = 3; if (has_item_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->item_id(), target); } // optional int32 item_count = 4; if (has_item_count()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->item_count(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_table_lottery::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_lottery]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 player_id = 2; if (has_player_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->player_id()); } // optional int32 item_id = 3; if (has_item_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->item_id()); } // optional int32 item_count = 4; if (has_item_count()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->item_count()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_table_lottery::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_table_lottery* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_table_lottery::MergeFrom(const packetl2c_bc_table_lottery& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_player_id()) { set_player_id(from.player_id()); } if (from.has_item_id()) { set_item_id(from.item_id()); } if (from.has_item_count()) { set_item_count(from.item_count()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_table_lottery::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_table_lottery::CopyFrom(const packetl2c_bc_table_lottery& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_table_lottery::IsInitialized() const { return true; } void packetl2c_bc_table_lottery::Swap(packetl2c_bc_table_lottery* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(player_id_, other->player_id_); std::swap(item_id_, other->item_id_); std::swap(item_count_, other->item_count_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_table_lottery::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_table_lottery_descriptor_; metadata.reflection = packetl2c_bc_table_lottery_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_req_drop_rate::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_req_drop_rate::packetc2l_req_drop_rate() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_req_drop_rate::InitAsDefaultInstance() { } packetc2l_req_drop_rate::packetc2l_req_drop_rate(const packetc2l_req_drop_rate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_req_drop_rate::SharedCtor() { _cached_size_ = 0; packet_id_ = 10128; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_req_drop_rate::~packetc2l_req_drop_rate() { SharedDtor(); } void packetc2l_req_drop_rate::SharedDtor() { if (this != default_instance_) { } } void packetc2l_req_drop_rate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_req_drop_rate::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_req_drop_rate_descriptor_; } const packetc2l_req_drop_rate& packetc2l_req_drop_rate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_req_drop_rate* packetc2l_req_drop_rate::default_instance_ = NULL; packetc2l_req_drop_rate* packetc2l_req_drop_rate::New() const { return new packetc2l_req_drop_rate; } void packetc2l_req_drop_rate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10128; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_req_drop_rate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_req_drop_rate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_req_drop_rate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_req_drop_rate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_drop_rate]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_req_drop_rate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_req_drop_rate* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_req_drop_rate::MergeFrom(const packetc2l_req_drop_rate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_req_drop_rate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_req_drop_rate::CopyFrom(const packetc2l_req_drop_rate& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_req_drop_rate::IsInitialized() const { return true; } void packetc2l_req_drop_rate::Swap(packetc2l_req_drop_rate* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_req_drop_rate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_req_drop_rate_descriptor_; metadata.reflection = packetc2l_req_drop_rate_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_req_drop_rate_result::kPacketIdFieldNumber; const int packetl2c_req_drop_rate_result::kIdFieldNumber; const int packetl2c_req_drop_rate_result::kCurGoldFieldNumber; const int packetl2c_req_drop_rate_result::kRecvBenefitTimeFieldNumber; const int packetl2c_req_drop_rate_result::kTriggerGiftIdFieldNumber; #endif // !_MSC_VER packetl2c_req_drop_rate_result::packetl2c_req_drop_rate_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_req_drop_rate_result::InitAsDefaultInstance() { } packetl2c_req_drop_rate_result::packetl2c_req_drop_rate_result(const packetl2c_req_drop_rate_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_req_drop_rate_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16109; id_ = 0; curgold_ = GOOGLE_LONGLONG(0); recvbenefittime_ = 0; triggergiftid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_req_drop_rate_result::~packetl2c_req_drop_rate_result() { SharedDtor(); } void packetl2c_req_drop_rate_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_req_drop_rate_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_req_drop_rate_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_req_drop_rate_result_descriptor_; } const packetl2c_req_drop_rate_result& packetl2c_req_drop_rate_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_req_drop_rate_result* packetl2c_req_drop_rate_result::default_instance_ = NULL; packetl2c_req_drop_rate_result* packetl2c_req_drop_rate_result::New() const { return new packetl2c_req_drop_rate_result; } void packetl2c_req_drop_rate_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16109; id_ = 0; curgold_ = GOOGLE_LONGLONG(0); recvbenefittime_ = 0; triggergiftid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_req_drop_rate_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_id; break; } // optional int32 id = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_id: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &id_))); set_has_id(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_curGold; break; } // optional int64 curGold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_curGold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>( input, &curgold_))); set_has_curgold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_recvBenefitTime; break; } // optional int32 recvBenefitTime = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_recvBenefitTime: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &recvbenefittime_))); set_has_recvbenefittime(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_triggerGiftId; break; } // optional int32 triggerGiftId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_triggerGiftId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &triggergiftid_))); set_has_triggergiftid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_req_drop_rate_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 id = 2; if (has_id()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->id(), output); } // optional int64 curGold = 3; if (has_curgold()) { ::google::protobuf::internal::WireFormatLite::WriteInt64(3, this->curgold(), output); } // optional int32 recvBenefitTime = 4; if (has_recvbenefittime()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->recvbenefittime(), output); } // optional int32 triggerGiftId = 5; if (has_triggergiftid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->triggergiftid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_req_drop_rate_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 id = 2; if (has_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->id(), target); } // optional int64 curGold = 3; if (has_curgold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt64ToArray(3, this->curgold(), target); } // optional int32 recvBenefitTime = 4; if (has_recvbenefittime()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->recvbenefittime(), target); } // optional int32 triggerGiftId = 5; if (has_triggergiftid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->triggergiftid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_req_drop_rate_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_drop_rate_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 id = 2; if (has_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->id()); } // optional int64 curGold = 3; if (has_curgold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int64Size( this->curgold()); } // optional int32 recvBenefitTime = 4; if (has_recvbenefittime()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->recvbenefittime()); } // optional int32 triggerGiftId = 5; if (has_triggergiftid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->triggergiftid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_req_drop_rate_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_req_drop_rate_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_req_drop_rate_result::MergeFrom(const packetl2c_req_drop_rate_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_id()) { set_id(from.id()); } if (from.has_curgold()) { set_curgold(from.curgold()); } if (from.has_recvbenefittime()) { set_recvbenefittime(from.recvbenefittime()); } if (from.has_triggergiftid()) { set_triggergiftid(from.triggergiftid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_req_drop_rate_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_req_drop_rate_result::CopyFrom(const packetl2c_req_drop_rate_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_req_drop_rate_result::IsInitialized() const { return true; } void packetl2c_req_drop_rate_result::Swap(packetl2c_req_drop_rate_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(id_, other->id_); std::swap(curgold_, other->curgold_); std::swap(recvbenefittime_, other->recvbenefittime_); std::swap(triggergiftid_, other->triggergiftid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_req_drop_rate_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_req_drop_rate_result_descriptor_; metadata.reflection = packetl2c_req_drop_rate_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packet_c2l_benefits::kPacketIdFieldNumber; const int packet_c2l_benefits::kDoubleFieldNumber; #endif // !_MSC_VER packet_c2l_benefits::packet_c2l_benefits() : ::google::protobuf::Message() { SharedCtor(); } void packet_c2l_benefits::InitAsDefaultInstance() { } packet_c2l_benefits::packet_c2l_benefits(const packet_c2l_benefits& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packet_c2l_benefits::SharedCtor() { _cached_size_ = 0; packet_id_ = 10129; double__ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packet_c2l_benefits::~packet_c2l_benefits() { SharedDtor(); } void packet_c2l_benefits::SharedDtor() { if (this != default_instance_) { } } void packet_c2l_benefits::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packet_c2l_benefits::descriptor() { protobuf_AssignDescriptorsOnce(); return packet_c2l_benefits_descriptor_; } const packet_c2l_benefits& packet_c2l_benefits::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packet_c2l_benefits* packet_c2l_benefits::default_instance_ = NULL; packet_c2l_benefits* packet_c2l_benefits::New() const { return new packet_c2l_benefits; } void packet_c2l_benefits::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10129; double__ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packet_c2l_benefits::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_double; break; } // optional bool double = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_double: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &double__))); set_has_double_(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packet_c2l_benefits::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional bool double = 2; if (has_double_()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packet_c2l_benefits::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional bool double = 2; if (has_double_()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packet_c2l_benefits::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_beneifts]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional bool double = 2; if (has_double_()) { total_size += 1 + 1; } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packet_c2l_benefits::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packet_c2l_benefits* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packet_c2l_benefits::MergeFrom(const packet_c2l_benefits& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_double_()) { set_double_(from.double_()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packet_c2l_benefits::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packet_c2l_benefits::CopyFrom(const packet_c2l_benefits& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packet_c2l_benefits::IsInitialized() const { return true; } void packet_c2l_benefits::Swap(packet_c2l_benefits* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(double__, other->double__); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packet_c2l_benefits::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packet_c2l_benefits_descriptor_; metadata.reflection = packet_c2l_benefits_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packet_l2c_benefits_result::kPacketIdFieldNumber; const int packet_l2c_benefits_result::kDoubleFieldNumber; const int packet_l2c_benefits_result::kResultFieldNumber; #endif // !_MSC_VER packet_l2c_benefits_result::packet_l2c_benefits_result() : ::google::protobuf::Message() { SharedCtor(); } void packet_l2c_benefits_result::InitAsDefaultInstance() { } packet_l2c_benefits_result::packet_l2c_benefits_result(const packet_l2c_benefits_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packet_l2c_benefits_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16110; double__ = false; result_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packet_l2c_benefits_result::~packet_l2c_benefits_result() { SharedDtor(); } void packet_l2c_benefits_result::SharedDtor() { if (this != default_instance_) { } } void packet_l2c_benefits_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packet_l2c_benefits_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packet_l2c_benefits_result_descriptor_; } const packet_l2c_benefits_result& packet_l2c_benefits_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packet_l2c_benefits_result* packet_l2c_benefits_result::default_instance_ = NULL; packet_l2c_benefits_result* packet_l2c_benefits_result::New() const { return new packet_l2c_benefits_result; } void packet_l2c_benefits_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16110; double__ = false; result_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packet_l2c_benefits_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_double; break; } // optional bool double = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_double: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &double__))); set_has_double_(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_result; break; } // optional int32 result = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packet_l2c_benefits_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional bool double = 2; if (has_double_()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output); } // optional int32 result = 3; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packet_l2c_benefits_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional bool double = 2; if (has_double_()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target); } // optional int32 result = 3; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packet_l2c_benefits_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_benefits_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional bool double = 2; if (has_double_()) { total_size += 1 + 1; } // optional int32 result = 3; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packet_l2c_benefits_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packet_l2c_benefits_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packet_l2c_benefits_result::MergeFrom(const packet_l2c_benefits_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_double_()) { set_double_(from.double_()); } if (from.has_result()) { set_result(from.result()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packet_l2c_benefits_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packet_l2c_benefits_result::CopyFrom(const packet_l2c_benefits_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packet_l2c_benefits_result::IsInitialized() const { return true; } void packet_l2c_benefits_result::Swap(packet_l2c_benefits_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(double__, other->double__); std::swap(result_, other->result_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packet_l2c_benefits_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packet_l2c_benefits_result_descriptor_; metadata.reflection = packet_l2c_benefits_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_table_kill_chipfish::kPacketIdFieldNumber; const int packetl2c_bc_table_kill_chipfish::kPlayerIdFieldNumber; const int packetl2c_bc_table_kill_chipfish::kLotteryIdFieldNumber; const int packetl2c_bc_table_kill_chipfish::kFishIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_table_kill_chipfish::packetl2c_bc_table_kill_chipfish() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_table_kill_chipfish::InitAsDefaultInstance() { } packetl2c_bc_table_kill_chipfish::packetl2c_bc_table_kill_chipfish(const packetl2c_bc_table_kill_chipfish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_table_kill_chipfish::SharedCtor() { _cached_size_ = 0; packet_id_ = 16119; playerid_ = 0; lotteryid_ = 0; fishid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_table_kill_chipfish::~packetl2c_bc_table_kill_chipfish() { SharedDtor(); } void packetl2c_bc_table_kill_chipfish::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_table_kill_chipfish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_chipfish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_table_kill_chipfish_descriptor_; } const packetl2c_bc_table_kill_chipfish& packetl2c_bc_table_kill_chipfish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_table_kill_chipfish* packetl2c_bc_table_kill_chipfish::default_instance_ = NULL; packetl2c_bc_table_kill_chipfish* packetl2c_bc_table_kill_chipfish::New() const { return new packetl2c_bc_table_kill_chipfish; } void packetl2c_bc_table_kill_chipfish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16119; playerid_ = 0; lotteryid_ = 0; fishid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_table_kill_chipfish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_LotteryId; break; } // optional int32 LotteryId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_LotteryId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &lotteryid_))); set_has_lotteryid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fishId; break; } // optional int32 fishId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishid_))); set_has_fishid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_table_kill_chipfish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 LotteryId = 3; if (has_lotteryid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->lotteryid(), output); } // optional int32 fishId = 4; if (has_fishid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fishid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_table_kill_chipfish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 LotteryId = 3; if (has_lotteryid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->lotteryid(), target); } // optional int32 fishId = 4; if (has_fishid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fishid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_table_kill_chipfish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_chipfish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 LotteryId = 3; if (has_lotteryid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->lotteryid()); } // optional int32 fishId = 4; if (has_fishid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_table_kill_chipfish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_table_kill_chipfish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_table_kill_chipfish::MergeFrom(const packetl2c_bc_table_kill_chipfish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_lotteryid()) { set_lotteryid(from.lotteryid()); } if (from.has_fishid()) { set_fishid(from.fishid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_table_kill_chipfish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_table_kill_chipfish::CopyFrom(const packetl2c_bc_table_kill_chipfish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_table_kill_chipfish::IsInitialized() const { return true; } void packetl2c_bc_table_kill_chipfish::Swap(packetl2c_bc_table_kill_chipfish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(lotteryid_, other->lotteryid_); std::swap(fishid_, other->fishid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_table_kill_chipfish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_table_kill_chipfish_descriptor_; metadata.reflection = packetl2c_bc_table_kill_chipfish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_table_kill_turntablefish::kPacketIdFieldNumber; const int packetl2c_bc_table_kill_turntablefish::kPlayerIdFieldNumber; const int packetl2c_bc_table_kill_turntablefish::kGoldFieldNumber; const int packetl2c_bc_table_kill_turntablefish::kFishIdFieldNumber; const int packetl2c_bc_table_kill_turntablefish::kTurnIdFieldNumber; const int packetl2c_bc_table_kill_turntablefish::kRemainTimeCardFieldNumber; #endif // !_MSC_VER packetl2c_bc_table_kill_turntablefish::packetl2c_bc_table_kill_turntablefish() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_table_kill_turntablefish::InitAsDefaultInstance() { } packetl2c_bc_table_kill_turntablefish::packetl2c_bc_table_kill_turntablefish(const packetl2c_bc_table_kill_turntablefish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_table_kill_turntablefish::SharedCtor() { _cached_size_ = 0; packet_id_ = 16148; playerid_ = 0; gold_ = 0; fishid_ = 0; turnid_ = 0; remaintimecard_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_table_kill_turntablefish::~packetl2c_bc_table_kill_turntablefish() { SharedDtor(); } void packetl2c_bc_table_kill_turntablefish::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_table_kill_turntablefish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_table_kill_turntablefish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_table_kill_turntablefish_descriptor_; } const packetl2c_bc_table_kill_turntablefish& packetl2c_bc_table_kill_turntablefish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_table_kill_turntablefish* packetl2c_bc_table_kill_turntablefish::default_instance_ = NULL; packetl2c_bc_table_kill_turntablefish* packetl2c_bc_table_kill_turntablefish::New() const { return new packetl2c_bc_table_kill_turntablefish; } void packetl2c_bc_table_kill_turntablefish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16148; playerid_ = 0; gold_ = 0; fishid_ = 0; turnid_ = 0; remaintimecard_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_table_kill_turntablefish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_gold; break; } // optional int32 gold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &gold_))); set_has_gold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_fishId; break; } // optional int32 fishId = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishid_))); set_has_fishid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_turnId; break; } // optional int32 turnId = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turnId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turnid_))); set_has_turnid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_remainTimeCard; break; } // optional int32 remainTimeCard = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_remainTimeCard: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &remaintimecard_))); set_has_remaintimecard(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_table_kill_turntablefish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 gold = 3; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gold(), output); } // optional int32 fishId = 4; if (has_fishid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->fishid(), output); } // optional int32 turnId = 5; if (has_turnid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->turnid(), output); } // optional int32 remainTimeCard = 6; if (has_remaintimecard()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->remaintimecard(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_table_kill_turntablefish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 gold = 3; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gold(), target); } // optional int32 fishId = 4; if (has_fishid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->fishid(), target); } // optional int32 turnId = 5; if (has_turnid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->turnid(), target); } // optional int32 remainTimeCard = 6; if (has_remaintimecard()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->remaintimecard(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_table_kill_turntablefish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_table_kill_turntablefish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 gold = 3; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->gold()); } // optional int32 fishId = 4; if (has_fishid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishid()); } // optional int32 turnId = 5; if (has_turnid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turnid()); } // optional int32 remainTimeCard = 6; if (has_remaintimecard()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->remaintimecard()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_table_kill_turntablefish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_table_kill_turntablefish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_table_kill_turntablefish::MergeFrom(const packetl2c_bc_table_kill_turntablefish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_gold()) { set_gold(from.gold()); } if (from.has_fishid()) { set_fishid(from.fishid()); } if (from.has_turnid()) { set_turnid(from.turnid()); } if (from.has_remaintimecard()) { set_remaintimecard(from.remaintimecard()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_table_kill_turntablefish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_table_kill_turntablefish::CopyFrom(const packetl2c_bc_table_kill_turntablefish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_table_kill_turntablefish::IsInitialized() const { return true; } void packetl2c_bc_table_kill_turntablefish::Swap(packetl2c_bc_table_kill_turntablefish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(gold_, other->gold_); std::swap(fishid_, other->fishid_); std::swap(turnid_, other->turnid_); std::swap(remaintimecard_, other->remaintimecard_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_table_kill_turntablefish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_table_kill_turntablefish_descriptor_; metadata.reflection = packetl2c_bc_table_kill_turntablefish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_kill_goldfish::kPacketIdFieldNumber; const int packetl2c_kill_goldfish::kKillcountFieldNumber; const int packetl2c_kill_goldfish::kGoldpoolFieldNumber; #endif // !_MSC_VER packetl2c_kill_goldfish::packetl2c_kill_goldfish() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_kill_goldfish::InitAsDefaultInstance() { } packetl2c_kill_goldfish::packetl2c_kill_goldfish(const packetl2c_kill_goldfish& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_kill_goldfish::SharedCtor() { _cached_size_ = 0; packet_id_ = 16162; killcount_ = 0; goldpool_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_kill_goldfish::~packetl2c_kill_goldfish() { SharedDtor(); } void packetl2c_kill_goldfish::SharedDtor() { if (this != default_instance_) { } } void packetl2c_kill_goldfish::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_kill_goldfish::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_kill_goldfish_descriptor_; } const packetl2c_kill_goldfish& packetl2c_kill_goldfish::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_kill_goldfish* packetl2c_kill_goldfish::default_instance_ = NULL; packetl2c_kill_goldfish* packetl2c_kill_goldfish::New() const { return new packetl2c_kill_goldfish; } void packetl2c_kill_goldfish::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16162; killcount_ = 0; goldpool_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_kill_goldfish::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_killcount; break; } // optional int32 killcount = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_killcount: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &killcount_))); set_has_killcount(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_goldpool; break; } // optional int32 goldpool = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_goldpool: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &goldpool_))); set_has_goldpool(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_kill_goldfish::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 killcount = 2; if (has_killcount()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->killcount(), output); } // optional int32 goldpool = 3; if (has_goldpool()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->goldpool(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_kill_goldfish::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 killcount = 2; if (has_killcount()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->killcount(), target); } // optional int32 goldpool = 3; if (has_goldpool()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->goldpool(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_kill_goldfish::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_kill_goldfish]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 killcount = 2; if (has_killcount()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->killcount()); } // optional int32 goldpool = 3; if (has_goldpool()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->goldpool()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_kill_goldfish::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_kill_goldfish* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_kill_goldfish::MergeFrom(const packetl2c_kill_goldfish& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_killcount()) { set_killcount(from.killcount()); } if (from.has_goldpool()) { set_goldpool(from.goldpool()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_kill_goldfish::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_kill_goldfish::CopyFrom(const packetl2c_kill_goldfish& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_kill_goldfish::IsInitialized() const { return true; } void packetl2c_kill_goldfish::Swap(packetl2c_kill_goldfish* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(killcount_, other->killcount_); std::swap(goldpool_, other->goldpool_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_kill_goldfish::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_kill_goldfish_descriptor_; metadata.reflection = packetl2c_kill_goldfish_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_play_ad_reward::kPacketIdFieldNumber; const int packetc2l_play_ad_reward::kDoubleFieldNumber; #endif // !_MSC_VER packetc2l_play_ad_reward::packetc2l_play_ad_reward() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_play_ad_reward::InitAsDefaultInstance() { } packetc2l_play_ad_reward::packetc2l_play_ad_reward(const packetc2l_play_ad_reward& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_play_ad_reward::SharedCtor() { _cached_size_ = 0; packet_id_ = 10196; double__ = false; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_play_ad_reward::~packetc2l_play_ad_reward() { SharedDtor(); } void packetc2l_play_ad_reward::SharedDtor() { if (this != default_instance_) { } } void packetc2l_play_ad_reward::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_play_ad_reward::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_play_ad_reward_descriptor_; } const packetc2l_play_ad_reward& packetc2l_play_ad_reward::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_play_ad_reward* packetc2l_play_ad_reward::default_instance_ = NULL; packetc2l_play_ad_reward* packetc2l_play_ad_reward::New() const { return new packetc2l_play_ad_reward; } void packetc2l_play_ad_reward::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10196; double__ = false; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_play_ad_reward::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_double; break; } // optional bool double = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_double: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &double__))); set_has_double_(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_play_ad_reward::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional bool double = 2; if (has_double_()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_play_ad_reward::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional bool double = 2; if (has_double_()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_play_ad_reward::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_play_ad_reward]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional bool double = 2; if (has_double_()) { total_size += 1 + 1; } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_play_ad_reward::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_play_ad_reward* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_play_ad_reward::MergeFrom(const packetc2l_play_ad_reward& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_double_()) { set_double_(from.double_()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_play_ad_reward::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_play_ad_reward::CopyFrom(const packetc2l_play_ad_reward& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_play_ad_reward::IsInitialized() const { return true; } void packetc2l_play_ad_reward::Swap(packetc2l_play_ad_reward* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(double__, other->double__); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_play_ad_reward::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_play_ad_reward_descriptor_; metadata.reflection = packetc2l_play_ad_reward_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_play_ad_reward_result::kPacketIdFieldNumber; const int packetl2c_play_ad_reward_result::kDoubleFieldNumber; const int packetl2c_play_ad_reward_result::kResultFieldNumber; #endif // !_MSC_VER packetl2c_play_ad_reward_result::packetl2c_play_ad_reward_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_play_ad_reward_result::InitAsDefaultInstance() { } packetl2c_play_ad_reward_result::packetl2c_play_ad_reward_result(const packetl2c_play_ad_reward_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_play_ad_reward_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16187; double__ = false; result_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_play_ad_reward_result::~packetl2c_play_ad_reward_result() { SharedDtor(); } void packetl2c_play_ad_reward_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_play_ad_reward_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_play_ad_reward_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_play_ad_reward_result_descriptor_; } const packetl2c_play_ad_reward_result& packetl2c_play_ad_reward_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_play_ad_reward_result* packetl2c_play_ad_reward_result::default_instance_ = NULL; packetl2c_play_ad_reward_result* packetl2c_play_ad_reward_result::New() const { return new packetl2c_play_ad_reward_result; } void packetl2c_play_ad_reward_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16187; double__ = false; result_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_play_ad_reward_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_double; break; } // optional bool double = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_double: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>( input, &double__))); set_has_double_(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_result; break; } // optional int32 result = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_play_ad_reward_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional bool double = 2; if (has_double_()) { ::google::protobuf::internal::WireFormatLite::WriteBool(2, this->double_(), output); } // optional int32 result = 3; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_play_ad_reward_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional bool double = 2; if (has_double_()) { target = ::google::protobuf::internal::WireFormatLite::WriteBoolToArray(2, this->double_(), target); } // optional int32 result = 3; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_play_ad_reward_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_play_ad_reward_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional bool double = 2; if (has_double_()) { total_size += 1 + 1; } // optional int32 result = 3; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_play_ad_reward_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_play_ad_reward_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_play_ad_reward_result::MergeFrom(const packetl2c_play_ad_reward_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_double_()) { set_double_(from.double_()); } if (from.has_result()) { set_result(from.result()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_play_ad_reward_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_play_ad_reward_result::CopyFrom(const packetl2c_play_ad_reward_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_play_ad_reward_result::IsInitialized() const { return true; } void packetl2c_play_ad_reward_result::Swap(packetl2c_play_ad_reward_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(double__, other->double__); std::swap(result_, other->result_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_play_ad_reward_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_play_ad_reward_result_descriptor_; metadata.reflection = packetl2c_play_ad_reward_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_receive_redpacket_reward::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_receive_redpacket_reward::packetc2l_receive_redpacket_reward() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_receive_redpacket_reward::InitAsDefaultInstance() { } packetc2l_receive_redpacket_reward::packetc2l_receive_redpacket_reward(const packetc2l_receive_redpacket_reward& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_receive_redpacket_reward::SharedCtor() { _cached_size_ = 0; packet_id_ = 10199; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_receive_redpacket_reward::~packetc2l_receive_redpacket_reward() { SharedDtor(); } void packetc2l_receive_redpacket_reward::SharedDtor() { if (this != default_instance_) { } } void packetc2l_receive_redpacket_reward::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_receive_redpacket_reward::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_receive_redpacket_reward_descriptor_; } const packetc2l_receive_redpacket_reward& packetc2l_receive_redpacket_reward::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_receive_redpacket_reward* packetc2l_receive_redpacket_reward::default_instance_ = NULL; packetc2l_receive_redpacket_reward* packetc2l_receive_redpacket_reward::New() const { return new packetc2l_receive_redpacket_reward; } void packetc2l_receive_redpacket_reward::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10199; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_receive_redpacket_reward::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_receive_redpacket_reward::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_receive_redpacket_reward::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_receive_redpacket_reward::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_redpacket_reward]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_receive_redpacket_reward::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_receive_redpacket_reward* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_receive_redpacket_reward::MergeFrom(const packetc2l_receive_redpacket_reward& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_receive_redpacket_reward::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_receive_redpacket_reward::CopyFrom(const packetc2l_receive_redpacket_reward& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_receive_redpacket_reward::IsInitialized() const { return true; } void packetc2l_receive_redpacket_reward::Swap(packetc2l_receive_redpacket_reward* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_receive_redpacket_reward::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_receive_redpacket_reward_descriptor_; metadata.reflection = packetc2l_receive_redpacket_reward_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_receive_redpacket_reward_result::kPacketIdFieldNumber; const int packetl2c_receive_redpacket_reward_result::kResultFieldNumber; const int packetl2c_receive_redpacket_reward_result::kRewardIndexFieldNumber; const int packetl2c_receive_redpacket_reward_result::kRedEnvlopeInfosFieldNumber; #endif // !_MSC_VER packetl2c_receive_redpacket_reward_result::packetl2c_receive_redpacket_reward_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_receive_redpacket_reward_result::InitAsDefaultInstance() { } packetl2c_receive_redpacket_reward_result::packetl2c_receive_redpacket_reward_result(const packetl2c_receive_redpacket_reward_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_receive_redpacket_reward_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16193; result_ = 0; rewardindex_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_receive_redpacket_reward_result::~packetl2c_receive_redpacket_reward_result() { SharedDtor(); } void packetl2c_receive_redpacket_reward_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_receive_redpacket_reward_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_receive_redpacket_reward_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_receive_redpacket_reward_result_descriptor_; } const packetl2c_receive_redpacket_reward_result& packetl2c_receive_redpacket_reward_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_receive_redpacket_reward_result* packetl2c_receive_redpacket_reward_result::default_instance_ = NULL; packetl2c_receive_redpacket_reward_result* packetl2c_receive_redpacket_reward_result::New() const { return new packetl2c_receive_redpacket_reward_result; } void packetl2c_receive_redpacket_reward_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16193; result_ = 0; rewardindex_ = 0; } redenvlopeinfos_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_receive_redpacket_reward_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rewardIndex; break; } // optional int32 rewardIndex = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rewardIndex: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rewardindex_))); set_has_rewardindex(); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_redEnvlopeInfos; break; } // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_redEnvlopeInfos: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_redenvlopeinfos())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_redEnvlopeInfos; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_receive_redpacket_reward_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 rewardIndex = 3; if (has_rewardindex()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rewardindex(), output); } // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4; for (int i = 0; i < this->redenvlopeinfos_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->redenvlopeinfos(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_receive_redpacket_reward_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 rewardIndex = 3; if (has_rewardindex()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rewardindex(), target); } // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4; for (int i = 0; i < this->redenvlopeinfos_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->redenvlopeinfos(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_receive_redpacket_reward_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_redpacket_reward_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 rewardIndex = 3; if (has_rewardindex()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rewardindex()); } } // repeated .fish_protocols.redEnvlopeInfo redEnvlopeInfos = 4; total_size += 1 * this->redenvlopeinfos_size(); for (int i = 0; i < this->redenvlopeinfos_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->redenvlopeinfos(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_receive_redpacket_reward_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_receive_redpacket_reward_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_receive_redpacket_reward_result::MergeFrom(const packetl2c_receive_redpacket_reward_result& from) { GOOGLE_CHECK_NE(&from, this); redenvlopeinfos_.MergeFrom(from.redenvlopeinfos_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_rewardindex()) { set_rewardindex(from.rewardindex()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_receive_redpacket_reward_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_receive_redpacket_reward_result::CopyFrom(const packetl2c_receive_redpacket_reward_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_receive_redpacket_reward_result::IsInitialized() const { return true; } void packetl2c_receive_redpacket_reward_result::Swap(packetl2c_receive_redpacket_reward_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(rewardindex_, other->rewardindex_); redenvlopeinfos_.Swap(&other->redenvlopeinfos_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_receive_redpacket_reward_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_receive_redpacket_reward_result_descriptor_; metadata.reflection = packetl2c_receive_redpacket_reward_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_trigger_mysterous_shell::kPacketIdFieldNumber; const int packetl2c_bc_trigger_mysterous_shell::kPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_trigger_mysterous_shell::packetl2c_bc_trigger_mysterous_shell() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_trigger_mysterous_shell::InitAsDefaultInstance() { } packetl2c_bc_trigger_mysterous_shell::packetl2c_bc_trigger_mysterous_shell(const packetl2c_bc_trigger_mysterous_shell& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_trigger_mysterous_shell::SharedCtor() { _cached_size_ = 0; packet_id_ = 16197; playerid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_trigger_mysterous_shell::~packetl2c_bc_trigger_mysterous_shell() { SharedDtor(); } void packetl2c_bc_trigger_mysterous_shell::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_trigger_mysterous_shell::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_trigger_mysterous_shell::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_trigger_mysterous_shell_descriptor_; } const packetl2c_bc_trigger_mysterous_shell& packetl2c_bc_trigger_mysterous_shell::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_trigger_mysterous_shell* packetl2c_bc_trigger_mysterous_shell::default_instance_ = NULL; packetl2c_bc_trigger_mysterous_shell* packetl2c_bc_trigger_mysterous_shell::New() const { return new packetl2c_bc_trigger_mysterous_shell; } void packetl2c_bc_trigger_mysterous_shell::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16197; playerid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_trigger_mysterous_shell::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_trigger_mysterous_shell::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_trigger_mysterous_shell::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_trigger_mysterous_shell::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_mysterous_shell]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_trigger_mysterous_shell::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_trigger_mysterous_shell* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_trigger_mysterous_shell::MergeFrom(const packetl2c_bc_trigger_mysterous_shell& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_trigger_mysterous_shell::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_trigger_mysterous_shell::CopyFrom(const packetl2c_bc_trigger_mysterous_shell& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_trigger_mysterous_shell::IsInitialized() const { return true; } void packetl2c_bc_trigger_mysterous_shell::Swap(packetl2c_bc_trigger_mysterous_shell* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_trigger_mysterous_shell::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_trigger_mysterous_shell_descriptor_; metadata.reflection = packetl2c_bc_trigger_mysterous_shell_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_req_lottery_mysterous_shell::kPacketIdFieldNumber; const int packetc2l_req_lottery_mysterous_shell::kIndexFieldNumber; #endif // !_MSC_VER packetc2l_req_lottery_mysterous_shell::packetc2l_req_lottery_mysterous_shell() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_req_lottery_mysterous_shell::InitAsDefaultInstance() { } packetc2l_req_lottery_mysterous_shell::packetc2l_req_lottery_mysterous_shell(const packetc2l_req_lottery_mysterous_shell& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_req_lottery_mysterous_shell::SharedCtor() { _cached_size_ = 0; packet_id_ = 10202; index_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_req_lottery_mysterous_shell::~packetc2l_req_lottery_mysterous_shell() { SharedDtor(); } void packetc2l_req_lottery_mysterous_shell::SharedDtor() { if (this != default_instance_) { } } void packetc2l_req_lottery_mysterous_shell::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_req_lottery_mysterous_shell::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_req_lottery_mysterous_shell_descriptor_; } const packetc2l_req_lottery_mysterous_shell& packetc2l_req_lottery_mysterous_shell::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_req_lottery_mysterous_shell* packetc2l_req_lottery_mysterous_shell::default_instance_ = NULL; packetc2l_req_lottery_mysterous_shell* packetc2l_req_lottery_mysterous_shell::New() const { return new packetc2l_req_lottery_mysterous_shell; } void packetc2l_req_lottery_mysterous_shell::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10202; index_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_req_lottery_mysterous_shell::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_index; break; } // optional int32 index = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_index: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &index_))); set_has_index(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_req_lottery_mysterous_shell::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 index = 2; if (has_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_req_lottery_mysterous_shell::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 index = 2; if (has_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_req_lottery_mysterous_shell::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_mysterous_shell]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 index = 2; if (has_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->index()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_req_lottery_mysterous_shell::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_req_lottery_mysterous_shell* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_req_lottery_mysterous_shell::MergeFrom(const packetc2l_req_lottery_mysterous_shell& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_index()) { set_index(from.index()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_req_lottery_mysterous_shell::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_req_lottery_mysterous_shell::CopyFrom(const packetc2l_req_lottery_mysterous_shell& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_req_lottery_mysterous_shell::IsInitialized() const { return true; } void packetc2l_req_lottery_mysterous_shell::Swap(packetc2l_req_lottery_mysterous_shell* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(index_, other->index_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_req_lottery_mysterous_shell::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_req_lottery_mysterous_shell_descriptor_; metadata.reflection = packetc2l_req_lottery_mysterous_shell_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int shellLotteryInfo::kIndexFieldNumber; const int shellLotteryInfo::kTurretRateFieldNumber; const int shellLotteryInfo::kGoldFieldNumber; #endif // !_MSC_VER shellLotteryInfo::shellLotteryInfo() : ::google::protobuf::Message() { SharedCtor(); } void shellLotteryInfo::InitAsDefaultInstance() { } shellLotteryInfo::shellLotteryInfo(const shellLotteryInfo& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void shellLotteryInfo::SharedCtor() { _cached_size_ = 0; index_ = 0; turretrate_ = 0; gold_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } shellLotteryInfo::~shellLotteryInfo() { SharedDtor(); } void shellLotteryInfo::SharedDtor() { if (this != default_instance_) { } } void shellLotteryInfo::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* shellLotteryInfo::descriptor() { protobuf_AssignDescriptorsOnce(); return shellLotteryInfo_descriptor_; } const shellLotteryInfo& shellLotteryInfo::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } shellLotteryInfo* shellLotteryInfo::default_instance_ = NULL; shellLotteryInfo* shellLotteryInfo::New() const { return new shellLotteryInfo; } void shellLotteryInfo::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { index_ = 0; turretrate_ = 0; gold_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool shellLotteryInfo::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional int32 index = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &index_))); set_has_index(); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_turretRate; break; } // optional int32 turretRate = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turretRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turretrate_))); set_has_turretrate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_gold; break; } // optional int32 gold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &gold_))); set_has_gold(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void shellLotteryInfo::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional int32 index = 1; if (has_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(1, this->index(), output); } // optional int32 turretRate = 2; if (has_turretrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->turretrate(), output); } // optional int32 gold = 3; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->gold(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* shellLotteryInfo::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional int32 index = 1; if (has_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(1, this->index(), target); } // optional int32 turretRate = 2; if (has_turretrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->turretrate(), target); } // optional int32 gold = 3; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->gold(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int shellLotteryInfo::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional int32 index = 1; if (has_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->index()); } // optional int32 turretRate = 2; if (has_turretrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turretrate()); } // optional int32 gold = 3; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->gold()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void shellLotteryInfo::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const shellLotteryInfo* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void shellLotteryInfo::MergeFrom(const shellLotteryInfo& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_index()) { set_index(from.index()); } if (from.has_turretrate()) { set_turretrate(from.turretrate()); } if (from.has_gold()) { set_gold(from.gold()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void shellLotteryInfo::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void shellLotteryInfo::CopyFrom(const shellLotteryInfo& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool shellLotteryInfo::IsInitialized() const { return true; } void shellLotteryInfo::Swap(shellLotteryInfo* other) { if (other != this) { std::swap(index_, other->index_); std::swap(turretrate_, other->turretrate_); std::swap(gold_, other->gold_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata shellLotteryInfo::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = shellLotteryInfo_descriptor_; metadata.reflection = shellLotteryInfo_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_req_lottery_mysterous_shell_result::kPacketIdFieldNumber; const int packetl2c_req_lottery_mysterous_shell_result::kResultFieldNumber; const int packetl2c_req_lottery_mysterous_shell_result::kLotteryInfoFieldNumber; #endif // !_MSC_VER packetl2c_req_lottery_mysterous_shell_result::packetl2c_req_lottery_mysterous_shell_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_req_lottery_mysterous_shell_result::InitAsDefaultInstance() { lotteryinfo_ = const_cast< ::fish_protocols::shellLotteryInfo*>(&::fish_protocols::shellLotteryInfo::default_instance()); } packetl2c_req_lottery_mysterous_shell_result::packetl2c_req_lottery_mysterous_shell_result(const packetl2c_req_lottery_mysterous_shell_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_req_lottery_mysterous_shell_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16198; result_ = 0; lotteryinfo_ = NULL; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_req_lottery_mysterous_shell_result::~packetl2c_req_lottery_mysterous_shell_result() { SharedDtor(); } void packetl2c_req_lottery_mysterous_shell_result::SharedDtor() { if (this != default_instance_) { delete lotteryinfo_; } } void packetl2c_req_lottery_mysterous_shell_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_req_lottery_mysterous_shell_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_req_lottery_mysterous_shell_result_descriptor_; } const packetl2c_req_lottery_mysterous_shell_result& packetl2c_req_lottery_mysterous_shell_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_req_lottery_mysterous_shell_result* packetl2c_req_lottery_mysterous_shell_result::default_instance_ = NULL; packetl2c_req_lottery_mysterous_shell_result* packetl2c_req_lottery_mysterous_shell_result::New() const { return new packetl2c_req_lottery_mysterous_shell_result; } void packetl2c_req_lottery_mysterous_shell_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16198; result_ = 0; if (has_lotteryinfo()) { if (lotteryinfo_ != NULL) lotteryinfo_->::fish_protocols::shellLotteryInfo::Clear(); } } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_req_lottery_mysterous_shell_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_lotteryInfo; break; } // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_lotteryInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, mutable_lotteryinfo())); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_req_lottery_mysterous_shell_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3; if (has_lotteryinfo()) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->lotteryinfo(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_req_lottery_mysterous_shell_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3; if (has_lotteryinfo()) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->lotteryinfo(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_req_lottery_mysterous_shell_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_mysterous_shell_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional .fish_protocols.shellLotteryInfo lotteryInfo = 3; if (has_lotteryinfo()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->lotteryinfo()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_req_lottery_mysterous_shell_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_req_lottery_mysterous_shell_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_req_lottery_mysterous_shell_result::MergeFrom(const packetl2c_req_lottery_mysterous_shell_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_lotteryinfo()) { mutable_lotteryinfo()->::fish_protocols::shellLotteryInfo::MergeFrom(from.lotteryinfo()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_req_lottery_mysterous_shell_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_req_lottery_mysterous_shell_result::CopyFrom(const packetl2c_req_lottery_mysterous_shell_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_req_lottery_mysterous_shell_result::IsInitialized() const { return true; } void packetl2c_req_lottery_mysterous_shell_result::Swap(packetl2c_req_lottery_mysterous_shell_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(lotteryinfo_, other->lotteryinfo_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_req_lottery_mysterous_shell_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_req_lottery_mysterous_shell_result_descriptor_; metadata.reflection = packetl2c_req_lottery_mysterous_shell_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_mysterous_shell_lottery_result::kPacketIdFieldNumber; const int packetl2c_bc_mysterous_shell_lottery_result::kPlayerIdFieldNumber; const int packetl2c_bc_mysterous_shell_lottery_result::kTotalGoldFieldNumber; const int packetl2c_bc_mysterous_shell_lottery_result::kLotteryInfoFieldNumber; #endif // !_MSC_VER packetl2c_bc_mysterous_shell_lottery_result::packetl2c_bc_mysterous_shell_lottery_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_mysterous_shell_lottery_result::InitAsDefaultInstance() { } packetl2c_bc_mysterous_shell_lottery_result::packetl2c_bc_mysterous_shell_lottery_result(const packetl2c_bc_mysterous_shell_lottery_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_mysterous_shell_lottery_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16199; playerid_ = 0; totalgold_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_mysterous_shell_lottery_result::~packetl2c_bc_mysterous_shell_lottery_result() { SharedDtor(); } void packetl2c_bc_mysterous_shell_lottery_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_mysterous_shell_lottery_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_mysterous_shell_lottery_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_mysterous_shell_lottery_result_descriptor_; } const packetl2c_bc_mysterous_shell_lottery_result& packetl2c_bc_mysterous_shell_lottery_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_mysterous_shell_lottery_result* packetl2c_bc_mysterous_shell_lottery_result::default_instance_ = NULL; packetl2c_bc_mysterous_shell_lottery_result* packetl2c_bc_mysterous_shell_lottery_result::New() const { return new packetl2c_bc_mysterous_shell_lottery_result; } void packetl2c_bc_mysterous_shell_lottery_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16199; playerid_ = 0; totalgold_ = 0; } lotteryinfo_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_mysterous_shell_lottery_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_totalGold; break; } // optional int32 totalGold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_totalGold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &totalgold_))); set_has_totalgold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_lotteryInfo; break; } // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_lotteryInfo: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_lotteryinfo())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_lotteryInfo; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_mysterous_shell_lottery_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 totalGold = 3; if (has_totalgold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->totalgold(), output); } // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4; for (int i = 0; i < this->lotteryinfo_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->lotteryinfo(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_mysterous_shell_lottery_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 totalGold = 3; if (has_totalgold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->totalgold(), target); } // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4; for (int i = 0; i < this->lotteryinfo_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->lotteryinfo(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_mysterous_shell_lottery_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_mysterous_shell_lottery_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 totalGold = 3; if (has_totalgold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->totalgold()); } } // repeated .fish_protocols.shellLotteryInfo lotteryInfo = 4; total_size += 1 * this->lotteryinfo_size(); for (int i = 0; i < this->lotteryinfo_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->lotteryinfo(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_mysterous_shell_lottery_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_mysterous_shell_lottery_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_mysterous_shell_lottery_result::MergeFrom(const packetl2c_bc_mysterous_shell_lottery_result& from) { GOOGLE_CHECK_NE(&from, this); lotteryinfo_.MergeFrom(from.lotteryinfo_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_totalgold()) { set_totalgold(from.totalgold()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_mysterous_shell_lottery_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_mysterous_shell_lottery_result::CopyFrom(const packetl2c_bc_mysterous_shell_lottery_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_mysterous_shell_lottery_result::IsInitialized() const { return true; } void packetl2c_bc_mysterous_shell_lottery_result::Swap(packetl2c_bc_mysterous_shell_lottery_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(totalgold_, other->totalgold_); lotteryinfo_.Swap(&other->lotteryinfo_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_mysterous_shell_lottery_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_mysterous_shell_lottery_result_descriptor_; metadata.reflection = packetl2c_bc_mysterous_shell_lottery_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int dice_change_info::kNickNameFieldNumber; const int dice_change_info::kScoreFieldNumber; #endif // !_MSC_VER dice_change_info::dice_change_info() : ::google::protobuf::Message() { SharedCtor(); } void dice_change_info::InitAsDefaultInstance() { } dice_change_info::dice_change_info(const dice_change_info& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void dice_change_info::SharedCtor() { _cached_size_ = 0; nickname_ = const_cast< ::std::string*>(&::google::protobuf::internal::kEmptyString); score_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } dice_change_info::~dice_change_info() { SharedDtor(); } void dice_change_info::SharedDtor() { if (nickname_ != &::google::protobuf::internal::kEmptyString) { delete nickname_; } if (this != default_instance_) { } } void dice_change_info::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* dice_change_info::descriptor() { protobuf_AssignDescriptorsOnce(); return dice_change_info_descriptor_; } const dice_change_info& dice_change_info::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } dice_change_info* dice_change_info::default_instance_ = NULL; dice_change_info* dice_change_info::New() const { return new dice_change_info; } void dice_change_info::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (has_nickname()) { if (nickname_ != &::google::protobuf::internal::kEmptyString) { nickname_->clear(); } } score_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool dice_change_info::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional string nickName = 1; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { DO_(::google::protobuf::internal::WireFormatLite::ReadString( input, this->mutable_nickname())); ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::PARSE); } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_score; break; } // optional int32 score = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &score_))); set_has_score(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void dice_change_info::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional string nickName = 1; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); ::google::protobuf::internal::WireFormatLite::WriteString( 1, this->nickname(), output); } // optional int32 score = 2; if (has_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->score(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* dice_change_info::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional string nickName = 1; if (has_nickname()) { ::google::protobuf::internal::WireFormat::VerifyUTF8String( this->nickname().data(), this->nickname().length(), ::google::protobuf::internal::WireFormat::SERIALIZE); target = ::google::protobuf::internal::WireFormatLite::WriteStringToArray( 1, this->nickname(), target); } // optional int32 score = 2; if (has_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->score(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int dice_change_info::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional string nickName = 1; if (has_nickname()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( this->nickname()); } // optional int32 score = 2; if (has_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->score()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void dice_change_info::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const dice_change_info* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void dice_change_info::MergeFrom(const dice_change_info& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_nickname()) { set_nickname(from.nickname()); } if (from.has_score()) { set_score(from.score()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void dice_change_info::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void dice_change_info::CopyFrom(const dice_change_info& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool dice_change_info::IsInitialized() const { return true; } void dice_change_info::Swap(dice_change_info* other) { if (other != this) { std::swap(nickname_, other->nickname_); std::swap(score_, other->score_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata dice_change_info::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = dice_change_info_descriptor_; metadata.reflection = dice_change_info_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_trigger_dice_game::kPacketIdFieldNumber; const int packetl2c_bc_trigger_dice_game::kPlayerIdFieldNumber; const int packetl2c_bc_trigger_dice_game::kBaseGoldFieldNumber; const int packetl2c_bc_trigger_dice_game::kChangeListFieldNumber; #endif // !_MSC_VER packetl2c_bc_trigger_dice_game::packetl2c_bc_trigger_dice_game() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_trigger_dice_game::InitAsDefaultInstance() { } packetl2c_bc_trigger_dice_game::packetl2c_bc_trigger_dice_game(const packetl2c_bc_trigger_dice_game& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_trigger_dice_game::SharedCtor() { _cached_size_ = 0; packet_id_ = 16200; playerid_ = 0; basegold_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_trigger_dice_game::~packetl2c_bc_trigger_dice_game() { SharedDtor(); } void packetl2c_bc_trigger_dice_game::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_trigger_dice_game::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_trigger_dice_game::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_trigger_dice_game_descriptor_; } const packetl2c_bc_trigger_dice_game& packetl2c_bc_trigger_dice_game::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_trigger_dice_game* packetl2c_bc_trigger_dice_game::default_instance_ = NULL; packetl2c_bc_trigger_dice_game* packetl2c_bc_trigger_dice_game::New() const { return new packetl2c_bc_trigger_dice_game; } void packetl2c_bc_trigger_dice_game::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16200; playerid_ = 0; basegold_ = 0; } changelist_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_trigger_dice_game::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_baseGold; break; } // optional int32 baseGold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_baseGold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &basegold_))); set_has_basegold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_changeList; break; } // repeated .fish_protocols.dice_change_info changeList = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_changeList: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_changelist())); } else { goto handle_uninterpreted; } if (input->ExpectTag(34)) goto parse_changeList; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_trigger_dice_game::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 baseGold = 3; if (has_basegold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->basegold(), output); } // repeated .fish_protocols.dice_change_info changeList = 4; for (int i = 0; i < this->changelist_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 4, this->changelist(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_trigger_dice_game::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 baseGold = 3; if (has_basegold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->basegold(), target); } // repeated .fish_protocols.dice_change_info changeList = 4; for (int i = 0; i < this->changelist_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 4, this->changelist(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_trigger_dice_game::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_dice_game]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 baseGold = 3; if (has_basegold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->basegold()); } } // repeated .fish_protocols.dice_change_info changeList = 4; total_size += 1 * this->changelist_size(); for (int i = 0; i < this->changelist_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->changelist(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_trigger_dice_game::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_trigger_dice_game* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_trigger_dice_game::MergeFrom(const packetl2c_bc_trigger_dice_game& from) { GOOGLE_CHECK_NE(&from, this); changelist_.MergeFrom(from.changelist_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_basegold()) { set_basegold(from.basegold()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_trigger_dice_game::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_trigger_dice_game::CopyFrom(const packetl2c_bc_trigger_dice_game& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_trigger_dice_game::IsInitialized() const { return true; } void packetl2c_bc_trigger_dice_game::Swap(packetl2c_bc_trigger_dice_game* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(basegold_, other->basegold_); changelist_.Swap(&other->changelist_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_trigger_dice_game::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_trigger_dice_game_descriptor_; metadata.reflection = packetl2c_bc_trigger_dice_game_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_req_lottery_dice_game::kPacketIdFieldNumber; const int packetc2l_req_lottery_dice_game::kOpTypeFieldNumber; #endif // !_MSC_VER packetc2l_req_lottery_dice_game::packetc2l_req_lottery_dice_game() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_req_lottery_dice_game::InitAsDefaultInstance() { } packetc2l_req_lottery_dice_game::packetc2l_req_lottery_dice_game(const packetc2l_req_lottery_dice_game& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_req_lottery_dice_game::SharedCtor() { _cached_size_ = 0; packet_id_ = 10203; optype_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_req_lottery_dice_game::~packetc2l_req_lottery_dice_game() { SharedDtor(); } void packetc2l_req_lottery_dice_game::SharedDtor() { if (this != default_instance_) { } } void packetc2l_req_lottery_dice_game::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_req_lottery_dice_game::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_req_lottery_dice_game_descriptor_; } const packetc2l_req_lottery_dice_game& packetc2l_req_lottery_dice_game::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_req_lottery_dice_game* packetc2l_req_lottery_dice_game::default_instance_ = NULL; packetc2l_req_lottery_dice_game* packetc2l_req_lottery_dice_game::New() const { return new packetc2l_req_lottery_dice_game; } void packetc2l_req_lottery_dice_game::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10203; optype_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_req_lottery_dice_game::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_opType; break; } // optional int32 opType = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_opType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &optype_))); set_has_optype(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_req_lottery_dice_game::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 opType = 2; if (has_optype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->optype(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_req_lottery_dice_game::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 opType = 2; if (has_optype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->optype(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_req_lottery_dice_game::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_req_lottery_dice_game]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 opType = 2; if (has_optype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->optype()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_req_lottery_dice_game::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_req_lottery_dice_game* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_req_lottery_dice_game::MergeFrom(const packetc2l_req_lottery_dice_game& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_optype()) { set_optype(from.optype()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_req_lottery_dice_game::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_req_lottery_dice_game::CopyFrom(const packetc2l_req_lottery_dice_game& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_req_lottery_dice_game::IsInitialized() const { return true; } void packetc2l_req_lottery_dice_game::Swap(packetc2l_req_lottery_dice_game* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(optype_, other->optype_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_req_lottery_dice_game::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_req_lottery_dice_game_descriptor_; metadata.reflection = packetc2l_req_lottery_dice_game_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_req_lottery_dice_game_result::kPacketIdFieldNumber; const int packetl2c_req_lottery_dice_game_result::kResultFieldNumber; const int packetl2c_req_lottery_dice_game_result::kOpTypeFieldNumber; const int packetl2c_req_lottery_dice_game_result::kCurGoldFieldNumber; const int packetl2c_req_lottery_dice_game_result::kResultNumFieldNumber; #endif // !_MSC_VER packetl2c_req_lottery_dice_game_result::packetl2c_req_lottery_dice_game_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_req_lottery_dice_game_result::InitAsDefaultInstance() { } packetl2c_req_lottery_dice_game_result::packetl2c_req_lottery_dice_game_result(const packetl2c_req_lottery_dice_game_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_req_lottery_dice_game_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16201; result_ = 0; optype_ = 0; curgold_ = 0; resultnum_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_req_lottery_dice_game_result::~packetl2c_req_lottery_dice_game_result() { SharedDtor(); } void packetl2c_req_lottery_dice_game_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_req_lottery_dice_game_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_req_lottery_dice_game_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_req_lottery_dice_game_result_descriptor_; } const packetl2c_req_lottery_dice_game_result& packetl2c_req_lottery_dice_game_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_req_lottery_dice_game_result* packetl2c_req_lottery_dice_game_result::default_instance_ = NULL; packetl2c_req_lottery_dice_game_result* packetl2c_req_lottery_dice_game_result::New() const { return new packetl2c_req_lottery_dice_game_result; } void packetl2c_req_lottery_dice_game_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16201; result_ = 0; optype_ = 0; curgold_ = 0; resultnum_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_req_lottery_dice_game_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_opType; break; } // optional int32 opType = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_opType: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &optype_))); set_has_optype(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_curGold; break; } // optional int32 curGold = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_curGold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &curgold_))); set_has_curgold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_resultNum; break; } // optional int32 resultNum = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_resultNum: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &resultnum_))); set_has_resultnum(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_req_lottery_dice_game_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 opType = 3; if (has_optype()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->optype(), output); } // optional int32 curGold = 4; if (has_curgold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->curgold(), output); } // optional int32 resultNum = 5; if (has_resultnum()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->resultnum(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_req_lottery_dice_game_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 opType = 3; if (has_optype()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->optype(), target); } // optional int32 curGold = 4; if (has_curgold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->curgold(), target); } // optional int32 resultNum = 5; if (has_resultnum()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->resultnum(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_req_lottery_dice_game_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_req_lottery_dice_game_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 opType = 3; if (has_optype()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->optype()); } // optional int32 curGold = 4; if (has_curgold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->curgold()); } // optional int32 resultNum = 5; if (has_resultnum()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->resultnum()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_req_lottery_dice_game_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_req_lottery_dice_game_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_req_lottery_dice_game_result::MergeFrom(const packetl2c_req_lottery_dice_game_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_optype()) { set_optype(from.optype()); } if (from.has_curgold()) { set_curgold(from.curgold()); } if (from.has_resultnum()) { set_resultnum(from.resultnum()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_req_lottery_dice_game_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_req_lottery_dice_game_result::CopyFrom(const packetl2c_req_lottery_dice_game_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_req_lottery_dice_game_result::IsInitialized() const { return true; } void packetl2c_req_lottery_dice_game_result::Swap(packetl2c_req_lottery_dice_game_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(optype_, other->optype_); std::swap(curgold_, other->curgold_); std::swap(resultnum_, other->resultnum_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_req_lottery_dice_game_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_req_lottery_dice_game_result_descriptor_; metadata.reflection = packetl2c_req_lottery_dice_game_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_dice_game_lottery_result::kPacketIdFieldNumber; const int packetl2c_bc_dice_game_lottery_result::kPlayerIdFieldNumber; const int packetl2c_bc_dice_game_lottery_result::kTotalGoldFieldNumber; #endif // !_MSC_VER packetl2c_bc_dice_game_lottery_result::packetl2c_bc_dice_game_lottery_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_dice_game_lottery_result::InitAsDefaultInstance() { } packetl2c_bc_dice_game_lottery_result::packetl2c_bc_dice_game_lottery_result(const packetl2c_bc_dice_game_lottery_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_dice_game_lottery_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16202; playerid_ = 0; totalgold_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_dice_game_lottery_result::~packetl2c_bc_dice_game_lottery_result() { SharedDtor(); } void packetl2c_bc_dice_game_lottery_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_dice_game_lottery_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_dice_game_lottery_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_dice_game_lottery_result_descriptor_; } const packetl2c_bc_dice_game_lottery_result& packetl2c_bc_dice_game_lottery_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_dice_game_lottery_result* packetl2c_bc_dice_game_lottery_result::default_instance_ = NULL; packetl2c_bc_dice_game_lottery_result* packetl2c_bc_dice_game_lottery_result::New() const { return new packetl2c_bc_dice_game_lottery_result; } void packetl2c_bc_dice_game_lottery_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16202; playerid_ = 0; totalgold_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_dice_game_lottery_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_totalGold; break; } // optional int32 totalGold = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_totalGold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &totalgold_))); set_has_totalgold(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_dice_game_lottery_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 totalGold = 3; if (has_totalgold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->totalgold(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_dice_game_lottery_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 totalGold = 3; if (has_totalgold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->totalgold(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_dice_game_lottery_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_dice_game_lottery_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 totalGold = 3; if (has_totalgold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->totalgold()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_dice_game_lottery_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_dice_game_lottery_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_dice_game_lottery_result::MergeFrom(const packetl2c_bc_dice_game_lottery_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_totalgold()) { set_totalgold(from.totalgold()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_dice_game_lottery_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_dice_game_lottery_result::CopyFrom(const packetl2c_bc_dice_game_lottery_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_dice_game_lottery_result::IsInitialized() const { return true; } void packetl2c_bc_dice_game_lottery_result::Swap(packetl2c_bc_dice_game_lottery_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(totalgold_, other->totalgold_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_dice_game_lottery_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_dice_game_lottery_result_descriptor_; metadata.reflection = packetl2c_bc_dice_game_lottery_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_trigger_egg_treasure::kPacketIdFieldNumber; const int packetl2c_bc_trigger_egg_treasure::kPlayerIdFieldNumber; const int packetl2c_bc_trigger_egg_treasure::kTurrerRateFieldNumber; #endif // !_MSC_VER packetl2c_bc_trigger_egg_treasure::packetl2c_bc_trigger_egg_treasure() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_trigger_egg_treasure::InitAsDefaultInstance() { } packetl2c_bc_trigger_egg_treasure::packetl2c_bc_trigger_egg_treasure(const packetl2c_bc_trigger_egg_treasure& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_trigger_egg_treasure::SharedCtor() { _cached_size_ = 0; packet_id_ = 16207; playerid_ = 0; turrerrate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_trigger_egg_treasure::~packetl2c_bc_trigger_egg_treasure() { SharedDtor(); } void packetl2c_bc_trigger_egg_treasure::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_trigger_egg_treasure::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_trigger_egg_treasure::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_trigger_egg_treasure_descriptor_; } const packetl2c_bc_trigger_egg_treasure& packetl2c_bc_trigger_egg_treasure::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_trigger_egg_treasure* packetl2c_bc_trigger_egg_treasure::default_instance_ = NULL; packetl2c_bc_trigger_egg_treasure* packetl2c_bc_trigger_egg_treasure::New() const { return new packetl2c_bc_trigger_egg_treasure; } void packetl2c_bc_trigger_egg_treasure::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16207; playerid_ = 0; turrerrate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_trigger_egg_treasure::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_turrerRate; break; } // optional int32 turrerRate = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turrerRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turrerrate_))); set_has_turrerrate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_trigger_egg_treasure::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 turrerRate = 3; if (has_turrerrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->turrerrate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_trigger_egg_treasure::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 turrerRate = 3; if (has_turrerrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->turrerrate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_trigger_egg_treasure::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_egg_treasure]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 turrerRate = 3; if (has_turrerrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turrerrate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_trigger_egg_treasure::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_trigger_egg_treasure* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_trigger_egg_treasure::MergeFrom(const packetl2c_bc_trigger_egg_treasure& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_turrerrate()) { set_turrerrate(from.turrerrate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_trigger_egg_treasure::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_trigger_egg_treasure::CopyFrom(const packetl2c_bc_trigger_egg_treasure& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_trigger_egg_treasure::IsInitialized() const { return true; } void packetl2c_bc_trigger_egg_treasure::Swap(packetl2c_bc_trigger_egg_treasure* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(turrerrate_, other->turrerrate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_trigger_egg_treasure::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_trigger_egg_treasure_descriptor_; metadata.reflection = packetl2c_bc_trigger_egg_treasure_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_egg_treasure_lottery::kPacketIdFieldNumber; const int packetc2l_egg_treasure_lottery::kIndexFieldNumber; #endif // !_MSC_VER packetc2l_egg_treasure_lottery::packetc2l_egg_treasure_lottery() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_egg_treasure_lottery::InitAsDefaultInstance() { } packetc2l_egg_treasure_lottery::packetc2l_egg_treasure_lottery(const packetc2l_egg_treasure_lottery& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_egg_treasure_lottery::SharedCtor() { _cached_size_ = 0; packet_id_ = 10210; index_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_egg_treasure_lottery::~packetc2l_egg_treasure_lottery() { SharedDtor(); } void packetc2l_egg_treasure_lottery::SharedDtor() { if (this != default_instance_) { } } void packetc2l_egg_treasure_lottery::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_egg_treasure_lottery::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_egg_treasure_lottery_descriptor_; } const packetc2l_egg_treasure_lottery& packetc2l_egg_treasure_lottery::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_egg_treasure_lottery* packetc2l_egg_treasure_lottery::default_instance_ = NULL; packetc2l_egg_treasure_lottery* packetc2l_egg_treasure_lottery::New() const { return new packetc2l_egg_treasure_lottery; } void packetc2l_egg_treasure_lottery::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10210; index_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_egg_treasure_lottery::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_index; break; } // optional int32 index = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_index: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &index_))); set_has_index(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_egg_treasure_lottery::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 index = 2; if (has_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_egg_treasure_lottery::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 index = 2; if (has_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_egg_treasure_lottery::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_egg_treasure_lottery]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 index = 2; if (has_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->index()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_egg_treasure_lottery::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_egg_treasure_lottery* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_egg_treasure_lottery::MergeFrom(const packetc2l_egg_treasure_lottery& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_index()) { set_index(from.index()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_egg_treasure_lottery::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_egg_treasure_lottery::CopyFrom(const packetc2l_egg_treasure_lottery& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_egg_treasure_lottery::IsInitialized() const { return true; } void packetc2l_egg_treasure_lottery::Swap(packetc2l_egg_treasure_lottery* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(index_, other->index_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_egg_treasure_lottery::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_egg_treasure_lottery_descriptor_; metadata.reflection = packetc2l_egg_treasure_lottery_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_egg_treasure_lottery_result::kPacketIdFieldNumber; const int packetl2c_egg_treasure_lottery_result::kPlayerIdFieldNumber; const int packetl2c_egg_treasure_lottery_result::kResultFieldNumber; const int packetl2c_egg_treasure_lottery_result::kIndexFieldNumber; const int packetl2c_egg_treasure_lottery_result::kGoldFieldNumber; const int packetl2c_egg_treasure_lottery_result::kCoinFieldNumber; #endif // !_MSC_VER packetl2c_egg_treasure_lottery_result::packetl2c_egg_treasure_lottery_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_egg_treasure_lottery_result::InitAsDefaultInstance() { } packetl2c_egg_treasure_lottery_result::packetl2c_egg_treasure_lottery_result(const packetl2c_egg_treasure_lottery_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_egg_treasure_lottery_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16208; playerid_ = 0; result_ = 0; index_ = 0; gold_ = 0; coin_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_egg_treasure_lottery_result::~packetl2c_egg_treasure_lottery_result() { SharedDtor(); } void packetl2c_egg_treasure_lottery_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_egg_treasure_lottery_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_egg_treasure_lottery_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_egg_treasure_lottery_result_descriptor_; } const packetl2c_egg_treasure_lottery_result& packetl2c_egg_treasure_lottery_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_egg_treasure_lottery_result* packetl2c_egg_treasure_lottery_result::default_instance_ = NULL; packetl2c_egg_treasure_lottery_result* packetl2c_egg_treasure_lottery_result::New() const { return new packetl2c_egg_treasure_lottery_result; } void packetl2c_egg_treasure_lottery_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16208; playerid_ = 0; result_ = 0; index_ = 0; gold_ = 0; coin_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_egg_treasure_lottery_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_result; break; } // optional int32 result = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_index; break; } // optional int32 index = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_index: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &index_))); set_has_index(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_gold; break; } // optional int32 gold = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_gold: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &gold_))); set_has_gold(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_coin; break; } // optional int32 coin = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_coin: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &coin_))); set_has_coin(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_egg_treasure_lottery_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 result = 3; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output); } // optional int32 index = 4; if (has_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output); } // optional int32 gold = 5; if (has_gold()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->gold(), output); } // optional int32 coin = 6; if (has_coin()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->coin(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_egg_treasure_lottery_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 result = 3; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target); } // optional int32 index = 4; if (has_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target); } // optional int32 gold = 5; if (has_gold()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->gold(), target); } // optional int32 coin = 6; if (has_coin()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->coin(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_egg_treasure_lottery_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_egg_treasure_lottery_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 result = 3; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 index = 4; if (has_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->index()); } // optional int32 gold = 5; if (has_gold()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->gold()); } // optional int32 coin = 6; if (has_coin()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->coin()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_egg_treasure_lottery_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_egg_treasure_lottery_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_egg_treasure_lottery_result::MergeFrom(const packetl2c_egg_treasure_lottery_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_result()) { set_result(from.result()); } if (from.has_index()) { set_index(from.index()); } if (from.has_gold()) { set_gold(from.gold()); } if (from.has_coin()) { set_coin(from.coin()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_egg_treasure_lottery_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_egg_treasure_lottery_result::CopyFrom(const packetl2c_egg_treasure_lottery_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_egg_treasure_lottery_result::IsInitialized() const { return true; } void packetl2c_egg_treasure_lottery_result::Swap(packetl2c_egg_treasure_lottery_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(result_, other->result_); std::swap(index_, other->index_); std::swap(gold_, other->gold_); std::swap(coin_, other->coin_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_egg_treasure_lottery_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_egg_treasure_lottery_result_descriptor_; metadata.reflection = packetl2c_egg_treasure_lottery_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_change_room_rate::kPacketIdFieldNumber; const int packetc2l_change_room_rate::kRateFieldNumber; #endif // !_MSC_VER packetc2l_change_room_rate::packetc2l_change_room_rate() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_change_room_rate::InitAsDefaultInstance() { } packetc2l_change_room_rate::packetc2l_change_room_rate(const packetc2l_change_room_rate& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_change_room_rate::SharedCtor() { _cached_size_ = 0; packet_id_ = 10205; rate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_change_room_rate::~packetc2l_change_room_rate() { SharedDtor(); } void packetc2l_change_room_rate::SharedDtor() { if (this != default_instance_) { } } void packetc2l_change_room_rate::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_change_room_rate::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_change_room_rate_descriptor_; } const packetc2l_change_room_rate& packetc2l_change_room_rate::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_change_room_rate* packetc2l_change_room_rate::default_instance_ = NULL; packetc2l_change_room_rate* packetc2l_change_room_rate::New() const { return new packetc2l_change_room_rate; } void packetc2l_change_room_rate::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10205; rate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_change_room_rate::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_rate; break; } // optional int32 rate = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rate_))); set_has_rate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_change_room_rate::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 rate = 2; if (has_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_change_room_rate::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 rate = 2; if (has_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_change_room_rate::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_room_rate]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 rate = 2; if (has_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_change_room_rate::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_change_room_rate* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_change_room_rate::MergeFrom(const packetc2l_change_room_rate& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_rate()) { set_rate(from.rate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_change_room_rate::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_change_room_rate::CopyFrom(const packetc2l_change_room_rate& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_change_room_rate::IsInitialized() const { return true; } void packetc2l_change_room_rate::Swap(packetc2l_change_room_rate* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(rate_, other->rate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_change_room_rate::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_change_room_rate_descriptor_; metadata.reflection = packetc2l_change_room_rate_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_change_room_rate_result::kPacketIdFieldNumber; const int packetl2c_change_room_rate_result::kResultFieldNumber; const int packetl2c_change_room_rate_result::kRateFieldNumber; #endif // !_MSC_VER packetl2c_change_room_rate_result::packetl2c_change_room_rate_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_change_room_rate_result::InitAsDefaultInstance() { } packetl2c_change_room_rate_result::packetl2c_change_room_rate_result(const packetl2c_change_room_rate_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_change_room_rate_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16190; result_ = 0; rate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_change_room_rate_result::~packetl2c_change_room_rate_result() { SharedDtor(); } void packetl2c_change_room_rate_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_change_room_rate_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_change_room_rate_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_change_room_rate_result_descriptor_; } const packetl2c_change_room_rate_result& packetl2c_change_room_rate_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_change_room_rate_result* packetl2c_change_room_rate_result::default_instance_ = NULL; packetl2c_change_room_rate_result* packetl2c_change_room_rate_result::New() const { return new packetl2c_change_room_rate_result; } void packetl2c_change_room_rate_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16190; result_ = 0; rate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_change_room_rate_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rate; break; } // optional int32 rate = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rate_))); set_has_rate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_change_room_rate_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 rate = 3; if (has_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_change_room_rate_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 rate = 3; if (has_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_change_room_rate_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_room_rate_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 rate = 3; if (has_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_change_room_rate_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_change_room_rate_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_change_room_rate_result::MergeFrom(const packetl2c_change_room_rate_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_rate()) { set_rate(from.rate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_change_room_rate_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_change_room_rate_result::CopyFrom(const packetl2c_change_room_rate_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_change_room_rate_result::IsInitialized() const { return true; } void packetl2c_change_room_rate_result::Swap(packetl2c_change_room_rate_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(rate_, other->rate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_change_room_rate_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_change_room_rate_result_descriptor_; metadata.reflection = packetl2c_change_room_rate_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_change_bullet_power::kPacketIdFieldNumber; const int packetc2l_change_bullet_power::kRateFieldNumber; #endif // !_MSC_VER packetc2l_change_bullet_power::packetc2l_change_bullet_power() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_change_bullet_power::InitAsDefaultInstance() { } packetc2l_change_bullet_power::packetc2l_change_bullet_power(const packetc2l_change_bullet_power& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_change_bullet_power::SharedCtor() { _cached_size_ = 0; packet_id_ = 10229; rate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_change_bullet_power::~packetc2l_change_bullet_power() { SharedDtor(); } void packetc2l_change_bullet_power::SharedDtor() { if (this != default_instance_) { } } void packetc2l_change_bullet_power::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_change_bullet_power::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_change_bullet_power_descriptor_; } const packetc2l_change_bullet_power& packetc2l_change_bullet_power::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_change_bullet_power* packetc2l_change_bullet_power::default_instance_ = NULL; packetc2l_change_bullet_power* packetc2l_change_bullet_power::New() const { return new packetc2l_change_bullet_power; } void packetc2l_change_bullet_power::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10229; rate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_change_bullet_power::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_rate; break; } // optional int32 rate = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rate_))); set_has_rate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_change_bullet_power::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 rate = 2; if (has_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->rate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_change_bullet_power::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 rate = 2; if (has_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->rate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_change_bullet_power::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_change_bullet_power]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 rate = 2; if (has_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_change_bullet_power::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_change_bullet_power* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_change_bullet_power::MergeFrom(const packetc2l_change_bullet_power& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_rate()) { set_rate(from.rate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_change_bullet_power::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_change_bullet_power::CopyFrom(const packetc2l_change_bullet_power& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_change_bullet_power::IsInitialized() const { return true; } void packetc2l_change_bullet_power::Swap(packetc2l_change_bullet_power* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(rate_, other->rate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_change_bullet_power::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_change_bullet_power_descriptor_; metadata.reflection = packetc2l_change_bullet_power_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_change_bullet_power_result::kPacketIdFieldNumber; const int packetl2c_change_bullet_power_result::kResultFieldNumber; const int packetl2c_change_bullet_power_result::kRateFieldNumber; #endif // !_MSC_VER packetl2c_change_bullet_power_result::packetl2c_change_bullet_power_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_change_bullet_power_result::InitAsDefaultInstance() { } packetl2c_change_bullet_power_result::packetl2c_change_bullet_power_result(const packetl2c_change_bullet_power_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_change_bullet_power_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16235; result_ = 0; rate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_change_bullet_power_result::~packetl2c_change_bullet_power_result() { SharedDtor(); } void packetl2c_change_bullet_power_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_change_bullet_power_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_change_bullet_power_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_change_bullet_power_result_descriptor_; } const packetl2c_change_bullet_power_result& packetl2c_change_bullet_power_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_change_bullet_power_result* packetl2c_change_bullet_power_result::default_instance_ = NULL; packetl2c_change_bullet_power_result* packetl2c_change_bullet_power_result::New() const { return new packetl2c_change_bullet_power_result; } void packetl2c_change_bullet_power_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16235; result_ = 0; rate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_change_bullet_power_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_rate; break; } // optional int32 rate = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_rate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &rate_))); set_has_rate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_change_bullet_power_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } // optional int32 rate = 3; if (has_rate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->rate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_change_bullet_power_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } // optional int32 rate = 3; if (has_rate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->rate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_change_bullet_power_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_change_bullet_power_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 rate = 3; if (has_rate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->rate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_change_bullet_power_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_change_bullet_power_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_change_bullet_power_result::MergeFrom(const packetl2c_change_bullet_power_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } if (from.has_rate()) { set_rate(from.rate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_change_bullet_power_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_change_bullet_power_result::CopyFrom(const packetl2c_change_bullet_power_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_change_bullet_power_result::IsInitialized() const { return true; } void packetl2c_change_bullet_power_result::Swap(packetl2c_change_bullet_power_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(rate_, other->rate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_change_bullet_power_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_change_bullet_power_result_descriptor_; metadata.reflection = packetl2c_change_bullet_power_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_trigger_treasure_bowl::kPacketIdFieldNumber; const int packetl2c_bc_trigger_treasure_bowl::kPlayerIdFieldNumber; const int packetl2c_bc_trigger_treasure_bowl::kFishIdFieldNumber; const int packetl2c_bc_trigger_treasure_bowl::kTurrerRateFieldNumber; #endif // !_MSC_VER packetl2c_bc_trigger_treasure_bowl::packetl2c_bc_trigger_treasure_bowl() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_trigger_treasure_bowl::InitAsDefaultInstance() { } packetl2c_bc_trigger_treasure_bowl::packetl2c_bc_trigger_treasure_bowl(const packetl2c_bc_trigger_treasure_bowl& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_trigger_treasure_bowl::SharedCtor() { _cached_size_ = 0; packet_id_ = 16204; playerid_ = 0; fishid_ = 0; turrerrate_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_trigger_treasure_bowl::~packetl2c_bc_trigger_treasure_bowl() { SharedDtor(); } void packetl2c_bc_trigger_treasure_bowl::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_trigger_treasure_bowl::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_trigger_treasure_bowl::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_trigger_treasure_bowl_descriptor_; } const packetl2c_bc_trigger_treasure_bowl& packetl2c_bc_trigger_treasure_bowl::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_trigger_treasure_bowl* packetl2c_bc_trigger_treasure_bowl::default_instance_ = NULL; packetl2c_bc_trigger_treasure_bowl* packetl2c_bc_trigger_treasure_bowl::New() const { return new packetl2c_bc_trigger_treasure_bowl; } void packetl2c_bc_trigger_treasure_bowl::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16204; playerid_ = 0; fishid_ = 0; turrerrate_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_trigger_treasure_bowl::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_fishId; break; } // optional int32 fishId = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_fishId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &fishid_))); set_has_fishid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_turrerRate; break; } // optional int32 turrerRate = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_turrerRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &turrerrate_))); set_has_turrerrate(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_trigger_treasure_bowl::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 fishId = 3; if (has_fishid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->fishid(), output); } // optional int32 turrerRate = 4; if (has_turrerrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->turrerrate(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_trigger_treasure_bowl::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 fishId = 3; if (has_fishid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->fishid(), target); } // optional int32 turrerRate = 4; if (has_turrerrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->turrerrate(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_trigger_treasure_bowl::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_treasure_bowl]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 fishId = 3; if (has_fishid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->fishid()); } // optional int32 turrerRate = 4; if (has_turrerrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->turrerrate()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_trigger_treasure_bowl::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_trigger_treasure_bowl* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_trigger_treasure_bowl::MergeFrom(const packetl2c_bc_trigger_treasure_bowl& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_fishid()) { set_fishid(from.fishid()); } if (from.has_turrerrate()) { set_turrerrate(from.turrerrate()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_trigger_treasure_bowl::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_trigger_treasure_bowl::CopyFrom(const packetl2c_bc_trigger_treasure_bowl& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_trigger_treasure_bowl::IsInitialized() const { return true; } void packetl2c_bc_trigger_treasure_bowl::Swap(packetl2c_bc_trigger_treasure_bowl* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(fishid_, other->fishid_); std::swap(turrerrate_, other->turrerrate_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_trigger_treasure_bowl::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_trigger_treasure_bowl_descriptor_; metadata.reflection = packetl2c_bc_trigger_treasure_bowl_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_treasure_bowl_lottery::kPacketIdFieldNumber; const int packetc2l_treasure_bowl_lottery::kIndexFieldNumber; #endif // !_MSC_VER packetc2l_treasure_bowl_lottery::packetc2l_treasure_bowl_lottery() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_treasure_bowl_lottery::InitAsDefaultInstance() { } packetc2l_treasure_bowl_lottery::packetc2l_treasure_bowl_lottery(const packetc2l_treasure_bowl_lottery& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_treasure_bowl_lottery::SharedCtor() { _cached_size_ = 0; packet_id_ = 10197; index_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_treasure_bowl_lottery::~packetc2l_treasure_bowl_lottery() { SharedDtor(); } void packetc2l_treasure_bowl_lottery::SharedDtor() { if (this != default_instance_) { } } void packetc2l_treasure_bowl_lottery::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_treasure_bowl_lottery::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_treasure_bowl_lottery_descriptor_; } const packetc2l_treasure_bowl_lottery& packetc2l_treasure_bowl_lottery::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_treasure_bowl_lottery* packetc2l_treasure_bowl_lottery::default_instance_ = NULL; packetc2l_treasure_bowl_lottery* packetc2l_treasure_bowl_lottery::New() const { return new packetc2l_treasure_bowl_lottery; } void packetc2l_treasure_bowl_lottery::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10197; index_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_treasure_bowl_lottery::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_index; break; } // optional int32 index = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_index: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &index_))); set_has_index(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_treasure_bowl_lottery::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 index = 2; if (has_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->index(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_treasure_bowl_lottery::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 index = 2; if (has_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->index(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_treasure_bowl_lottery::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_treasure_bowl_lottery]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 index = 2; if (has_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->index()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_treasure_bowl_lottery::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_treasure_bowl_lottery* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_treasure_bowl_lottery::MergeFrom(const packetc2l_treasure_bowl_lottery& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_index()) { set_index(from.index()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_treasure_bowl_lottery::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_treasure_bowl_lottery::CopyFrom(const packetc2l_treasure_bowl_lottery& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_treasure_bowl_lottery::IsInitialized() const { return true; } void packetc2l_treasure_bowl_lottery::Swap(packetc2l_treasure_bowl_lottery* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(index_, other->index_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_treasure_bowl_lottery::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_treasure_bowl_lottery_descriptor_; metadata.reflection = packetc2l_treasure_bowl_lottery_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_treasure_bowl_lottery_result::kPacketIdFieldNumber; const int packetl2c_treasure_bowl_lottery_result::kPlayerIdFieldNumber; const int packetl2c_treasure_bowl_lottery_result::kResultFieldNumber; const int packetl2c_treasure_bowl_lottery_result::kIndexFieldNumber; const int packetl2c_treasure_bowl_lottery_result::kItemsFieldNumber; #endif // !_MSC_VER packetl2c_treasure_bowl_lottery_result::packetl2c_treasure_bowl_lottery_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_treasure_bowl_lottery_result::InitAsDefaultInstance() { } packetl2c_treasure_bowl_lottery_result::packetl2c_treasure_bowl_lottery_result(const packetl2c_treasure_bowl_lottery_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_treasure_bowl_lottery_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16209; playerid_ = 0; result_ = 0; index_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_treasure_bowl_lottery_result::~packetl2c_treasure_bowl_lottery_result() { SharedDtor(); } void packetl2c_treasure_bowl_lottery_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_treasure_bowl_lottery_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_treasure_bowl_lottery_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_treasure_bowl_lottery_result_descriptor_; } const packetl2c_treasure_bowl_lottery_result& packetl2c_treasure_bowl_lottery_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_treasure_bowl_lottery_result* packetl2c_treasure_bowl_lottery_result::default_instance_ = NULL; packetl2c_treasure_bowl_lottery_result* packetl2c_treasure_bowl_lottery_result::New() const { return new packetl2c_treasure_bowl_lottery_result; } void packetl2c_treasure_bowl_lottery_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16209; playerid_ = 0; result_ = 0; index_ = 0; } items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_treasure_bowl_lottery_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_result; break; } // optional int32 result = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_index; break; } // optional int32 index = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_index: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &index_))); set_has_index(); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_items; break; } // repeated .fish_protocols.msg_item items = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(50)) goto parse_items; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_treasure_bowl_lottery_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 result = 3; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output); } // optional int32 index = 4; if (has_index()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->index(), output); } // repeated .fish_protocols.msg_item items = 6; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 6, this->items(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_treasure_bowl_lottery_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 result = 3; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target); } // optional int32 index = 4; if (has_index()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->index(), target); } // repeated .fish_protocols.msg_item items = 6; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 6, this->items(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_treasure_bowl_lottery_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_treasure_bowl_lottery_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 result = 3; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 index = 4; if (has_index()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->index()); } } // repeated .fish_protocols.msg_item items = 6; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_treasure_bowl_lottery_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_treasure_bowl_lottery_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_treasure_bowl_lottery_result::MergeFrom(const packetl2c_treasure_bowl_lottery_result& from) { GOOGLE_CHECK_NE(&from, this); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_result()) { set_result(from.result()); } if (from.has_index()) { set_index(from.index()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_treasure_bowl_lottery_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_treasure_bowl_lottery_result::CopyFrom(const packetl2c_treasure_bowl_lottery_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_treasure_bowl_lottery_result::IsInitialized() const { return true; } void packetl2c_treasure_bowl_lottery_result::Swap(packetl2c_treasure_bowl_lottery_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(result_, other->result_); std::swap(index_, other->index_); items_.Swap(&other->items_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_treasure_bowl_lottery_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_treasure_bowl_lottery_result_descriptor_; metadata.reflection = packetl2c_treasure_bowl_lottery_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_bc_trigger_flood_dragon_fly::kPacketIdFieldNumber; const int packetl2c_bc_trigger_flood_dragon_fly::kPlayerIdFieldNumber; #endif // !_MSC_VER packetl2c_bc_trigger_flood_dragon_fly::packetl2c_bc_trigger_flood_dragon_fly() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_bc_trigger_flood_dragon_fly::InitAsDefaultInstance() { } packetl2c_bc_trigger_flood_dragon_fly::packetl2c_bc_trigger_flood_dragon_fly(const packetl2c_bc_trigger_flood_dragon_fly& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_bc_trigger_flood_dragon_fly::SharedCtor() { _cached_size_ = 0; packet_id_ = 16210; playerid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_bc_trigger_flood_dragon_fly::~packetl2c_bc_trigger_flood_dragon_fly() { SharedDtor(); } void packetl2c_bc_trigger_flood_dragon_fly::SharedDtor() { if (this != default_instance_) { } } void packetl2c_bc_trigger_flood_dragon_fly::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_bc_trigger_flood_dragon_fly::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_bc_trigger_flood_dragon_fly_descriptor_; } const packetl2c_bc_trigger_flood_dragon_fly& packetl2c_bc_trigger_flood_dragon_fly::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_bc_trigger_flood_dragon_fly* packetl2c_bc_trigger_flood_dragon_fly::default_instance_ = NULL; packetl2c_bc_trigger_flood_dragon_fly* packetl2c_bc_trigger_flood_dragon_fly::New() const { return new packetl2c_bc_trigger_flood_dragon_fly; } void packetl2c_bc_trigger_flood_dragon_fly::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16210; playerid_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_bc_trigger_flood_dragon_fly::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_bc_trigger_flood_dragon_fly::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_bc_trigger_flood_dragon_fly::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_bc_trigger_flood_dragon_fly::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_bc_trigger_flood_dragon_fly]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_bc_trigger_flood_dragon_fly::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_bc_trigger_flood_dragon_fly* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_bc_trigger_flood_dragon_fly::MergeFrom(const packetl2c_bc_trigger_flood_dragon_fly& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_bc_trigger_flood_dragon_fly::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_bc_trigger_flood_dragon_fly::CopyFrom(const packetl2c_bc_trigger_flood_dragon_fly& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_bc_trigger_flood_dragon_fly::IsInitialized() const { return true; } void packetl2c_bc_trigger_flood_dragon_fly::Swap(packetl2c_bc_trigger_flood_dragon_fly* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_bc_trigger_flood_dragon_fly::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_bc_trigger_flood_dragon_fly_descriptor_; metadata.reflection = packetl2c_bc_trigger_flood_dragon_fly_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_flood_dragon_fly_lottery::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_flood_dragon_fly_lottery::packetc2l_flood_dragon_fly_lottery() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_flood_dragon_fly_lottery::InitAsDefaultInstance() { } packetc2l_flood_dragon_fly_lottery::packetc2l_flood_dragon_fly_lottery(const packetc2l_flood_dragon_fly_lottery& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_flood_dragon_fly_lottery::SharedCtor() { _cached_size_ = 0; packet_id_ = 10211; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_flood_dragon_fly_lottery::~packetc2l_flood_dragon_fly_lottery() { SharedDtor(); } void packetc2l_flood_dragon_fly_lottery::SharedDtor() { if (this != default_instance_) { } } void packetc2l_flood_dragon_fly_lottery::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_flood_dragon_fly_lottery::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_flood_dragon_fly_lottery_descriptor_; } const packetc2l_flood_dragon_fly_lottery& packetc2l_flood_dragon_fly_lottery::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_flood_dragon_fly_lottery* packetc2l_flood_dragon_fly_lottery::default_instance_ = NULL; packetc2l_flood_dragon_fly_lottery* packetc2l_flood_dragon_fly_lottery::New() const { return new packetc2l_flood_dragon_fly_lottery; } void packetc2l_flood_dragon_fly_lottery::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10211; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_flood_dragon_fly_lottery::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_flood_dragon_fly_lottery::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_flood_dragon_fly_lottery::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_flood_dragon_fly_lottery::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_flood_dragon_fly_lottery]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_flood_dragon_fly_lottery::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_flood_dragon_fly_lottery* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_flood_dragon_fly_lottery::MergeFrom(const packetc2l_flood_dragon_fly_lottery& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_flood_dragon_fly_lottery::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_flood_dragon_fly_lottery::CopyFrom(const packetc2l_flood_dragon_fly_lottery& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_flood_dragon_fly_lottery::IsInitialized() const { return true; } void packetc2l_flood_dragon_fly_lottery::Swap(packetc2l_flood_dragon_fly_lottery* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_flood_dragon_fly_lottery::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_flood_dragon_fly_lottery_descriptor_; metadata.reflection = packetc2l_flood_dragon_fly_lottery_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_flood_dragon_fly_lottery_result::kPacketIdFieldNumber; const int packetl2c_flood_dragon_fly_lottery_result::kPlayerIdFieldNumber; const int packetl2c_flood_dragon_fly_lottery_result::kResultFieldNumber; const int packetl2c_flood_dragon_fly_lottery_result::kScoreFieldNumber; const int packetl2c_flood_dragon_fly_lottery_result::kBulletRateFieldNumber; const int packetl2c_flood_dragon_fly_lottery_result::kPointsFieldNumber; const int packetl2c_flood_dragon_fly_lottery_result::kAddpointsFieldNumber; #endif // !_MSC_VER packetl2c_flood_dragon_fly_lottery_result::packetl2c_flood_dragon_fly_lottery_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_flood_dragon_fly_lottery_result::InitAsDefaultInstance() { } packetl2c_flood_dragon_fly_lottery_result::packetl2c_flood_dragon_fly_lottery_result(const packetl2c_flood_dragon_fly_lottery_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_flood_dragon_fly_lottery_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16211; playerid_ = 0; result_ = 0; score_ = 0; bulletrate_ = 0; points_ = 0; addpoints_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_flood_dragon_fly_lottery_result::~packetl2c_flood_dragon_fly_lottery_result() { SharedDtor(); } void packetl2c_flood_dragon_fly_lottery_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_flood_dragon_fly_lottery_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_flood_dragon_fly_lottery_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_flood_dragon_fly_lottery_result_descriptor_; } const packetl2c_flood_dragon_fly_lottery_result& packetl2c_flood_dragon_fly_lottery_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_flood_dragon_fly_lottery_result* packetl2c_flood_dragon_fly_lottery_result::default_instance_ = NULL; packetl2c_flood_dragon_fly_lottery_result* packetl2c_flood_dragon_fly_lottery_result::New() const { return new packetl2c_flood_dragon_fly_lottery_result; } void packetl2c_flood_dragon_fly_lottery_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16211; playerid_ = 0; result_ = 0; score_ = 0; bulletrate_ = 0; points_ = 0; addpoints_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_flood_dragon_fly_lottery_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(24)) goto parse_result; break; } // optional int32 result = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectTag(32)) goto parse_score; break; } // optional int32 score = 4; case 4: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_score: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &score_))); set_has_score(); } else { goto handle_uninterpreted; } if (input->ExpectTag(40)) goto parse_bulletRate; break; } // optional int32 bulletRate = 5; case 5: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_bulletRate: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &bulletrate_))); set_has_bulletrate(); } else { goto handle_uninterpreted; } if (input->ExpectTag(48)) goto parse_points; break; } // optional int32 points = 6; case 6: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_points: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &points_))); set_has_points(); } else { goto handle_uninterpreted; } if (input->ExpectTag(56)) goto parse_addpoints; break; } // optional int32 addpoints = 7; case 7: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_addpoints: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &addpoints_))); set_has_addpoints(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_flood_dragon_fly_lottery_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // optional int32 result = 3; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->result(), output); } // optional int32 score = 4; if (has_score()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(4, this->score(), output); } // optional int32 bulletRate = 5; if (has_bulletrate()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(5, this->bulletrate(), output); } // optional int32 points = 6; if (has_points()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(6, this->points(), output); } // optional int32 addpoints = 7; if (has_addpoints()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(7, this->addpoints(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_flood_dragon_fly_lottery_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // optional int32 result = 3; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->result(), target); } // optional int32 score = 4; if (has_score()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(4, this->score(), target); } // optional int32 bulletRate = 5; if (has_bulletrate()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(5, this->bulletrate(), target); } // optional int32 points = 6; if (has_points()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(6, this->points(), target); } // optional int32 addpoints = 7; if (has_addpoints()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(7, this->addpoints(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_flood_dragon_fly_lottery_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_flood_dragon_fly_lottery_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } // optional int32 result = 3; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } // optional int32 score = 4; if (has_score()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->score()); } // optional int32 bulletRate = 5; if (has_bulletrate()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->bulletrate()); } // optional int32 points = 6; if (has_points()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->points()); } // optional int32 addpoints = 7; if (has_addpoints()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->addpoints()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_flood_dragon_fly_lottery_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_flood_dragon_fly_lottery_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_flood_dragon_fly_lottery_result::MergeFrom(const packetl2c_flood_dragon_fly_lottery_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } if (from.has_result()) { set_result(from.result()); } if (from.has_score()) { set_score(from.score()); } if (from.has_bulletrate()) { set_bulletrate(from.bulletrate()); } if (from.has_points()) { set_points(from.points()); } if (from.has_addpoints()) { set_addpoints(from.addpoints()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_flood_dragon_fly_lottery_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_flood_dragon_fly_lottery_result::CopyFrom(const packetl2c_flood_dragon_fly_lottery_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_flood_dragon_fly_lottery_result::IsInitialized() const { return true; } void packetl2c_flood_dragon_fly_lottery_result::Swap(packetl2c_flood_dragon_fly_lottery_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); std::swap(result_, other->result_); std::swap(score_, other->score_); std::swap(bulletrate_, other->bulletrate_); std::swap(points_, other->points_); std::swap(addpoints_, other->addpoints_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_flood_dragon_fly_lottery_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_flood_dragon_fly_lottery_result_descriptor_; metadata.reflection = packetl2c_flood_dragon_fly_lottery_result_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_send_item::kPacketIdFieldNumber; const int packetl2c_send_item::kPlayerIdFieldNumber; const int packetl2c_send_item::kItemsFieldNumber; #endif // !_MSC_VER packetl2c_send_item::packetl2c_send_item() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_send_item::InitAsDefaultInstance() { } packetl2c_send_item::packetl2c_send_item(const packetl2c_send_item& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_send_item::SharedCtor() { _cached_size_ = 0; packet_id_ = 16219; playerid_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_send_item::~packetl2c_send_item() { SharedDtor(); } void packetl2c_send_item::SharedDtor() { if (this != default_instance_) { } } void packetl2c_send_item::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_send_item::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_send_item_descriptor_; } const packetl2c_send_item& packetl2c_send_item::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_send_item* packetl2c_send_item::default_instance_ = NULL; packetl2c_send_item* packetl2c_send_item::New() const { return new packetl2c_send_item; } void packetl2c_send_item::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16219; playerid_ = 0; } items_.Clear(); ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_send_item::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_playerId; break; } // optional int32 playerId = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_playerId: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &playerid_))); set_has_playerid(); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_items; break; } // repeated .fish_protocols.msg_item items = 3; case 3: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) { parse_items: DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual( input, add_items())); } else { goto handle_uninterpreted; } if (input->ExpectTag(26)) goto parse_items; if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_send_item::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 playerId = 2; if (has_playerid()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->playerid(), output); } // repeated .fish_protocols.msg_item items = 3; for (int i = 0; i < this->items_size(); i++) { ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray( 3, this->items(i), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_send_item::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 playerId = 2; if (has_playerid()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->playerid(), target); } // repeated .fish_protocols.msg_item items = 3; for (int i = 0; i < this->items_size(); i++) { target = ::google::protobuf::internal::WireFormatLite:: WriteMessageNoVirtualToArray( 3, this->items(i), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_send_item::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_send_item]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 playerId = 2; if (has_playerid()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->playerid()); } } // repeated .fish_protocols.msg_item items = 3; total_size += 1 * this->items_size(); for (int i = 0; i < this->items_size(); i++) { total_size += ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual( this->items(i)); } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_send_item::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_send_item* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_send_item::MergeFrom(const packetl2c_send_item& from) { GOOGLE_CHECK_NE(&from, this); items_.MergeFrom(from.items_); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_playerid()) { set_playerid(from.playerid()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_send_item::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_send_item::CopyFrom(const packetl2c_send_item& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_send_item::IsInitialized() const { return true; } void packetl2c_send_item::Swap(packetl2c_send_item* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(playerid_, other->playerid_); items_.Swap(&other->items_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_send_item::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_send_item_descriptor_; metadata.reflection = packetl2c_send_item_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetc2l_receive_tommorrow_reward::kPacketIdFieldNumber; #endif // !_MSC_VER packetc2l_receive_tommorrow_reward::packetc2l_receive_tommorrow_reward() : ::google::protobuf::Message() { SharedCtor(); } void packetc2l_receive_tommorrow_reward::InitAsDefaultInstance() { } packetc2l_receive_tommorrow_reward::packetc2l_receive_tommorrow_reward(const packetc2l_receive_tommorrow_reward& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetc2l_receive_tommorrow_reward::SharedCtor() { _cached_size_ = 0; packet_id_ = 10215; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetc2l_receive_tommorrow_reward::~packetc2l_receive_tommorrow_reward() { SharedDtor(); } void packetc2l_receive_tommorrow_reward::SharedDtor() { if (this != default_instance_) { } } void packetc2l_receive_tommorrow_reward::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetc2l_receive_tommorrow_reward::descriptor() { protobuf_AssignDescriptorsOnce(); return packetc2l_receive_tommorrow_reward_descriptor_; } const packetc2l_receive_tommorrow_reward& packetc2l_receive_tommorrow_reward::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetc2l_receive_tommorrow_reward* packetc2l_receive_tommorrow_reward::default_instance_ = NULL; packetc2l_receive_tommorrow_reward* packetc2l_receive_tommorrow_reward::New() const { return new packetc2l_receive_tommorrow_reward; } void packetc2l_receive_tommorrow_reward::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 10215; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetc2l_receive_tommorrow_reward::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetc2l_receive_tommorrow_reward::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetc2l_receive_tommorrow_reward::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetc2l_receive_tommorrow_reward::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_c2l_receive_tommorrow_reward]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetc2l_receive_tommorrow_reward::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetc2l_receive_tommorrow_reward* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetc2l_receive_tommorrow_reward::MergeFrom(const packetc2l_receive_tommorrow_reward& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetc2l_receive_tommorrow_reward::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetc2l_receive_tommorrow_reward::CopyFrom(const packetc2l_receive_tommorrow_reward& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetc2l_receive_tommorrow_reward::IsInitialized() const { return true; } void packetc2l_receive_tommorrow_reward::Swap(packetc2l_receive_tommorrow_reward* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetc2l_receive_tommorrow_reward::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetc2l_receive_tommorrow_reward_descriptor_; metadata.reflection = packetc2l_receive_tommorrow_reward_reflection_; return metadata; } // =================================================================== #ifndef _MSC_VER const int packetl2c_receive_tommorrow_reward_result::kPacketIdFieldNumber; const int packetl2c_receive_tommorrow_reward_result::kResultFieldNumber; #endif // !_MSC_VER packetl2c_receive_tommorrow_reward_result::packetl2c_receive_tommorrow_reward_result() : ::google::protobuf::Message() { SharedCtor(); } void packetl2c_receive_tommorrow_reward_result::InitAsDefaultInstance() { } packetl2c_receive_tommorrow_reward_result::packetl2c_receive_tommorrow_reward_result(const packetl2c_receive_tommorrow_reward_result& from) : ::google::protobuf::Message() { SharedCtor(); MergeFrom(from); } void packetl2c_receive_tommorrow_reward_result::SharedCtor() { _cached_size_ = 0; packet_id_ = 16220; result_ = 0; ::memset(_has_bits_, 0, sizeof(_has_bits_)); } packetl2c_receive_tommorrow_reward_result::~packetl2c_receive_tommorrow_reward_result() { SharedDtor(); } void packetl2c_receive_tommorrow_reward_result::SharedDtor() { if (this != default_instance_) { } } void packetl2c_receive_tommorrow_reward_result::SetCachedSize(int size) const { GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); } const ::google::protobuf::Descriptor* packetl2c_receive_tommorrow_reward_result::descriptor() { protobuf_AssignDescriptorsOnce(); return packetl2c_receive_tommorrow_reward_result_descriptor_; } const packetl2c_receive_tommorrow_reward_result& packetl2c_receive_tommorrow_reward_result::default_instance() { if (default_instance_ == NULL) protobuf_AddDesc_fish_5flogic_2eproto(); return *default_instance_; } packetl2c_receive_tommorrow_reward_result* packetl2c_receive_tommorrow_reward_result::default_instance_ = NULL; packetl2c_receive_tommorrow_reward_result* packetl2c_receive_tommorrow_reward_result::New() const { return new packetl2c_receive_tommorrow_reward_result; } void packetl2c_receive_tommorrow_reward_result::Clear() { if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { packet_id_ = 16220; result_ = 0; } ::memset(_has_bits_, 0, sizeof(_has_bits_)); mutable_unknown_fields()->Clear(); } bool packetl2c_receive_tommorrow_reward_result::MergePartialFromCodedStream( ::google::protobuf::io::CodedInputStream* input) { #define DO_(EXPRESSION) if (!(EXPRESSION)) return false ::google::protobuf::uint32 tag; while ((tag = input->ReadTag()) != 0) { switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result]; case 1: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { int value; DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>( input, &value))); if (::fish_protocols::e_server_msg_type_IsValid(value)) { set_packet_id(static_cast< ::fish_protocols::e_server_msg_type >(value)); } else { mutable_unknown_fields()->AddVarint(1, value); } } else { goto handle_uninterpreted; } if (input->ExpectTag(16)) goto parse_result; break; } // optional int32 result = 2; case 2: { if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_VARINT) { parse_result: DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive< ::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>( input, &result_))); set_has_result(); } else { goto handle_uninterpreted; } if (input->ExpectAtEnd()) return true; break; } default: { handle_uninterpreted: if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) == ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) { return true; } DO_(::google::protobuf::internal::WireFormat::SkipField( input, tag, mutable_unknown_fields())); break; } } } return true; #undef DO_ } void packetl2c_receive_tommorrow_reward_result::SerializeWithCachedSizes( ::google::protobuf::io::CodedOutputStream* output) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result]; if (has_packet_id()) { ::google::protobuf::internal::WireFormatLite::WriteEnum( 1, this->packet_id(), output); } // optional int32 result = 2; if (has_result()) { ::google::protobuf::internal::WireFormatLite::WriteInt32(2, this->result(), output); } if (!unknown_fields().empty()) { ::google::protobuf::internal::WireFormat::SerializeUnknownFields( unknown_fields(), output); } } ::google::protobuf::uint8* packetl2c_receive_tommorrow_reward_result::SerializeWithCachedSizesToArray( ::google::protobuf::uint8* target) const { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result]; if (has_packet_id()) { target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray( 1, this->packet_id(), target); } // optional int32 result = 2; if (has_result()) { target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(2, this->result(), target); } if (!unknown_fields().empty()) { target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray( unknown_fields(), target); } return target; } int packetl2c_receive_tommorrow_reward_result::ByteSize() const { int total_size = 0; if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) { // optional .fish_protocols.e_server_msg_type packet_id = 1 [default = e_mst_l2c_receive_tommorrow_reward_result]; if (has_packet_id()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::EnumSize(this->packet_id()); } // optional int32 result = 2; if (has_result()) { total_size += 1 + ::google::protobuf::internal::WireFormatLite::Int32Size( this->result()); } } if (!unknown_fields().empty()) { total_size += ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize( unknown_fields()); } GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN(); _cached_size_ = total_size; GOOGLE_SAFE_CONCURRENT_WRITES_END(); return total_size; } void packetl2c_receive_tommorrow_reward_result::MergeFrom(const ::google::protobuf::Message& from) { GOOGLE_CHECK_NE(&from, this); const packetl2c_receive_tommorrow_reward_result* source = ::google::protobuf::internal::dynamic_cast_if_available( &from); if (source == NULL) { ::google::protobuf::internal::ReflectionOps::Merge(from, this); } else { MergeFrom(*source); } } void packetl2c_receive_tommorrow_reward_result::MergeFrom(const packetl2c_receive_tommorrow_reward_result& from) { GOOGLE_CHECK_NE(&from, this); if (from._has_bits_[0 / 32] & (0xffu << (0 % 32))) { if (from.has_packet_id()) { set_packet_id(from.packet_id()); } if (from.has_result()) { set_result(from.result()); } } mutable_unknown_fields()->MergeFrom(from.unknown_fields()); } void packetl2c_receive_tommorrow_reward_result::CopyFrom(const ::google::protobuf::Message& from) { if (&from == this) return; Clear(); MergeFrom(from); } void packetl2c_receive_tommorrow_reward_result::CopyFrom(const packetl2c_receive_tommorrow_reward_result& from) { if (&from == this) return; Clear(); MergeFrom(from); } bool packetl2c_receive_tommorrow_reward_result::IsInitialized() const { return true; } void packetl2c_receive_tommorrow_reward_result::Swap(packetl2c_receive_tommorrow_reward_result* other) { if (other != this) { std::swap(packet_id_, other->packet_id_); std::swap(result_, other->result_); std::swap(_has_bits_[0], other->_has_bits_[0]); _unknown_fields_.Swap(&other->_unknown_fields_); std::swap(_cached_size_, other->_cached_size_); } } ::google::protobuf::Metadata packetl2c_receive_tommorrow_reward_result::GetMetadata() const { protobuf_AssignDescriptorsOnce(); ::google::protobuf::Metadata metadata; metadata.descriptor = packetl2c_receive_tommorrow_reward_result_descriptor_; metadata.reflection = packetl2c_receive_tommorrow_reward_result_reflection_; return metadata; } // @@protoc_insertion_point(namespace_scope) } // namespace fish_protocols // @@protoc_insertion_point(global_scope)